Update sway skel

This commit is contained in:
natemaia
2021-12-30 01:47:23 -08:00
parent dac5c4b44e
commit 8aaeaa0ac6
6 changed files with 302 additions and 30 deletions

View File

@ -3,12 +3,11 @@
# Read `man 5 sway` for reference.
# border & title
for_window [title="^.*"] border pixel 1, title_format "%class >> %title"
for_window [class="^.*"] border pixel 1, title_format "<b> %class >> %title </b>"
# gaps
gaps inner 4
gaps inner 8
gaps outer 0
smart_gaps on
# font
font pango:monospace 11
@ -27,15 +26,10 @@ set $right semicolon
# The file we include below is created and will be overwritten by nwg-shell-config GUI!
#
include ~/.config/sway/variables
#
############### Apply GTK settings ##################
set $gnome-schema org.gnome.desktop.interface
exec_always ~/.local/bin/import-gsettings \
gtk-theme:gtk-theme-name \
icon-theme:gtk-icon-theme-name \
cursor-theme:gtk-cursor-theme-name
exec_always import-gsettings
############### Autostart ##################
@ -96,7 +90,7 @@ input "type:touchpad" {
dwt enabled
drag enabled
scroll_factor 0.7
pointer_accel 0.1
pointer_accel 0.5
accel_profile flat
}
@ -120,11 +114,12 @@ bindsym Control+space exec $launcher
bindsym Mod1+F1 exec $launcher
# core
bindsym $Mod+t exec $term
bindsym $Mod+Return exec $term
bindsym Control+Shift+t exec $term
bindsym $Mod+w exec $browser
bindsym $Mod+f exec $filemanager
bindsym $Mod+Return exec $term
bindsym Mod4+Shift+Return exec $term
bindsym Control+Shift+t exec $term
bindsym $Mod+t exec $term
bindsym $Mod+w exec $browser
bindsym $Mod+f exec $filemanager
# Exit menu
bindsym $Mod+x exec $exit
@ -133,7 +128,7 @@ bindsym $Mod+x exec $exit
bindsym $Mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'
# screenshot
bindsym Print exec ~/.local/bin/screenshot fullscreen
bindsym Print exec screenshot fullscreen
bindsym Control+Print exec swappy -g "0,0 1920x1080"
bindsym Shift+Control+Print exec grim -g "$(slurp)" - | swappy -f -