fixes
This commit is contained in:
parent
bb8e839d1a
commit
d4a667bf33
4 changed files with 8 additions and 21 deletions
|
@ -32,7 +32,7 @@ set -o vi # vi mode
|
||||||
[ -e "$HOME/.config/shell/xdgspec" ] && source ~/.config/shell/xdgspec
|
[ -e "$HOME/.config/shell/xdgspec" ] && source ~/.config/shell/xdgspec
|
||||||
[ -e "$HOME/.config/shell/aliasrc" ] && source ~/.config/shell/aliasrc
|
[ -e "$HOME/.config/shell/aliasrc" ] && source ~/.config/shell/aliasrc
|
||||||
[ -e "$HOME/.config/shell/envvar" ] && source ~/.config/shell/envvar
|
[ -e "$HOME/.config/shell/envvar" ] && source ~/.config/shell/envvar
|
||||||
[ -e "$HOME/.config/shell/dwm" ] && source ~/.config/shell/dwm
|
[ -e "$HOME/.config/shell/sway" ] && source ~/.config/shell/sway
|
||||||
|
|
||||||
# Nice shell welcome
|
# Nice shell welcome
|
||||||
[ -e "/usr/bin/afetch" ] && (afetch) || (fetch min) 2>/dev/null
|
[ -e "/usr/bin/afetch" ] && (afetch) || (fetch min) 2>/dev/null
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Preferences
|
# Preferences
|
||||||
output * {
|
output * {
|
||||||
bg ~/Pictures/backgrounds/4.jpg fill
|
bg ~/Pictures/Backgrounds/background.jpg fill
|
||||||
}
|
}
|
||||||
|
|
||||||
input type:touchpad {
|
input type:touchpad {
|
||||||
|
@ -37,6 +37,7 @@ set $micmute ~/.config/scripts/micmute
|
||||||
set $brightup ~/.config/scripts/brightup
|
set $brightup ~/.config/scripts/brightup
|
||||||
set $brightdown ~/.config/scripts/brightdown
|
set $brightdown ~/.config/scripts/brightdown
|
||||||
set $powermenu ~/.config/scripts/menu/menu-power
|
set $powermenu ~/.config/scripts/menu/menu-power
|
||||||
|
set $prtscr grim -g "$(slurp)" -o ~/screen.png
|
||||||
|
|
||||||
# Keybinds
|
# Keybinds
|
||||||
floating_modifier $mod normal
|
floating_modifier $mod normal
|
||||||
|
@ -53,6 +54,7 @@ bindsym Shift+XF86AudioLowerVolume exec $micdown
|
||||||
bindsym Shift+XF86AudioMute exec $micmute
|
bindsym Shift+XF86AudioMute exec $micmute
|
||||||
bindsym XF86MonBrightnessUp exec $brightup
|
bindsym XF86MonBrightnessUp exec $brightup
|
||||||
bindsym XF86MonBrightnessDown exec $brightdown
|
bindsym XF86MonBrightnessDown exec $brightdown
|
||||||
|
bindsym Print exec $prtscr
|
||||||
# -
|
# -
|
||||||
bindsym $mod+Shift+q exec swaymsg exit
|
bindsym $mod+Shift+q exec swaymsg exit
|
||||||
bindsym $mod+p exec $powermenu
|
bindsym $mod+p exec $powermenu
|
||||||
|
@ -113,3 +115,6 @@ bar {
|
||||||
inactive_workspace #00000000 #00000000 #2e9ef4
|
inactive_workspace #00000000 #00000000 #2e9ef4
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Autostart
|
||||||
|
exec_always dunst
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
#!/usr/bin/env sh
|
|
||||||
# Protect $HOME
|
|
||||||
HOME=$HOME/.local/share/mozilla
|
|
||||||
mkdir -p "$HOME"
|
|
||||||
|
|
||||||
# Check for either firefox-esr or firefox binary
|
|
||||||
[ -e /usr/bin/firefox-esr ] && BIN="/usr/bin/firefox-esr" || BIN="/usr/bin/firefox"
|
|
||||||
|
|
||||||
# Run with default profile
|
|
||||||
exec "$BIN" -P default "$@"
|
|
|
@ -1,10 +1,2 @@
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
# Protect $HOME
|
exec firefox -P hardened "$@"
|
||||||
HOME=$HOME/.local/share/mozilla
|
|
||||||
mkdir -p "$HOME"
|
|
||||||
|
|
||||||
# Check for either firefox-esr or firefox binary
|
|
||||||
[ -e /usr/bin/firefox-esr ] && BIN="/usr/bin/firefox-esr" || BIN="/usr/bin/firefox"
|
|
||||||
|
|
||||||
# Run with hardened profile
|
|
||||||
exec "$BIN" -P hardened "$@"
|
|
||||||
|
|
Loading…
Reference in a new issue