Merge branch 'main' of gitlab.com:blankinator/dotfiles

This commit is contained in:
2022-01-24 14:17:52 +01:00
2 changed files with 24 additions and 18 deletions
+23 -18
View File
@@ -5,7 +5,7 @@ set $mod Mod4
# workspace_layout tabbed <stacking|tabbed>
# Configure border style <normal|1pixel|pixel xx|none|pixel>
new_window pixel 1
new_window pixel 2
new_float normal
# Hide borders
@@ -103,11 +103,11 @@ bindsym XF86AudioMute exec "pamixer -t"
bindsym $mod+XF86AudioMute exec "pactl set-source-mute @DEFAULT_SOURCE@ toggle"
# media controls
bindsym XF86AudioPlay exec "playerctl play-pause"
bindsym $mod+XF86AudioRaiseVolume exec "playerctl next"
bindsym $mod+XF86AudioLowerVolume exec "playerctl previous"
bindsym XF86AudioNext exec "playerctl next"
bindsym XF86AudioPrevious exec "playerctl previous"
bindsym XF86AudioPlay exec playerctl play-pause
bindsym $mod+XF86AudioRaiseVolume exec playerctl next
bindsym $mod+XF86AudioLowerVolume exec playerctl previous
bindsym XF86AudioNext exec playerctl next
bindsym XF86AudioPrevious exec playerctl previous
# misc keyboard keys
bindsym XF86Calculator exec --no-startup-id qalculate-gtk
@@ -177,6 +177,8 @@ bindsym $mod+q split toggle
# toggle fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle
bindsym $mod+Shift+y fullscreen disable; floating enable; resize set 640 480; sticky enable; move window to position 1270 590
# change container layout (stacked, tabbed, toggle split)
bindsym $mod+s layout stacking
@@ -303,19 +305,22 @@ bindsym $mod+Shift+r restart
# bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
# Set shut down, restart and locking features
# bindsym $mod+0 mode "$mode_system"
# set $mode_system (l)ock, (e)xit, switch_(u)ser, (s)uspend, (h)ibernate, (r)eboot, (Shift+s)hutdown
# mode "$mode_system" {
# bindsym l exec --no-startup-id light-locker-command -l
# bindsym h exec --no-startup-id systemctl hibernate
# bindsym r exec --no-startup-id reboot
# bindsym s exec --no-startup-id systemctl suspend
# bindsym Shift+s exec --no-startup-id shutdown now
bindsym $mod+Shift+Ctrl+Alt+h exec --no-startup-id systemctl hibernate
bindsym $mod+Shift+Ctrl+Alt+s exec --no-startup-id systemctl suspend
#bindsym $mod+0 mode "$mode_system"
#set $mode_system (l)ock, (e)xit, switch_(u)ser, (s)uspend, (h)ibernate, (r)eboot, (Shift+s)hutdown
#mode "$mode_system" {
# bindsym l exec --no-startup-id light-locker-command -l
# bindsym h exec --no-startup-id systemctl hibernate
# bindsym r exec --no-startup-id reboot
# bindsym s exec --no-startup-id systemctl suspend
# bindsym Shift+s exec --no-startup-id shutdown now
#
# exit system mode: "Enter" or "Escape"
# bindsym Return mode "default"
# bindsym Escape mode "default"
# }
# # exit system mode: "Enter" or "Escape"
# bindsym Return mode "default"
# bindsym Escape mode "default"
#}
# Resize window (you can also use the mouse for that)
bindsym $mod+r mode "resize"