update smol

This commit is contained in:
паша душный 2023-03-16 15:38:56 +03:00
parent e66013f716
commit 5478beac49
4 changed files with 46 additions and 27 deletions

View file

@ -25,6 +25,9 @@ exec --no-startup-id xgamma -b 0.9
## Compose-key
exec --no-startup-id setxkbmap -layout us -option compose:menu
## Caps to Esc
exec --no-startup-id setxkbmap -option caps:escape
## Redshift
exec --no-startup-id redshift -l 59:30
@ -149,10 +152,10 @@ bindcode $mod+40 exec "rofi -modi drun,run -show drun"
bindcode $mod+Shift+40 exec "rofi -show calc -modi calc -no-show-match -no-sort"
## change focus
bindsym $mod+j focus left
bindsym $mod+k focus down
bindsym $mod+l focus up
bindsym $mod+semicolon focus right
bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right
## alternatively, you can use the cursor keys:
bindsym $mod+Left focus left
@ -161,10 +164,10 @@ bindsym $mod+Up focus up
bindsym $mod+Right focus right
## move focused window
bindsym $mod+Shift+j move left
bindsym $mod+Shift+k move down
bindsym $mod+Shift+l move up
bindsym $mod+Shift+semicolon move right
bindsym $mod+Shift+h move left
bindsym $mod+Shift+j move down
bindsym $mod+Shift+k move up
bindsym $mod+Shift+l move right
## alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left
@ -173,10 +176,10 @@ bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
## split in horizontal orientation
bindsym $mod+h split h
# bindsym $mod+h split h
## split in vertical orientation
bindsym $mod+v split v
# bindsym $mod+v split v
## enter fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle
@ -213,23 +216,29 @@ mode "resize" {
## Pressing right will grow the windows width.
## Pressing up will shrink the windows height.
## Pressing down will grow the windows height.
bindsym j resize shrink width 10 px or 10 ppt
bindsym k resize grow height 10 px or 10 ppt
bindsym l resize shrink height 10 px or 10 ppt
bindsym semicolon resize grow width 10 px or 10 ppt
bindsym h resize shrink width 5 px or 5 ppt
bindsym j resize grow height 5 px or 5 ppt
bindsym k resize shrink height 5 px or 5 ppt
bindsym l resize grow width 5 px or 5 ppt
## same bindings, but for the arrow keys
bindsym Left resize shrink width 10 px or 10 ppt
bindsym Down resize grow height 10 px or 10 ppt
bindsym Up resize shrink height 10 px or 10 ppt
bindsym Right resize grow width 10 px or 10 ppt
bindsym Left resize shrink width 5 px or 5 ppt
bindsym Down resize grow height 5 px or 5 ppt
bindsym Up resize shrink height 5 px or 5 ppt
bindsym Right resize grow width 5 px or 5 ppt
## same bindings, but for the arrow keys and more accurate
## same bindings, but for the arrow keys and more accurate
bindsym Shift+Left resize shrink width 1 px or 1 ppt
bindsym Shift+Down resize grow height 1 px or 1 ppt
bindsym Shift+Up resize shrink height 1 px or 1 ppt
bindsym Shift+Right resize grow width 1 px or 1 ppt
## same bindings, but more accurate
bindsym Shift+h resize shrink width 1 px or 1 ppt
bindsym Shift+j resize grow height 1 px or 1 ppt
bindsym Shift+k resize shrink height 1 px or 1 ppt
bindsym Shift+l resize grow width 1 px or 1 ppt
## back to normal: Enter or Escape or $mod+r
bindsym Return mode "default"
bindsym Escape mode "default"
@ -355,6 +364,7 @@ assign [class="qutebrowser"] $ws1
for_window [class="mpv"] floating enable
for_window [class="AzPainter"] floating enable
for_window [class="feh"] floating enable
for_window [class="Sxiv"] floating enable
for_window [class="Zathura"] floating enable
for_window [class="imv"] floating enable
for_window [class="QjackCtl"] floating enable