209 lines
6.8 KiB
Plaintext
209 lines
6.8 KiB
Plaintext
|
set $mod Mod4
|
||
|
|
||
|
exec_always --no-startup-id wal -i "$(< "${HOME}/.cache/wal/wal")"
|
||
|
exec pgrep sxhkd || sxhkd &
|
||
|
|
||
|
new_window none
|
||
|
new_float normal
|
||
|
|
||
|
hide_edge_borders none
|
||
|
|
||
|
bindsym $mod+u border none
|
||
|
bindsym $mod+y border pixel 1
|
||
|
|
||
|
font xft:San-Francisco-Text 10
|
||
|
|
||
|
floating_modifier $mod
|
||
|
|
||
|
bindsym $mod+Return exec urxvt
|
||
|
bindsym $mod+Shift+q kill
|
||
|
bindsym $mod+d exec jgmenu_run &
|
||
|
|
||
|
bindsym $mod+j focus left
|
||
|
bindsym $mod+k focus down
|
||
|
bindsym $mod+l focus up
|
||
|
bindsym $mod+semicolon focus right
|
||
|
|
||
|
bindsym $mod+Left focus left
|
||
|
bindsym $mod+Down focus down
|
||
|
bindsym $mod+Up focus up
|
||
|
bindsym $mod+Right focus right
|
||
|
|
||
|
bindsym $mod+Shift+j move left
|
||
|
bindsym $mod+Shift+k move down
|
||
|
bindsym $mod+Shift+l move up
|
||
|
bindsym $mod+Shift+semicolon move right
|
||
|
|
||
|
bindsym $mod+Shift+Left move left
|
||
|
bindsym $mod+Shift+Down move down
|
||
|
bindsym $mod+Shift+Up move up
|
||
|
bindsym $mod+Shift+Right move right
|
||
|
|
||
|
workspace_auto_back_and_forth yes
|
||
|
bindsym $mod+b workspace back_and_forth
|
||
|
bindsym $mod+Shift+b move container to workspace back_and_forth; workspace back_and_forth
|
||
|
|
||
|
bindsym $mod+h split h; exec notify-send 'tile horizontally'
|
||
|
bindsym $mod+v split v; exec notify-send 'tile vertically'
|
||
|
bindsym $mod+q split toggle
|
||
|
|
||
|
bindsym $mod+f fullscreen toggle
|
||
|
bindsym $mod+s layout stacking
|
||
|
bindsym $mod+w layout tabbed
|
||
|
bindsym $mod+e layout toggle split
|
||
|
|
||
|
bindsym $mod+Shift+space floating toggle
|
||
|
|
||
|
bindsym $mod+space focus mode_toggle
|
||
|
|
||
|
bindsym $mod+Shift+s sticky toggle
|
||
|
bindsym $mod+a focus parent
|
||
|
|
||
|
bindsym $mod+Shift+minus move scratchpad
|
||
|
|
||
|
bindsym $mod+Ctrl+Right workspace next
|
||
|
bindsym $mod+Ctrl+Left workspace prev
|
||
|
|
||
|
|
||
|
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+Ctrl+1 move container to workspace 1
|
||
|
bindsym $mod+Ctrl+2 move container to workspace 2
|
||
|
bindsym $mod+Ctrl+3 move container to workspace 3
|
||
|
bindsym $mod+Ctrl+4 move container to workspace 4
|
||
|
bindsym $mod+Ctrl+5 move container to workspace 5
|
||
|
bindsym $mod+Ctrl+6 move container to workspace 6
|
||
|
bindsym $mod+Ctrl+7 move container to workspace 7
|
||
|
bindsym $mod+Ctrl+8 move container to workspace 8
|
||
|
|
||
|
bindsym $mod+Shift+1 move container to workspace 1; workspace 1
|
||
|
bindsym $mod+Shift+2 move container to workspace 2; workspace 2
|
||
|
bindsym $mod+Shift+3 move container to workspace 3; workspace 3
|
||
|
bindsym $mod+Shift+4 move container to workspace 4; workspace 4
|
||
|
bindsym $mod+Shift+5 move container to workspace 5; workspace 5
|
||
|
bindsym $mod+Shift+6 move container to workspace 6; workspace 6
|
||
|
bindsym $mod+Shift+7 move container to workspace 7; workspace 7
|
||
|
bindsym $mod+Shift+8 move container to workspace 8; workspace 8
|
||
|
|
||
|
|
||
|
|
||
|
for_window [urgent=latest] focus
|
||
|
|
||
|
bindsym $mod+Shift+c reload
|
||
|
bindsym $mod+Shift+r restart
|
||
|
bindsym $mod+x exec blurlock
|
||
|
|
||
|
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'End X Session?' -b 'Yes' 'i3-msg exit'"
|
||
|
#bindsym $mod+0 mode $mode_system
|
||
|
#set $mode_system (l)ock, (e)xit, switch_(u)ser, (s)uspend, (h)ibernate, (r)eboot, (Shift+s)hutdown
|
||
|
#mode "$mode_system" {
|
||
|
# bindsym s exec --no-startup-id i3exit suspend, mode "default"
|
||
|
# bindsym u exec --no-startup-id i3exit switch_user, mode "default"
|
||
|
# bindsym e exec --no-startup-id i3exit logout, mode "default"
|
||
|
# bindsym h exec --no-startup-id i3exit hibernate, mode "default"
|
||
|
# bindsym r exec --no-startup-id i3exit reboot, mode "default"
|
||
|
# bindsym Shift+s exec --no-startup-id i3exit shutdown, mode "default"
|
||
|
# bindsym Return mode "default"
|
||
|
# bindsym Escape mode "default"
|
||
|
#}
|
||
|
|
||
|
bindsym $mod+r mode "resize"
|
||
|
mode "resize" {
|
||
|
bindsym j resize shrink width 5 px or 5 ppt
|
||
|
bindsym k resize grow height 5 px or 5 ppt
|
||
|
bindsym l resize shrink height 5 px or 5 ppt
|
||
|
bindsym semicolon resize grow width 5 px or 5 ppt
|
||
|
|
||
|
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"
|
||
|
}
|
||
|
|
||
|
exec --no-startup-id nitrogen --restore; sleep 1;
|
||
|
#exec --no-startup-id nm-applet
|
||
|
exec --no-startup-id xfce4-power-manager
|
||
|
exec --no-startup-id pamac-tray
|
||
|
exec --no-startup-id clipit
|
||
|
exec_always --no-startup-id ff-theme-util
|
||
|
exec_always --no-startup-id fix_xcursor
|
||
|
exec_always --no-startup-id dbus-launch compton --config ~/.config/compton.conf
|
||
|
exec_always (xinput set-prop 12 228 1)
|
||
|
exec --no-startup-id ~/.config/polybar/launch.sh
|
||
|
|
||
|
client.focused #14171A #14171A #CCCCCC #393f4d #393f4d
|
||
|
client.focused_inactive #192733 #192733 #CCCCCC #000d1a
|
||
|
client.unfocused #192733 #192733 #CCCCCC #000d1a #000d1a
|
||
|
client.urgent #192733 #192733 #CCCCCC #000d1a #000d1a
|
||
|
client.placeholder #192733 #192733 #CCCCCC #000d1a #000d1a
|
||
|
|
||
|
client.background #F31D3A
|
||
|
|
||
|
gaps inner 10
|
||
|
gaps outer -4
|
||
|
smart_gaps on
|
||
|
|
||
|
set $mode_gaps Gaps: (o)uter, (i)nner
|
||
|
set $mode_gaps_outer: Outer Gaps: +|-|0 (current), Shift + +|-|0 (all)
|
||
|
set $mode_gaps_inner: Inner Gaps: +|-|0 (current), Shift + +|-|0 (all)
|
||
|
bindsym $mod+Shift+g mode "$mode_gaps"
|
||
|
|
||
|
mode "$mode_gaps" {
|
||
|
bindsym o mode "$mode_gaps_outer"
|
||
|
bindsym i mode "$mode_gaps_inner"
|
||
|
bindsym Return mode "default"
|
||
|
bindsym Escape mode "default"
|
||
|
}
|
||
|
|
||
|
mode "$mode_gaps_inner" {
|
||
|
bindsym plus gaps inner current plus 5
|
||
|
bindsym minus gaps inner current minus 5
|
||
|
bindsym 0 gaps inner current set 0
|
||
|
|
||
|
bindsym Shift+plus gaps inner all plus 5
|
||
|
bindsym Shift+minus gaps inner all minus 5
|
||
|
bindsym Shift+0 gaps inner all set 0
|
||
|
|
||
|
bindsym Return mode "default"
|
||
|
bindsym Escape mode "default"
|
||
|
}
|
||
|
|
||
|
mode "$mode_gaps_outer" {
|
||
|
bindsym plus gaps outer current plus 5
|
||
|
bindsym minus gaps outer current minus 5
|
||
|
bindsym 0 gaps outer current set 0
|
||
|
|
||
|
bindsym Shift+plus gaps outer all plus 5
|
||
|
bindsym Shift+minus gaps outer all minus 5
|
||
|
bindsym Shift+0 gaps outer all set 0
|
||
|
|
||
|
bindsym Return mode "default"
|
||
|
bindsym Escape mode "default"
|
||
|
}
|
||
|
|
||
|
bindsym XF86AudioPlay exec playerctl play-pause
|
||
|
bindsym XF86AudioPause exec playerctl pause
|
||
|
bindsym XF86AudioNext exec playerctl next
|
||
|
bindsym XF86AudioPrev exec playerctl previous
|
||
|
|
||
|
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5%
|
||
|
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5%
|
||
|
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle
|
||
|
|
||
|
bindsym XF86MonBrightnessUp exec xbacklight -inc 20
|
||
|
bindsym XF86MonBrightnessDown exec xbacklight -dec 20
|
||
|
|
||
|
bindsym Print exec gnome-screenshot
|
||
|
|
||
|
exec_always /$HOME/.config/i3/init.sh
|