i3 update, including status bar colours.

This commit is contained in:
Matt Dobson 2023-01-04 19:37:28 +00:00
parent a12d0cfca3
commit bb936d65be

View File

@ -1,7 +1,13 @@
# ArchLabs i3 config
# ArchLabs id5b3 config
# border & title
for_window [class="^.*"] border pixel 1, title_format "<b> %class >> %title </b>"
# class border backgr. text indicator child_border
client.focused #2d2d2d #285577 #ffffff #2e9ef4 #808fa0
client.focused_inactive #2d2d2d #5f676a #ffffff #484e50 #2d2d2d
client.unfocused #2d2d2d #222222 #888888 #292d2e #2d2d2d
client.urgent #9d5b61 #900000 #ffffff #900000 #9d5b61
client.placeholder #2d2d2d #0c0c0c #ffffff #000000 #2d2d2d
# gaps
gaps inner 8
@ -21,11 +27,6 @@ set $down k
set $left j
set $right semicolon
############### Bar ##################
bar {
status_command i3status
}
############### Autostart ##################
# run with reload
@ -52,6 +53,7 @@ bindsym $Mod+t exec --no-startup-id al-terminal
bindsym $Mod+Return exec --no-startup-id al-terminal
bindsym Mod1+Shift+Return exec --no-startup-id al-terminal
bindsym Control+Shift+t exec --no-startup-id al-terminal
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
# logout script
bindsym $Mod+x exec --no-startup-id rofi_run -l
@ -85,18 +87,18 @@ bindsym $Mod+7 workspace 7
bindsym $Mod+8 workspace 8
# switch to workspace - numpad alternatives
bindsym $Mod+Mod2+KP_1 workspace 1
bindsym $Mod+Mod2+KP_2 workspace 2
bindsym $Mod+Mod2+KP_3 workspace 3
bindsym $Mod+Mod2+KP_4 workspace 4
bindsym $Mod+Mod2+KP_5 workspace 5
bindsym $Mod+Mod2+KP_6 workspace 6
bindsym $Mod+Mod2+KP_7 workspace 7
bindsym $Mod+Mod2+KP_8 workspace 8
bindsym $mod+Mod2+KP_1 workspace 1
bindsym $mod+Mod2+KP_2 workspace 2
bindsym $mod+Mod2+KP_3 workspace 3
bindsym $mod+Mod2+KP_4 workspace 4
bindsym $mod+Mod2+KP_5 workspace 5
bindsym $mod+Mod2+KP_6 workspace 6
bindsym $mod+Mod2+KP_7 workspace 7
bindsym $mod+Mod2+KP_8 workspace 8
# switch to next or previous workspace
bindsym Control+Mod1+Left workspace prev
bindsym Control+Mod1+Right workspace next
bindsym $mod+Mod1+Left workspace prev
bindsym $mod+Mod1+Right workspace next
# move focused container to workspace
bindsym $Mod+Shift+1 move container to workspace 1; workspace 1
@ -127,9 +129,6 @@ bindsym $Mod+Shift+r restart
# reload the configuration file
bindsym $Mod+Shift+c reload
# exit i3 (logs you out of your X session)
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
############ Container/Window control ############
# Scratchpad, Floating
@ -221,10 +220,22 @@ assign [class="(?i)(?:geany)"] → 2
assign [class="(?i)(?:thunar)"] → 3
# focus, floating, & sticky
for_window [class="(?i)(?:firefox|geany|thunar)"] focus
for_window [class="(?i)(?:qt5ct|pinentry)"] floating enable, focus
for_window [class="(?i)(?:qt5ct|pinentry|firefox|geany|thunar)"] focus
for_window [title="(?i)(?:copying|deleting|moving)"] floating enable
for_window [window_role="(?i)(?:pop-up|setup)"] floating enable
popup_during_fullscreen smart
bar {
colors {
background #2d2d2d
statusline #808fa0 #that neon blue
separator #666666
# border backgr. text
focused_workspace #808fa0 #808fa0 #ffffff
active_workspace #2d2d2d #2d2d2d #c6c6c6
inactive_workspace #2d2d2d #2d2d2d #888888
urgent_workspace #9d5b61 #9d5b61 #c6c6c6
}
status_command i3status -c ~/.config/i3status/config
}