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 nm-applet
exec --no-startup-id nitrogen --restore 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 XF86TouchpadToggle exec "xfce4-display-settings --minimal"
# bindsym XF86Sleep exec xflock4 # bindsym XF86Sleep exec xflock4
# kill focused window # kill focused window
bindsym $mod+q kill bindsym $mod+q kill
@ -170,7 +171,7 @@ bindsym $mod+w layout tabbed
# bindsym $mod+e layout toggle split # bindsym $mod+e layout toggle split
# toggle tiling / floating # toggle tiling / floating
bindsym $mod+Shift+f floating toggle bindsym $mod+f floating toggle
# change focus between tiling / floating windows # change focus between tiling / floating windows
bindsym $mod+Tab focus mode_toggle bindsym $mod+Tab focus mode_toggle
@ -233,16 +234,16 @@ mode "resize" {
# Pressing right will grow the windows width. # Pressing right will grow the windows width.
# Pressing up will shrink the windows height. # Pressing up will shrink the windows height.
# Pressing down will grow 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 i resize grow height 10 px or 10 ppt
bindsym k resize shrink 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 # 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 Down resize grow height 10 px or 10 ppt
bindsym Up resize shrink 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 # back to normal: Enter or Escape or $mod+r
bindsym Return mode "default" 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 # Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available) # finds out, if available)
bar { bar {
position top # position top
output primary # output primary
tray_output primary # tray_output primary
separator_symbol ":|:" # separator_symbol ":|:"
binding_mode_indicator yes # binding_mode_indicator yes
i3bar_command i3bar --transparency # # i3bar_command i3bar --transparency
status_command i3status # # status_command i3status
# status_command exec ~/bin/i3bar-sampler # # status_command exec ~/bin/i3bar-sampler
colors { # colors {
# background $background # # background $background
focused_workspace $color2 $color9 $color7 # focused_workspace $color2 $color9 $color7
active_workspace $color2 $color9 $color7 # active_workspace $color2 $color9 $color7
inactive_workspace $background $background $color7 # inactive_workspace $background $background $color7
urgent_workspace $foreground $color3 $color7 # urgent_workspace $foreground $color3 $color7
binding_mode $foreground $background $color7 # binding_mode $foreground $background $color7
} # }
} }
workspace 1 output primary workspace 1 output primary