This commit is contained in:
tavo-wasd 2024-02-05 08:23:37 -06:00
parent bb8e839d1a
commit d4a667bf33
4 changed files with 8 additions and 21 deletions

View file

@ -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

View file

@ -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

View file

@ -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 "$@"

View file

@ -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 "$@"