sway config
This commit is contained in:
71
trinitystuff/sway/config
Normal file
71
trinitystuff/sway/config
Normal file
@@ -0,0 +1,71 @@
|
||||
# man 5 sway
|
||||
|
||||
# Alt
|
||||
set $mod Mod1
|
||||
floating_modifier $mod normal
|
||||
|
||||
# sway-bar(5)
|
||||
bar {
|
||||
colors {
|
||||
statusline #ffdbdb
|
||||
background #000000
|
||||
inactive_workspace #000000 #000000 #5c5c5c
|
||||
}
|
||||
font Unscii:size=12
|
||||
position top
|
||||
status_command while date +'%Y-%m-%dT%H:%M:%S'; do sleep 1; done
|
||||
}
|
||||
|
||||
bindsym $mod+1 workspace number 1
|
||||
bindsym $mod+Shift+1 move container to workspace number 1
|
||||
bindsym $mod+2 workspace number 2
|
||||
bindsym $mod+Shift+2 move container to workspace number 2
|
||||
bindsym $mod+3 workspace number 3
|
||||
bindsym $mod+Shift+3 move container to workspace number 3
|
||||
bindsym $mod+4 workspace number 4
|
||||
bindsym $mod+Shift+4 move container to workspace number 4
|
||||
|
||||
bindsym $mod+q kill
|
||||
bindsym $mod+Shift+e exec swaymsg exit
|
||||
bindsym $mod+r mode "resize"
|
||||
mode "resize" {
|
||||
bindsym Escape mode "default"
|
||||
bindsym h resize shrink width 10px
|
||||
bindsym j resize grow height 10px
|
||||
bindsym k resize shrink height 10px
|
||||
bindsym l resize grow width 10px
|
||||
bindsym Return mode "default"
|
||||
}
|
||||
bindsym $mod+Shift+r reload
|
||||
|
||||
bindsym $mod+d exec followtrail | wofi --show dmenu | xargs swaymsg exec --
|
||||
bindsym $mod+f fullscreen
|
||||
bindsym $mod+h focus left
|
||||
bindsym $mod+Shift+h move left
|
||||
bindsym $mod+j focus down
|
||||
bindsym $mod+Shift+j move down
|
||||
bindsym $mod+k focus up
|
||||
bindsym $mod+Shift+k move up
|
||||
bindsym $mod+l focus right
|
||||
bindsym $mod+Shift+l move right
|
||||
bindsym $mod+Return exec foot
|
||||
|
||||
bindsym $mod+b splith
|
||||
bindsym $mod+Shift+b exec $BROWSER
|
||||
bindsym $mod+v splitv
|
||||
|
||||
bindsym $mod+space focus mode_toggle
|
||||
bindsym $mod+Shift+space floating toggle
|
||||
|
||||
client.focused ffdbdb ffdbdb 000000
|
||||
client.unfocused 000000 000000 ffffff
|
||||
|
||||
default_border pixel
|
||||
default_floating_border normal
|
||||
|
||||
input "type:keyboard" {
|
||||
xkb_layout us
|
||||
xkb_options ctrl:nocaps
|
||||
}
|
||||
|
||||
include /etc/sway/config.d/*
|
||||
Reference in New Issue
Block a user