update i3 config

This commit is contained in:
Jeff Lance 2023-04-25 12:16:58 +02:00
parent ae54f47a03
commit 0219e64f11

View File

@ -85,6 +85,8 @@ exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
# exec --no-startup-id nm-applet
exec --no-startup-id nitrogen --restore
exec_always --no-startup-id $HOME/.config/polybar/scripts/launch.sh
###############
@ -127,7 +129,6 @@ bindsym $mod+twosuperior exec "xfce4-terminal --drop-down"
# bindsym XF86TouchpadToggle exec "xfce4-display-settings --minimal"
# bindsym XF86Sleep exec xflock4
# kill focused window
bindsym $mod+q kill
@ -170,7 +171,7 @@ bindsym $mod+w layout tabbed
# bindsym $mod+e layout toggle split
# toggle tiling / floating
bindsym $mod+Shift+f floating toggle
bindsym $mod+f floating toggle
# change focus between tiling / floating windows
bindsym $mod+Tab focus mode_toggle
@ -233,16 +234,16 @@ mode "resize" {
# Pressing right will grow the windows width.
# Pressing up will shrink the windows height.
# Pressing down will grow the windows height.
bindsym l resize shrink width 10 px or 10 ppt
bindsym j resize shrink width 10 px or 10 ppt
bindsym i resize grow height 10 px or 10 ppt
bindsym k resize shrink height 10 px or 10 ppt
bindsym j resize grow width 10 px or 10 ppt
bindsym l resize grow width 10 px or 10 ppt
# same bindings, but for the arrow keys
bindsym Right resize shrink width 10 px or 10 ppt
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 Left resize grow width 10 px or 10 ppt
bindsym Right resize grow width 10 px or 10 ppt
# back to normal: Enter or Escape or $mod+r
bindsym Return mode "default"
@ -255,22 +256,22 @@ bindsym $mod+r mode "resize"
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
position top
output primary
tray_output primary
separator_symbol ":|:"
binding_mode_indicator yes
i3bar_command i3bar --transparency
status_command i3status
# status_command exec ~/bin/i3bar-sampler
colors {
# background $background
focused_workspace $color2 $color9 $color7
active_workspace $color2 $color9 $color7
inactive_workspace $background $background $color7
urgent_workspace $foreground $color3 $color7
binding_mode $foreground $background $color7
}
# position top
# output primary
# tray_output primary
# separator_symbol ":|:"
# binding_mode_indicator yes
# # i3bar_command i3bar --transparency
# # status_command i3status
# # status_command exec ~/bin/i3bar-sampler
# colors {
# # background $background
# focused_workspace $color2 $color9 $color7
# active_workspace $color2 $color9 $color7
# inactive_workspace $background $background $color7
# urgent_workspace $foreground $color3 $color7
# binding_mode $foreground $background $color7
# }
}
workspace 1 output primary