Can you help me improve my I3 config and also move the status bar to the bottom of the screen and also integfrate flameshoot when I press the prntsscren boutton?
I'm on a 15" laptop a vim user so it's all about keyboard first and maximizing screeen realestate.
i3 config file (v4)
Clean and optimized configuration
Set Alt as the main modifier key
set $mod Mod1
Font
font pango:Fira Code 10
Gaps (requires i3-gaps, which is now part of i3)
gaps inner 2
gaps outer 2
smart_gaps on
Remove title bars
for_window [class=".*"] border pixel 2
Colors (Gruvbox-inspired)
set bg #282828
set fg #ebdbb2
set red #cc241d
set green #98971a
set yellow #d79921
set blue #458588
set purple #b16286
set aqua #689d6a
set gray #a89984
set darkgray #1d2021
Window colors
class border backgr. text indicator child_border
client.focused b l u e blue b l u e blue f g fg f g purple b l u e c l i e n t . f o c u s e d i n a c t i v e blue
client.focused_inactive b l u ec l i e n t . f oc u se d i na c t i v e gray b g bg b g fg b g bg b g darkgray
client.unfocused b g bg b g bg g r a y gray g r a y bg d a r k g r a y c l i e n t . u r g e n t darkgray
client.urgent d a r k g r a y c l i e n t . u r g e n t red r e d red r e d fg r e d red r e d red
Autostart applications
exec --no-startup-id dex --autostart --environment i3
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
exec --no-startup-id nm-applet
exec --no-startup-id picom -b
exec --no-startup-id dunst
exec --no-startup-id feh --bg-fill ~/Pictures/wallpaper.jpg
exec --no-startup-id autotiling
Use Mouse+$mod to drag floating windows
floating_modifier $mod
tiling_drag modifier titlebar
Terminal
bindsym $mod+Return exec kitty
Program launchers
bindsym m o d + d e x e c − − n o − s t a r t u p − i d d m e n u r u n b i n d s y m mod+d exec --no-startup-id dmenu_run
bindsym m o d + d e x ec − − n o − s t a r t u p − i mod+space exec --no-startup-id rofi -show drun -show-icons
bindsym $mod+Shift+space exec --no-startup-id rofi -show run
Kill focused window
bindsym m o d + q k i l l b i n d s y m mod+q kill
bindsym m o d + q k i l l bin d sy m mod+Shift+q kill
Focus navigation (Vim-like)
bindsym m o d + h f o c u s l e f t b i n d s y m mod+h focus left
bindsym m o d + h f oc u s l e f t bin d sy m mod+j focus down
bindsym m o d + k f o c u s u p b i n d s y m mod+k focus up
bindsym m o d + mod+l focus right
Arrow keys for focus
bindsym m o d + L e f t f o c u s l e f t b i n d s y m mod+Left focus left
bindsym m o d + L e f t f oc u s l e f t bin d sy m mod+Down focus down
bindsym m o d + U p f o c u s u p b i n d s y m mod+Up focus up
bindsym m mod+Right focus right
Move windows (Vim-like)
bindsym m o d + S h i f t + h m o v e l e f t b i n d s y m mod+Shift+h move left
bindsym m o d + S hi f t + hm o v e l e f t bin d sy m mod+Shift+j move down
bindsym m o d + S h i f t + k m o v e u p b i mod+Shift+l move right
Arrow keys for moving
bindsym m o d + S h i f t + L e f t m o v e l e f t b i n d s y m mod+Shift+Left move left
bindsym m o d + S hi f t + L e f t m o v e l e f t bin d sy m mod+Shift+Down move down
bindsym m o d + S mod+Shift+Right move right
Resize windows (Vim-like with Ctrl)
bindsym m o d + C t r l + h r e s i z e s h r i n k w i d t h 5 p x o r 5 p p t b i n d s y m mod+Ctrl+h resize shrink width 5 px or 5 ppt
bindsym m o d + C t r l + h r es i z es h r ink w i d t h 5 p mod+Ctrl+j resize grow height 5 px or 5 ppt
bindsym mod+Ctrl+l resize grow width 5 px or 5 ppt
Split orientation
bindsym m o d + v s p l i t v b i n d s y m mod+v split v
bindsym m o d + v s pl i t v bin d sy m mod+s split h
bindsym $mod+t split toggle
Fullscreen
bindsym $mod+f fullscreen toggle
Container layouts
bindsym m o d + w l a y o u t t a b b e d b i n d s y m mod+w layout tabbed
bindsym m o d + w l a y o u tt abb e d bin d sy m mod+e layout toggle split
bindsym $mod+a layout stacking
Toggle floating
bindsym $mod+Shift+f floating toggle
Change focus between tiling / floating windows
bindsym $mod+Tab focus mode_toggle
Focus parent/child
bindsym m o d + p f o c u s p a r e n t b i n d s y m mod+p focus parent
bindsym m o d + p f oc u s p a r e n t bin d sy m mod+c focus child
Workspaces
set w s 1 " 1 " s e t ws1 "1"
set w s 1"1" se t ws2 "2"
set w s 3 " 3 " s e t ws3 "3"
set w s 3"3" se t ws4 "4"
set w s 5 " 5 " s e t ws5 "5"
set w s 5"5" se t ws6 "6"
set w s 7 " 7 " s e t ws7 "7"
set ws8 "8"
set ws10 "10"
Switch to workspace
bindsym m o d + 1 w o r k s p a c e n u m b e r mod+1 workspace number m o d + 1 w or k s p a ce n u mb er ws1
bindsym m o d + 2 w o r k s p a c e n u m b e r mod+2 workspace number m o d + ws2
bindsym ws3
bindsym ws4
bindsym ws5
bindsym ws6
bindsym ws7
bindsym ws8
bindsym ws9
bindsym ws10
Move focused container to workspace
bindsym m o d + S h i f t + 1 m o v e c o n t a i n e r t o w o r k s p a c e n u m b e r mod+Shift+1 move container to workspace number m o d + S hi f t + 1 m o v eco n t ain er t o w or k s p a ws1
bindsym ws2
bindsym ws3
bindsym ws4
bindsym ws5
bindsym ws6
bindsym ws7
bindsym ws8
bindsym ws9
bindsym ws10
Scratchpad (hidden workspace)
bindsym m o d + m i n u s s c r a t c h p a d s h o w b i n d s y m mod+minus scratchpad show
bindsym m o d + min u sscr a t c h p a d s h o w bin d sy m mod+Shift+minus move scratchpad
System controls
bindsym m o d + S h i f t + c r e l o a d b i n d s y m mod+Shift+c reload
bindsym m o d + S hi f t + cr e l o a d bin d sy m mod+Shift+r restart
bindsym mod+Shift+e exec "i3-nagbar -t warning -m 'Exit i3?' -B 'Yes' 'i3-msg exit'"
bindsym mod+Shift+x exec i3lock -c 282828
Resize mode
mode "resize" {
bindsym h resize shrink width 10 px or 10 ppt
bindsym j resize grow height 10 px or 10 ppt
bindsym k resize shrink height 10 px or 10 ppt
bindsym l resize grow width 10 px or 10 ppt
code Copy code
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 Return mode "default"
bindsym Escape mode "default"
bindsym $mod+r mode "default"
}
bindsym $mod+r mode "resize"
Media controls
bindsym XF86AudioRaiseVolume exec --no-startup-id pamixer -i 5
bindsym XF86AudioLowerVolume exec --no-startup-id pamixer -d 5
bindsym XF86AudioMute exec --no-startup-id pamixer -t
bindsym XF86AudioPlay exec playerctl play-pause
bindsym XF86AudioNext exec playerctl next
bindsym XF86AudioPrev exec playerctl previous
Brightness controls
bindsym XF86MonBrightnessUp exec brightnessctl s +10%
bindsym XF86MonBrightnessDown exec brightnessctl s 10%-
Screenshot
bindsym Print exec --no-startup-id maim ~/Pictures/( d a t e + b i n d s y m S h i f t + P r i n t e x e c − − n o − s t a r t u p − i d m a i m − s / P i c t u r e s / (date +%Y-%m-%d_%H-%M-%S).png
bindsym Shift+Print exec --no-startup-id maim -s ~/Pictures/ ( d a t e + bin d sy m S hi f t + P r (date +%Y-%m-%d_%H-%M-%S).png
FIXED: Status bar toggle with Alt (your main modifier)
Press Alt+b to toggle the status bar
bindsym $mod+b bar mode toggle
Status bar configuration
bar {
status_command i3blocks
position top
mode hide
hidden_state hide
modifier mod
colors {
background bg
statusline f g s e p a r a t o r fg
separator f g se p a r a t or gray
focused_workspace b l u e blue b l u e blue f g a c t i v e w o r k s p a c e fg
active_workspace f g a bg fg
inactive_workspace bg red fg
}
}
Floating window rules
for_window [window_role="pop-up"] floating enable
for_window [window_role="task_dialog"] floating enable
for_window [class="Pavucontrol"] floating enable
for_window [class="Arandr"] floating enable
for_window [class="Blueman-manager"] floating enable
for_window [class="Gpick"] floating enable
for_window [class="Kruler"] floating enable
for_window [class="MessageWin"] floating enable
for_window [class="Sxiv"] floating enable
for_window [class="Wdisplays"] floating enable
for_window [class="Timeset-gui"] floating enable
for_window [class="feh"] floating enable