diff options
author | AnInternetTroll <lucafulger@gmail.com> | 2022-05-18 16:27:57 +0000 |
---|---|---|
committer | AnInternetTroll <lucafulger@gmail.com> | 2022-05-18 16:27:57 +0000 |
commit | e9ed423672978e07f63bd86530f0b89bba29d988 (patch) | |
tree | 6f19865e3a3dee40e9d23132534e8184626c37bf /.config/sway | |
parent | 16e381494a14630b24546d52384a08cb7068d948 (diff) | |
download | dotfiles-e9ed423672978e07f63bd86530f0b89bba29d988.tar dotfiles-e9ed423672978e07f63bd86530f0b89bba29d988.tar.gz dotfiles-e9ed423672978e07f63bd86530f0b89bba29d988.tar.bz2 dotfiles-e9ed423672978e07f63bd86530f0b89bba29d988.tar.lz dotfiles-e9ed423672978e07f63bd86530f0b89bba29d988.tar.xz dotfiles-e9ed423672978e07f63bd86530f0b89bba29d988.tar.zst dotfiles-e9ed423672978e07f63bd86530f0b89bba29d988.zip |
Update
Diffstat (limited to '.config/sway')
-rw-r--r-- | .config/sway/config | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/.config/sway/config b/.config/sway/config index c8c35ed..848e94c 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -14,6 +14,7 @@ set $left h set $down j set $up k set $right l + set $gtk-theme Matcha-dark-sea set $icon-theme Papirus-Dark-Maia set $cursor-theme xcursor-breeze @@ -50,7 +51,7 @@ set $accent-color #ffffff # Basic color configuration using the Base16 variables for windows and borders. # Property Name Border BG Text Indicator Child Border client.focused $color5 $color12 $color0 $color12 $color12 -client.focused_inactive $color1 $color1 $color5 $color3 $color1 +#client.focused_inactive $color1 $color1 $color5 $color3 $color1 #client.unfocused $color1 $color0 $color5 $color1 $color1 client.urgent $color8 $color8 $color0 $color8 $color8 client.placeholder $color0 $color0 $color5 $color0 $color0 @@ -60,11 +61,11 @@ default_border pixel 8 xwayland enable # Applications -set $term alacritty +set $term $(which foot || which alacritty) # Note: pass the final command to swaymsg so that the resulting window can be opened # on the original workspace that the command was run on. set $menu wofi --show drun -Ii -w 3 -set $screenshot flameshot gui +set $screenshot grim /dev/stdout | wl-copy set $toggle_layout input "2821:6228:Asus_Keyboard" xkb_switch_layout next set $lock swaylock set $toggle_bar killall -SIGUSR1 waybar @@ -75,6 +76,8 @@ set $toggle_bar killall -SIGUSR1 waybar output * bg /usr/share/backgrounds/background.png fill output eDP-1 scale 1 output eDP-1 adaptive_sync on +output eDP-1 pos 0 0 +output HDMI-1 pos 0 0 # You can get the names of your outputs by running: swaymsg -t get_outputs ### Idle configuration @@ -87,7 +90,6 @@ exec swayidle -w \ timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \ before-sleep 'swaylock -f -c 000000' - ### Input configuration input "2821:6228:Asus_Keyboard" xkb_layout us,no @@ -130,7 +132,7 @@ input "2821:6228:Asus_Keyboard" xkb_layout us,no bindsym --locked XF86AudioPrev exec playerctl previous # Toggle keyboard layout - bindsym $mod+Shift $toggle_layout + bindsym $mod+m $toggle_layout bindsym $mod+Tab workspace back_and_forth @@ -253,7 +255,7 @@ mode "resize" { bindsym $right resize grow width 10px # Ditto, with arrow keys - bindsym Left resize shrink width 10px + bindshm Left resize shrink width 10px bindsym Down resize grow height 10px bindsym Up resize shrink height 10px bindsym Right resize grow width 10px @@ -264,16 +266,16 @@ mode "resize" { } bindsym $mod+r mode "resize" -# + # Status Bar: -# + # Read `man 5 sway-bar` for more information about this section. bar { swaybar_command waybar } input "type:touchpad" { - left_handed enabled + # left_handed enabled tap enabled natural_scroll enabled dwt enabled @@ -286,6 +288,9 @@ exec dunst exec nm-applet --indicator exec blueman-applet exec thunar --daemon + +exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 + exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK exec hash dbus-update-activation-environment 2>/dev/null && \ dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK @@ -296,5 +301,4 @@ exec export QT_QPA_PLATFORM=wayland exec export XDG_CURRENT_DESKTOP=sway exec export XDG_SESSION_DESKTOP=sway - include /etc/sway/config.d/* |