dotfiles/config/i3/config
2025-03-23 22:24:32 +01:00

119 lines
3.5 KiB
Text

set $mod Mod4
set $border0 "#606060"
set $border1 "#ffffff"
set $speed 75
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"
exec_always --no-startup-id feh --bg-fill $(cat ~/.config/i3/wallpaper)
exec_always --no-startup-id ~/.config/polybar/launch.sh
exec_always --no-startup-id setxkbmap pl
exec --no-startup-id xcompmgr
exec --no-startup-id sleep 1s; i3-msg restart
client.unfocused $border0 $border0 $border0 $border0 $border0
client.focused $border1 $border1 $border1 $border1 $border1
client.focused_inactive $border0 $border0 $border0 $border0 $border0
client.urgent $border0 $border0 $border0 $border0 $border0
for_window [class=".*"] border pixel 1
smart_borders on
gaps inner 5
gaps outer 6
floating_modifier $mod
font pango:MonoCraft NerdFont 10
assign [class="firefox"] 1
assign [class="KeePassXC"] 10
assign [class="steam"] 2
assign [class="obs"] 7
assign [class="SimpleScreenRecorder"] 7
assign [class="TelegramDesktop"] 5
assign [class="Gajim"] 5
assign [class="weechat"] 5
assign [class="Signal"] 5
assign [class="transmission"] 6
#assign [class="radeon-profile"] 5
bindsym $mod+Shift+r restart
bindsym $mod+q kill
bindsym $mod+j focus left
bindsym $mod+k focus down
bindsym $mod+l focus up
bindsym $mod+semicolon focus right
bindsym $mod+ctrl+j move left $speed px
bindsym $mod+ctrl+k move down $speed px
bindsym $mod+ctrl+l move up $speed px
bindsym $mod+ctrl+semicolon move right $speed px
bindsym $mod+Shift+ctrl+semicolon resize shrink width 6 px or 6 ppt
bindsym $mod+Shift+ctrl+l resize grow height 6 px or 6 ppt
bindsym $mod+Shift+ctrl+k resize shrink height 6 px or 6 ppt
bindsym $mod+Shift+ctrl+j resize grow width 6 px or 6 ppt
bindsym $mod+h split h
bindsym $mod+v split v
bindsym $mod+f fullscreen toggle
bindsym $mod+x floating toggle
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split
bindsym $mod+1 workspace number $ws1
bindsym $mod+2 workspace number $ws2
bindsym $mod+3 workspace number $ws3
bindsym $mod+4 workspace number $ws4
bindsym $mod+5 workspace number $ws5
bindsym $mod+6 workspace number $ws6
bindsym $mod+7 workspace number $ws7
bindsym $mod+8 workspace number $ws8
bindsym $mod+9 workspace number $ws9
bindsym $mod+0 workspace number $ws10
bindsym $mod+Shift+1 move container to workspace number $ws1
bindsym $mod+Shift+2 move container to workspace number $ws2
bindsym $mod+Shift+3 move container to workspace number $ws3
bindsym $mod+Shift+4 move container to workspace number $ws4
bindsym $mod+Shift+5 move container to workspace number $ws5
bindsym $mod+Shift+6 move container to workspace number $ws6
bindsym $mod+Shift+7 move container to workspace number $ws7
bindsym $mod+Shift+8 move container to workspace number $ws8
bindsym $mod+Shift+9 move container to workspace number $ws9
bindsym $mod+Shift+0 move container to workspace number $ws10
# workspace 1 output HDMI-1
# workspace 2 output HDMI-1
# workspace 3 output HDMI-1
# workspace 4 output HDMI-1
# workspace 5 output HDMI-1
# workspace 6 output DP-3
# workspace 7 output DP-3
# workspace 8 output DP-3
# workspace 9 output DP-3
# workspace 10 output DP-3
#bar {
# position top
# status_command ~/.config/i3/status.sh
# tray_output primary
# colors {
# background #000000
# statusline #ffffff
#
# focused_workspace $border1 #080808 #ffffff
# inactive_workspace #000000 #000000 #ffffff
# urgent_workspace #000000 #000000 #ffffff
# }
#}