mirror of
https://github.com/wlinator/dotfiles.git
synced 2024-10-02 17:03:13 +00:00
103 lines
4 KiB
Text
103 lines
4 KiB
Text
# i3 config file (v4.22)
|
|
|
|
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"
|
|
|
|
set $mod Mod4
|
|
floating_modifier $mod
|
|
#font pango:Clear Sans 10
|
|
|
|
bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl set +10%
|
|
bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl set 10%-
|
|
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
|
|
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
|
|
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
|
|
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
|
|
bindsym $mod+Return exec alacritty
|
|
bindsym $mod+Shift+q kill
|
|
bindsym Print exec flameshot gui
|
|
bindsym $mod+Left focus left
|
|
bindsym $mod+Down focus down
|
|
bindsym $mod+Up focus up
|
|
bindsym $mod+Right focus 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
|
|
bindsym $mod+f fullscreen toggle
|
|
bindsym $mod+w layout tabbed
|
|
bindsym $mod+s layout stacking
|
|
bindsym $mod+e layout toggle split
|
|
bindsym $mod+h split h
|
|
bindsym $mod+b split v
|
|
bindsym $mod+Shift+space floating toggle
|
|
bindsym $mod+space focus mode_toggle
|
|
bindsym $mod+a focus parent
|
|
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
|
|
bindsym $mod+Shift+c reload
|
|
bindsym $mod+Shift+r restart
|
|
bindsym $mod+Shift+minus move scratchpad
|
|
bindsym $mod+minus scratchpad show
|
|
bindsym $mod+l exec "i3lock -ef"
|
|
|
|
# https://github.com/adi1090x/rofi - dmenu, powermenu & clipboard.
|
|
bindsym $mod+Shift+e exec --no-startup-id ~/.config/rofi/powermenu/type-1/powermenu.sh
|
|
bindsym $mod+d exec --no-startup-id ~/.config/rofi/launchers/type-4/launcher.sh
|
|
bindsym $mod+v exec --no-startup-id rofi -modi "clipboard:greenclip print" -show clipboard -theme ~/.config/rofi/launchers/type-1/style-4.rasi -run-command '{cmd}'
|
|
|
|
|
|
exec --no-startup-id greenclip daemon>/dev/null
|
|
exec --no-startup-id nm-applet
|
|
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
|
|
|
exec_always --no-startup-id "~/.config/polybar/launch.sh"
|
|
exec_always --no-startup-id "nitrogen --set-zoom-fill --random ~/.config/i3/img/"
|
|
exec_always --no-startup-id "setxkbmap -layout gb"
|
|
|
|
for_window [class="(?i)Discord(?i)"] move container to workspace $ws3
|
|
for_window [class="Spotify"] move container to workspace $ws4
|
|
|
|
default_border pixel 0
|
|
|
|
######################
|
|
## UNCOMMENT TO USE ###
|
|
######################
|
|
#exec --no-startup-id kitty --class "scratchpad"
|
|
#for_window [class="scratchpad"] , move scratchpad
|
|
#exec --no-startup-id nitrogen --set-auto /path/to/image.png.svg.jpg
|
|
#bindsym mod4+s [title="^Sup ::"] scratchpad show
|
|
#assign [class="Discord"] $ws3 #doesn't work
|
|
#bindsym $mod+d focus child
|
|
#exec_always --no-startup-id "brightnessctl set 5%"
|
|
#gaps inner 5px
|
|
#smart_gaps on
|
|
#tiling_drag modifier titlebar
|
|
#exec --no-startup-id kitty --class "btopboot" --session "~/.config/kitty/startup.conf"
|
|
#for_window [class="btopboot"] move container to workspace $ws5
|