diff --git a/shell/bashrc b/shell/bashrc index 1c6d9b8..aac0146 100644 --- a/shell/bashrc +++ b/shell/bashrc @@ -32,7 +32,7 @@ set -o vi # vi mode [ -e "$HOME/.config/shell/xdgspec" ] && source ~/.config/shell/xdgspec [ -e "$HOME/.config/shell/aliasrc" ] && source ~/.config/shell/aliasrc [ -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 [ -e "/usr/bin/afetch" ] && (afetch) || (fetch min) 2>/dev/null diff --git a/sway/config b/sway/config index 816e264..5d6e8de 100644 --- a/sway/config +++ b/sway/config @@ -1,6 +1,6 @@ # Preferences output * { - bg ~/Pictures/backgrounds/4.jpg fill + bg ~/Pictures/Backgrounds/background.jpg fill } input type:touchpad { @@ -37,6 +37,7 @@ set $micmute ~/.config/scripts/micmute set $brightup ~/.config/scripts/brightup set $brightdown ~/.config/scripts/brightdown set $powermenu ~/.config/scripts/menu/menu-power +set $prtscr grim -g "$(slurp)" -o ~/screen.png # Keybinds floating_modifier $mod normal @@ -53,6 +54,7 @@ bindsym Shift+XF86AudioLowerVolume exec $micdown bindsym Shift+XF86AudioMute exec $micmute bindsym XF86MonBrightnessUp exec $brightup bindsym XF86MonBrightnessDown exec $brightdown +bindsym Print exec $prtscr # - bindsym $mod+Shift+q exec swaymsg exit bindsym $mod+p exec $powermenu @@ -113,3 +115,6 @@ bar { inactive_workspace #00000000 #00000000 #2e9ef4 } } + +# Autostart +exec_always dunst diff --git a/wrappers/firefox-esr b/wrappers/firefox-esr deleted file mode 100755 index e5e585d..0000000 --- a/wrappers/firefox-esr +++ /dev/null @@ -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 "$@" diff --git a/wrappers/firefox-hardened b/wrappers/firefox-hardened index 8fb2f6c..8bd92cf 100755 --- a/wrappers/firefox-hardened +++ b/wrappers/firefox-hardened @@ -1,10 +1,2 @@ #!/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 hardened profile -exec "$BIN" -P hardened "$@" +exec firefox -P hardened "$@"