improvements

This commit is contained in:
2022-01-23 23:26:36 +01:00
parent 1b8868b86a
commit 1469be941a
2 changed files with 24 additions and 18 deletions
+1
View File
@@ -31,6 +31,7 @@
filetree_direction = "left"
enable_filetree_gitstatus = true
filemanager = "nerdtree"
# Enable autocomplete layer
+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
@@ -100,11 +100,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
@@ -170,6 +170,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
@@ -296,19 +298,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
# exit system mode: "Enter" or "Escape"
bindsym Return mode "default"
bindsym Escape mode "default"
}
#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"
#}
# Resize window (you can also use the mouse for that)
bindsym $mod+r mode "resize"