upd smol
This commit is contained in:
parent
1df4763305
commit
1a87a87b86
5 changed files with 89 additions and 114 deletions
|
@ -39,9 +39,9 @@ exec_always --no-startup-id autotiling
|
|||
|
||||
## Keyboard
|
||||
exec_always --no-startup-id setxkbmap -layout us,ru
|
||||
exec_always --no-startup-id setxkbmap -option 'altwin:menu_win,caps:escape'
|
||||
exec_always --no-startup-id xkb-switch --i3
|
||||
exec_always --no-startup-id setxkbmap -option caps:escape
|
||||
exec_always --no-startup-id setxkbmap -option altwin:menu_win
|
||||
|
||||
|
||||
## xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
|
||||
## screen before suspend. Use loginctl lock-session to lock your screen.
|
||||
|
@ -251,16 +251,16 @@ bindsym $mod+r mode "resize"
|
|||
|
||||
## Define names for default workspaces for which we configure key bindings later on.
|
||||
## We use variables to avoid repeating the names in multiple places.
|
||||
set $ws1 "1:"
|
||||
set $ws2 "2:"
|
||||
set $ws3 "3:"
|
||||
set $ws4 "4:"
|
||||
set $ws5 "5:"
|
||||
set $ws6 "6:"
|
||||
set $ws7 "7:"
|
||||
set $ws8 "8:"
|
||||
set $ws9 "9:"
|
||||
set $ws10 "10:"
|
||||
set $ws1 "1:"
|
||||
set $ws2 "2:"
|
||||
set $ws3 "3:"
|
||||
set $ws4 "4:"
|
||||
set $ws5 "5:"
|
||||
set $ws6 "6:"
|
||||
set $ws7 "7:"
|
||||
set $ws8 "8:"
|
||||
set $ws9 "9:"
|
||||
set $ws10 "10:"
|
||||
|
||||
## switch to workspace
|
||||
bindsym $mod+1 workspace $ws1
|
||||
|
@ -296,21 +296,38 @@ set $Locker betterlockscreen -q -l blur && sleep 1
|
|||
bindsym $mod+Pause mode "$mode_system"
|
||||
bindsym Mod1+Pause mode "$mode_system"
|
||||
|
||||
set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown
|
||||
set $mode_system System (l) lock, (e) logout, (s) suspend, (r) reboot, (Shift+s) shutdown, (h) hibernate
|
||||
mode "$mode_system" {
|
||||
bindsym l exec --no-startup-id $Locker, mode "default"
|
||||
bindsym e exec --no-startup-id i3-msg exit, mode "default"
|
||||
bindsym s exec --no-startup-id systemctl suspend, mode "default"
|
||||
bindsym h exec --no-startup-id systemctl hibernate, mode "default"
|
||||
bindsym w exec --no-startup-id $Locker && sudo rtcwake -m mem --date \
|
||||
$(/home/username/.config/script/rtcdate.sh), mode "default"
|
||||
bindsym r exec --no-startup-id systemctl reboot, mode "default"
|
||||
bindsym Shift+s exec --no-startup-id systemctl poweroff -i, mode "default"
|
||||
|
||||
bindsym h exec --no-startup-id systemctl hibernate, mode "default"
|
||||
|
||||
## exit: Enter or Escape
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
|
||||
# set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown
|
||||
# mode "$mode_system" {
|
||||
# bindsym l exec --no-startup-id $Locker, mode "default"
|
||||
# bindsym e exec --no-startup-id i3-msg exit, mode "default"
|
||||
# bindsym s exec --no-startup-id systemctl suspend, mode "default"
|
||||
# bindsym h exec --no-startup-id systemctl hibernate, mode "default"
|
||||
# bindsym r exec --no-startup-id systemctl reboot, mode "default"
|
||||
# bindsym Shift+s exec --no-startup-id systemctl poweroff -i, mode "default"
|
||||
#
|
||||
# ## exit: Enter or Escape
|
||||
# bindsym Return mode "default"
|
||||
# bindsym Escape mode "default"
|
||||
|
||||
|
||||
|
||||
##### Colors ######
|
||||
|
||||
## class border backgr. text indicator child_border
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue