dotfiles/cosmo/config/i3/config
2026-04-10 14:49:11 -07:00

200 lines
7.6 KiB
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# pogmommy's i3 config
set $mod Mod1
set $smod Shift
set $fn Mod5
set $wm_setting_key_left j
set $wm_setting_key_down k
set $wm_setting_key_up i
set $wm_setting_key_right l
set $wm_setting_font pango:Source Sans Pro, Semibold 11
set $wm_setting_gap 10
set $wm_setting_border_size 4
#set $bar_setting_position top
#set $bar_setting_mode dock
#set $bar_setting_font pango:Source Sans Pro, Semibold 11
#set $bar_setting_statusCommand i3status
#set $bar_setting_trayoutput full
#set $bar_setting_separator " - "
set $wm_setting_app_terminal kitty
set $wm_setting_app_browser librewolf
set $wm_setting_app_launcher rofi -show drun
set $wm_setting_app_compositor picom
include $HOME/.config/de-vars/colors/active/sway
set $wm_color_border_active_bg #d7afaf
set $wm_color_border_active_fg #d7afaf
set $wm_color_border_inactive_bg #111317
set $wm_color_border_inactive_fg #111317
set $wm_color_background #111317
#set $bar_color_background #11131799
#set $bar_color_foreground #d7afaf
#set $bar_color_statusline #d7afaf
#set $bar_color_separator #D8DEE9
#set $bar_color_workspace_focused_bg #d7afaf
#set $bar_color_workspace_focused_fg #111317
#set $bar_color_workspace_active_bg #576176
#set $bar_color_workspace_active_fg #111317
#set $bar_color_workspace_inactive_bg #576176
#set $bar_color_workspace_inactive_fg #111317
#set $bar_color_workspace_urgent_bg #d75f87
#set $bar_color_workspace_urgent_fg #111317
bindsym $mod+Return exec $wm_setting_app_terminal
bindsym $mod+Shift+b exec $wm_setting_app_browser
bindsym $mod+d exec $wm_setting_app_launcher
bindsym $fn+XF86TopMenu exec $wm_setting_app_launcher
bindsym $fn+XF86AudioRaiseVolume exec --no-startup-id $HOME/.config/i3/scripts/volume.sh up
bindsym $fn+XF86AudioLowerVolume exec --no-startup-id $HOME/.config/i3/scripts/volume.sh down
bindsym $fn+XF86MonBrightnessUp exec --no-startup-id $HOME/.config/i3/scripts/brightness.sh up
bindsym $fn+XF86MonBrightnessDown exec --no-startup-id $HOME/.config/i3/scripts/brightness.sh down
exec_always --no-startup-id $wm_setting_app_compositor
exec --no-startup-id /usr/lib/aarch64-linux-gnu/libexec/polkit-kde-authentication-agent-1
exec --no-startup-id eww daemon
bindsym $mod+1 workspace 1
bindsym $mod+2 workspace 2
bindsym $mod+3 workspace 3
bindsym $mod+4 workspace 4
bindsym $mod+5 workspace 5
bindsym $mod+6 workspace 6
bindsym $mod+7 workspace 7
bindsym $mod+8 workspace 8
bindsym $mod+9 workspace 9
bindsym $mod+0 workspace 10
bindsym $mod+$smod+1 move container to workspace 1
bindsym $mod+$smod+2 move container to workspace 2
bindsym $mod+$smod+3 move container to workspace 3
bindsym $mod+$smod+4 move container to workspace 4
bindsym $mod+$smod+5 move container to workspace 5
bindsym $mod+$smod+6 move container to workspace 6
bindsym $mod+$smod+7 move container to workspace 7
bindsym $mod+$smod+8 move container to workspace 8
bindsym $mod+$smod+9 move container to workspace 9
bindsym $mod+$smod+0 move container to workspace 10
bindsym $mod+$wm_setting_key_left focus left
bindsym $mod+$wm_setting_key_down focus down
bindsym $mod+$wm_setting_key_up focus up
bindsym $mod+$wm_setting_key_right focus right
bindsym $mod+$smod+$wm_setting_key_left move left
bindsym $mod+$smod+$wm_setting_key_down move down
bindsym $mod+$smod+$wm_setting_key_up move up
bindsym $mod+$smod+$wm_setting_key_right move right
bindsym $mod+Tab workspace next
bindsym $mod+$smod+Tab workspace prev
client.focused $wm_color_border_active_bg $wm_color_border_active_bg $wm_color_border_active_fg $wm_color_border_active_bg $wm_color_border_active_bg
client.focused_inactive $wm_color_border_inactive_bg $wm_color_border_inactive_bg $wm_color_border_inactive_fg $wm_color_border_inactive_bg $wm_color_border_inactive_bg
client.unfocused $wm_color_border_inactive_bg $wm_color_border_inactive_bg $wm_color_border_inactive_fg $wm_color_border_inactive_bg $wm_color_border_inactive_bg
client.urgent $wm_color_border_inactive_bg $wm_color_border_inactive_bg $wm_color_border_inactive_fg $wm_color_border_inactive_bg $wm_color_border_inactive_bg
client.placeholder $wm_color_border_inactive_bg $wm_color_border_inactive_bg $wm_color_border_inactive_fg $wm_color_border_inactive_bg $wm_color_border_inactive_bg
client.background $wm_color_background
bindsym $mod+r mode "resize"
mode "resize" {
# These bindings trigger as soon as you enter the resize mode
# Pressing left will shrink the windows width.
# Pressing right will grow the windows width.
# Pressing up will shrink the windows height.
# Pressing down will grow the windows height.
bindsym $wm_setting_key_left resize shrink width 10 px or 10 ppt
bindsym $wm_setting_key_down resize grow height 10 px or 10 ppt
bindsym $wm_setting_key_up resize shrink height 10 px or 10 ppt
bindsym $wm_setting_key_right resize grow width 10 px or 10 ppt
# Resize the gap width and height
bindsym $smod+$wm_setting_key_left gaps horizontal minus 5
bindsym $smod+$wm_setting_key_down gaps horizontal plus 5
bindsym $smod+$wm_setting_key_up gaps vertical minus 5
bindsym $smod+$wm_setting_key_right gaps vertical plus 5
# Back to normal: Enter or Escape or $mod+r
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym $mod+r mode "default"
}
gaps outer $wm_setting_gap
gaps inner $wm_setting_gap
#smart_gaps on
default_border pixel $wm_setting_border_size
default_floating_border pixel $wm_setting_border_size
#smart_borders on
font $wm_setting_font
floating_modifier $mod
bindsym $mod+f fullscreen toggle
bindsym $mod+$smod+f floating toggle
bindsym $mod+$smod+q kill
bindsym $mod+$smod+r restart
bindsym $mod+$smod+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'"
exec --no-startup-id feh --bg-fill ~/.config/i3/assets/wallpaper/wallpaper.jpg
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
#bar {
# i3bar_command i3bar --transparency
# position $bar_setting_position
# mode $bar_setting_mode
# font $bar_setting_font
# separator_symbol $bar_setting_separator
# status_command $bar_setting_statusCommand
# tray_output $bar_setting_trayoutput
#
# colors {
# background $bar_color_background
# statusline $bar_color_statusline
# separator $bar_color_separator
#
# focused_workspace $bar_color_workspace_focused_bg $bar_color_workspace_focused_bg $bar_color_workspace_focused_fg
# active_workspace $bar_color_workspace_active_bg $bar_color_workspace_active_bg $bar_color_workspace_active_fg
# inactive_workspace $bar_color_workspace_inactive_bg $bar_color_workspace_inactive_bg $bar_color_workspace_inactive_fg
# urgent_workspace $bar_color_workspace_urgent_bg $bar_color_workspace_urgent_bg $bar_color_workspace_urgent_fg
# }
#}
#bar {
# i3bar_command i3bar --transparency
# status_command i3status
# id bar-0
# position top
# status_command i3status --config ~/.config/i3status/config
# colors {
# background #aaaaaa
# statusline #ffffff
# background #00000055
# statusline #ffffff
# separator #666666
# focused_workspace #4c7899 #285577 #ffffff
# active_workspace #333333 #5f676a #ffffff
# inactive_workspace #333333 #222222 #888888
# urgent_workspace #2f343a #900000 #ffffff
# binding_mode #2f343a #900000 #ffffff
# }
#}
#exec_always i3bar