Updated various configs
This commit is contained in:
+18
-12
@@ -6,7 +6,7 @@ set $up k
|
||||
set $right l
|
||||
|
||||
set $term alacritty
|
||||
set $menu bemenu-run -b -i --fn "Hack Nerd Font 10" --prompt "Run:" --list "8 up"
|
||||
set $menu bemenu-run -b -i --fn "Hack Nerd Font 10" --prompt "Run:" --list "8 up"
|
||||
|
||||
set $b00 #141415
|
||||
set $b01 #1c1c24
|
||||
@@ -36,28 +36,24 @@ client.background $b00
|
||||
|
||||
for_window [floating] border pixel 2
|
||||
|
||||
exec_always swaybg -c $b00
|
||||
# Prefer native Sway background handling over repeatedly spawning swaybg.
|
||||
output * bg #000000 solid_color
|
||||
|
||||
bar {
|
||||
colors {
|
||||
focused_workspace $b01 $b01 $b05
|
||||
}
|
||||
swaybar_command waybar
|
||||
swaybar_command waybar
|
||||
}
|
||||
|
||||
### Input/output
|
||||
input type:keyboard {
|
||||
xkb_layout "us"
|
||||
xkb_layout us
|
||||
}
|
||||
|
||||
output HDMI-A-1 resolution 2560x1440 pos 0 0
|
||||
output * adaptive_sync on
|
||||
|
||||
workspace 1 output HDMI-A-1
|
||||
|
||||
|
||||
workspace_auto_back_and_forth yes
|
||||
bindsym $mod+Tab workspace back_and_forth
|
||||
|
||||
output * adaptive_sync on
|
||||
|
||||
### Key bindings
|
||||
bindsym $mod+Return exec $term
|
||||
@@ -66,6 +62,8 @@ bindsym $mod+Space exec $menu
|
||||
bindsym $mod+Shift+c reload
|
||||
bindsym $mod+Shift+e exec swaymsg exit
|
||||
|
||||
bindsym $mod+Tab workspace back_and_forth
|
||||
|
||||
bindsym $mod+$left focus left
|
||||
bindsym $mod+$down focus down
|
||||
bindsym $mod+$up focus up
|
||||
@@ -116,8 +114,16 @@ bindsym --locked XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURC
|
||||
bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%-
|
||||
bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+
|
||||
|
||||
### Screenshots
|
||||
bindsym $mod+Shift+p exec grim -g "$(slurp)" - | wl-copy
|
||||
bindsym $mod+p exec grim - | wl-copy
|
||||
|
||||
### Autostart
|
||||
#
|
||||
# If Steam behaves weirdly under forced Wayland env vars, the Fish config below
|
||||
# should fix that by not forcing SDL/QT globally.
|
||||
exec steam
|
||||
exec spotify-launcher
|
||||
|
||||
exec_always dbus-update-activation-environment --systemd WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP=sway
|
||||
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
|
||||
exec systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
|
||||
Reference in New Issue
Block a user