This commit is contained in:
t470p
2024-05-11 21:10:54 -05:00
parent 05625e0e84
commit a2c239ea1b

View File

@@ -1,9 +1,9 @@
# This file has been auto-generated by i3-config-wizard(1). # klevstul
# It will not be overwritten, so edit it as you like.
# # Note:
# Should you change your keyboard layout some time, delete # for modified values, see lines with "<FK>" in the comment
# this file and re-run i3-config-wizard(1).
# # ###############################################################################
# i3 config file (v4) # i3 config file (v4)
# #
@@ -19,8 +19,7 @@ font pango:monospace 8
# text rendering and scalability on retina/hidpi displays (thanks to pango). # text rendering and scalability on retina/hidpi displays (thanks to pango).
#font pango:DejaVu Sans Mono 8 #font pango:DejaVu Sans Mono 8
# <FK> run startup script exec --no-startup-id startup.sh # <FK> run startup script
exec --no-startup-id startup.sh
# Start XDG autostart .desktop files using dex. See also # Start XDG autostart .desktop files using dex. See also
# https://wiki.archlinux.org/index.php/XDG_Autostart # https://wiki.archlinux.org/index.php/XDG_Autostart
@@ -39,8 +38,8 @@ exec --no-startup-id nm-applet
# Use pactl to adjust volume in PulseAudio. # Use pactl to adjust volume in PulseAudio.
set $refresh_i3status killall -SIGUSR1 i3status set $refresh_i3status killall -SIGUSR1 i3status
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% && $refresh_i3status # <FK> 10 > 5%
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5% && $refresh_i3status # <FK> 10 > 5%
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
@@ -58,7 +57,7 @@ bindsym $mod+Return exec i3-sensible-terminal
bindsym $mod+Shift+q kill bindsym $mod+Shift+q kill
# start dmenu (a program launcher) # start dmenu (a program launcher)
bindsym $mod+d exec --no-startup-id dmenu_run bindsym $mod+d exec --no-startup-id dmenu_recency # <FK> dmenu_run > dmenu_recency
# A more modern dmenu replacement is rofi: # A more modern dmenu replacement is rofi:
# bindcode $mod+40 exec "rofi -modi drun,run -show drun" # bindcode $mod+40 exec "rofi -modi drun,run -show drun"
# There also is i3-dmenu-desktop which only displays applications shipping a # There also is i3-dmenu-desktop which only displays applications shipping a
@@ -66,10 +65,10 @@ bindsym $mod+d exec --no-startup-id dmenu_run
# bindcode $mod+40 exec --no-startup-id i3-dmenu-desktop # bindcode $mod+40 exec --no-startup-id i3-dmenu-desktop
# change focus # change focus
bindsym $mod+j focus left #bindsym $mod+j focus left # <FK>
bindsym $mod+k focus down #bindsym $mod+k focus down # <FK>
bindsym $mod+l focus up #bindsym $mod+l focus up # <FK>
bindsym $mod+semicolon focus right #bindsym $mod+semicolon focus right # <FK>
# alternatively, you can use the cursor keys: # alternatively, you can use the cursor keys:
bindsym $mod+Left focus left bindsym $mod+Left focus left
@@ -78,10 +77,10 @@ bindsym $mod+Up focus up
bindsym $mod+Right focus right bindsym $mod+Right focus right
# move focused window # move focused window
bindsym $mod+Shift+j move left #bindsym $mod+Shift+j move left # <FK>
bindsym $mod+Shift+k move down #bindsym $mod+Shift+k move down # <FK>
bindsym $mod+Shift+l move up #bindsym $mod+Shift+l move up # <FK>
bindsym $mod+Shift+semicolon move right #bindsym $mod+Shift+semicolon move right # <FK>
# alternatively, you can use the cursor keys: # alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left bindsym $mod+Shift+Left move left
@@ -167,16 +166,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 j resize shrink width 10 px or 10 ppt bindsym j resize shrink width 5 px or 5 ppt # <FK> 10 > 5
bindsym k resize grow height 10 px or 10 ppt bindsym k resize grow height 5 px or 5 ppt # <FK> 10 > 5
bindsym l resize shrink height 10 px or 10 ppt bindsym l resize shrink height 5 px or 5 ppt # <FK> 10 > 5
bindsym semicolon resize grow width 10 px or 10 ppt bindsym semicolon resize grow width 5 px or 5 ppt # <FK> 10 > 5
# same bindings, but for the arrow keys # same bindings, but for the arrow keys
bindsym Left resize shrink width 10 px or 10 ppt bindsym Left resize shrink width 5 px or 5 ppt # <FK> 10 > 5
bindsym Down resize grow height 10 px or 10 ppt bindsym Down resize grow height 5 px or 5 ppt # <FK> 10 > 5
bindsym Up resize shrink height 10 px or 10 ppt bindsym Up resize shrink height 5 px or 5 ppt # <FK> 10 > 5
bindsym Right resize grow width 10 px or 10 ppt bindsym Right resize grow width 5 px or 5 ppt # <FK> 10 > 5
# 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"
@@ -191,3 +190,7 @@ bindsym $mod+r mode "resize"
bar { bar {
status_command i3status status_command i3status
} }
####################################################
### START OF OWN ADDITIONS SECTION ###
####################################################