From a2c239ea1bd1393f1566cdc9377a92024407d0fd Mon Sep 17 00:00:00 2001 From: t470p Date: Sat, 11 May 2024 21:10:54 -0500 Subject: [PATCH] u --- dots/i3wm/config | 57 +++++++++++++++++++++++++----------------------- 1 file changed, 30 insertions(+), 27 deletions(-) diff --git a/dots/i3wm/config b/dots/i3wm/config index 7a67ecb..a97f721 100644 --- a/dots/i3wm/config +++ b/dots/i3wm/config @@ -1,9 +1,9 @@ -# This file has been auto-generated by i3-config-wizard(1). -# It will not be overwritten, so edit it as you like. -# -# Should you change your keyboard layout some time, delete -# this file and re-run i3-config-wizard(1). -# +# klevstul + +# Note: +# for modified values, see lines with "" in the comment + +# ############################################################################### # i3 config file (v4) # @@ -19,8 +19,7 @@ font pango:monospace 8 # text rendering and scalability on retina/hidpi displays (thanks to pango). #font pango:DejaVu Sans Mono 8 -# run startup script -exec --no-startup-id startup.sh +exec --no-startup-id startup.sh # run startup script # Start XDG autostart .desktop files using dex. See also # 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. set $refresh_i3status killall -SIGUSR1 i3status -bindsym XF86AudioRaiseVolume 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@ -10% && $refresh_i3status +bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% && $refresh_i3status # 10 > 5% +bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5% && $refresh_i3status # 10 > 5% 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 @@ -58,7 +57,7 @@ bindsym $mod+Return exec i3-sensible-terminal bindsym $mod+Shift+q kill # start dmenu (a program launcher) -bindsym $mod+d exec --no-startup-id dmenu_run +bindsym $mod+d exec --no-startup-id dmenu_recency # dmenu_run > dmenu_recency # A more modern dmenu replacement is rofi: # bindcode $mod+40 exec "rofi -modi drun,run -show drun" # 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 # change focus -bindsym $mod+j focus left -bindsym $mod+k focus down -bindsym $mod+l focus up -bindsym $mod+semicolon focus right +#bindsym $mod+j focus left # +#bindsym $mod+k focus down # +#bindsym $mod+l focus up # +#bindsym $mod+semicolon focus right # # alternatively, you can use the cursor keys: bindsym $mod+Left focus left @@ -78,10 +77,10 @@ bindsym $mod+Up focus up bindsym $mod+Right focus right # move focused window -bindsym $mod+Shift+j move left -bindsym $mod+Shift+k move down -bindsym $mod+Shift+l move up -bindsym $mod+Shift+semicolon move right +#bindsym $mod+Shift+j move left # +#bindsym $mod+Shift+k move down # +#bindsym $mod+Shift+l move up # +#bindsym $mod+Shift+semicolon move right # # alternatively, you can use the cursor keys: bindsym $mod+Shift+Left move left @@ -167,16 +166,16 @@ mode "resize" { # Pressing right will grow the window’s width. # Pressing up will shrink the window’s height. # Pressing down will grow the window’s height. - bindsym j resize shrink width 10 px or 10 ppt - bindsym k resize grow height 10 px or 10 ppt - bindsym l resize shrink height 10 px or 10 ppt - bindsym semicolon resize grow width 10 px or 10 ppt + bindsym j resize shrink width 5 px or 5 ppt # 10 > 5 + bindsym k resize grow height 5 px or 5 ppt # 10 > 5 + bindsym l resize shrink height 5 px or 5 ppt # 10 > 5 + bindsym semicolon resize grow width 5 px or 5 ppt # 10 > 5 # same bindings, but for the arrow keys - 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 Right resize grow width 10 px or 10 ppt + bindsym Left resize shrink width 5 px or 5 ppt # 10 > 5 + bindsym Down resize grow height 5 px or 5 ppt # 10 > 5 + bindsym Up resize shrink height 5 px or 5 ppt # 10 > 5 + bindsym Right resize grow width 5 px or 5 ppt # 10 > 5 # back to normal: Enter or Escape or $mod+r bindsym Return mode "default" @@ -191,3 +190,7 @@ bindsym $mod+r mode "resize" bar { status_command i3status } + +#################################################### +### START OF OWN ADDITIONS SECTION ### +####################################################