semi ok
This commit is contained in:
@@ -0,0 +1,91 @@
|
||||
set $mod Mod4
|
||||
set $left h
|
||||
set $right l
|
||||
set $up k
|
||||
set $down j
|
||||
set $red #cd0a00
|
||||
set $white #f3eeea
|
||||
set $black #0a0a0a
|
||||
|
||||
set $term foot
|
||||
set $menu wmenu-run
|
||||
|
||||
exec "foot --server"
|
||||
|
||||
input type:keyboard {
|
||||
xkb_layout "se"
|
||||
xkb_variant "nodeadkeys"
|
||||
xkb_options "caps:escape"
|
||||
}
|
||||
|
||||
input type:touchpad {
|
||||
tap enabled
|
||||
natural_scroll enabled
|
||||
}
|
||||
|
||||
default_border pixel
|
||||
default_floating_border pixel
|
||||
|
||||
bindsym $mod+shift+q exec wlogout
|
||||
|
||||
bindsym $mod+Return exec $term
|
||||
bindsym $mod+q kill
|
||||
bindsym $mod+d exec $menu
|
||||
|
||||
bindsym $mod+Alt+h splith
|
||||
bindsym $mod+Alt+v splitv
|
||||
bindsym $mod+f fullscreen
|
||||
|
||||
bindsym $mod+$left focus left
|
||||
bindsym $mod+$down focus down
|
||||
bindsym $mod+$up focus up
|
||||
bindsym $mod+$right focus right
|
||||
|
||||
bindsym $mod+1 workspace number 1
|
||||
bindsym $mod+2 workspace number 2
|
||||
bindsym $mod+3 workspace number 3
|
||||
bindsym $mod+4 workspace number 4
|
||||
bindsym $mod+5 workspace number 5
|
||||
bindsym $mod+6 workspace number 6
|
||||
bindsym $mod+7 workspace number 7
|
||||
bindsym $mod+8 workspace number 8
|
||||
|
||||
bindsym $mod+Shift+1 move container to workspace number 1
|
||||
bindsym $mod+Shift+2 move container to workspace number 2
|
||||
bindsym $mod+Shift+3 move container to workspace number 3
|
||||
bindsym $mod+Shift+4 move container to workspace number 4
|
||||
bindsym $mod+Shift+5 move container to workspace number 5
|
||||
bindsym $mod+Shift+6 move container to workspace number 6
|
||||
bindsym $mod+Shift+7 move container to workspace number 7
|
||||
bindsym $mod+Shift+8 move container to workspace number 8
|
||||
|
||||
|
||||
mode "resize" {
|
||||
bindsym Right resize shrink width 50px
|
||||
bindsym Up resize grow height 50px
|
||||
bindsym Down resize shrink height 50px
|
||||
bindsym Left resize grow width 50px
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
bindsym $mod+r mode "default"
|
||||
}
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
gaps inner 10
|
||||
bar {
|
||||
position top
|
||||
|
||||
# When the status_command prints a new line to stdout, swaybar updates.
|
||||
# The default just shows the current date and time.
|
||||
status_command while date +'%y-%m-%d (%a w%V) %H:%M'; do sleep 1; done
|
||||
|
||||
colors {
|
||||
statusline $white
|
||||
background $black
|
||||
urgent_workspace $red $black $red
|
||||
focused_workspace $black $black $red
|
||||
inactive_workspace $black $black $white
|
||||
}
|
||||
}
|
||||
|
||||
bindsym $mod+Shift+s exec 'grim -l 0 -g "$(slurp)" - wl-copy'
|
||||
Reference in New Issue
Block a user