68 lines
2.3 KiB
Plaintext
68 lines
2.3 KiB
Plaintext
include $HOME/.config/i3/`hostname`.conf
|
|
include $HOME/.config/i3/keybinds.conf
|
|
include $HOME/.config/i3/theme.conf
|
|
include $HOME/.config/i3/i3bar.conf
|
|
include $HOME/.config/i3/autorun.conf
|
|
exec $HOME/.config/i3/i3-restore/i3-restore
|
|
|
|
#hide_edge_borders smart
|
|
hide_edge_borders both
|
|
default_border none
|
|
smart_borders on
|
|
smart_gaps on
|
|
workspace_auto_back_and_forth yes
|
|
focus_follows_mouse no
|
|
default_border pixel 2
|
|
default_floating_border normal 0
|
|
font pango:monospace 8
|
|
set $mod Mod4
|
|
floating_modifier $mod
|
|
|
|
# workspace names
|
|
set $ws1 "1:"
|
|
set $ws2 "2:"
|
|
set $ws3 "3"
|
|
set $ws4 "4"
|
|
set $ws5 "5:"
|
|
set $ws6 "6"
|
|
set $ws7 "7:"
|
|
set $ws8 "8"
|
|
set $ws9 "9:"
|
|
set $ws10 "10:"
|
|
|
|
# Scratchpads
|
|
bindsym $mod+m [class="fm"] scratchpad show; move position center
|
|
bindsym $mod+v [class="vol"] scratchpad show; move position center
|
|
bindsym $mod+Shift+s [class="mus"] scratchpad show; move position center
|
|
exec_always --no-startup-id pgrep -f '^alacritty --class fm,fm' || alacritty --class fm,fm -e ranger
|
|
exec_always --no-startup-id pgrep -f '^alacritty --class vol,vol' || alacritty --class vol,vol -e pulsemixer
|
|
exec_always --no-startup-id pgrep -f '^alacritty --class mus,mus' || alacritty --class mus,mus -e ncspot
|
|
# add volmixer, spotify, email (maybe), calendar (maybe)
|
|
|
|
# Specific windows
|
|
#floating_minimum_size 1500 x 850
|
|
#floating_maximum_size -1 x -1
|
|
no_focus [window_role="pop-up"]
|
|
for_window [class="^.*"] border pixel 2
|
|
for_window [class="Spotify"] floating enable
|
|
for_window [class="cutefish-calculator"] floating enable
|
|
for_window [class="kcalc"] floating enable
|
|
for_window [class="Galculator"] floating enable
|
|
for_window [class="GParted"] floating enable, resize set 1550 900, border pixel 0, move position center
|
|
for_window [class="systemsettings"] floating enable
|
|
for_window [title="Friends List"] floating enable
|
|
for_window [class="Streamdeck UI"] floating enable, resize set 500 508
|
|
for_window [class="fm|vol|mus"] floating enable, resize set 1250 700, move scratchpad, border pixel 0
|
|
|
|
# Assign workspaces (find class with xprop)
|
|
assign [class="LibreWolf"] 2
|
|
assign [class="Firefox-esr"] 2
|
|
assign [class="firefox"] 2
|
|
assign [class="Brave-browser"] 2
|
|
assign [class="firedragon"] 2
|
|
assign [class="obs"] 5
|
|
assign [class="Signal"] 7
|
|
assign [class="discord"] 7
|
|
assign [class="Spotify"] 9
|
|
assign [class="Steam"] 10
|