dotfiles/.config/i3/config

150 lines
4.7 KiB
Text
Raw Normal View History

2018-08-24 09:27:07 +00:00
set $mod Mod4
2021-02-09 06:28:08 +00:00
#font pango:B612 Regular 7
2021-09-18 15:43:06 +00:00
font pango:DB Office Regular 9
2018-08-24 09:27:07 +00:00
floating_modifier $mod
2021-04-17 10:06:15 +00:00
bindsym $mod+Return exec xiate
bindsym $mod+Shift+Return exec xiate -class xiate-floating -e python
2018-08-24 09:27:07 +00:00
bindsym $mod+Shift+x kill
bindsym $mod+a exec rofi -show drun
2020-10-23 19:43:48 +00:00
bindsym $mod+Shift+a exec rofi -show run
2018-08-24 09:27:07 +00:00
bindsym $mod+n focus left
bindsym $mod+r focus down
bindsym $mod+t focus up
bindsym $mod+d focus right
bindsym $mod+Shift+n move left
bindsym $mod+Shift+r move down
bindsym $mod+Shift+t move up
bindsym $mod+Shift+d move right
2021-02-09 06:28:08 +00:00
bindsym Control+$mod+n move workspace to output left
bindsym Control+$mod+r move workspace to output down
bindsym Control+$mod+t move workspace to output up
bindsym Control+$mod+d move workspace to output right
2018-08-24 09:27:07 +00:00
bindsym $mod+h split h
bindsym $mod+v split v
bindsym $mod+e fullscreen toggle
bindsym $mod+q layout stacking
bindsym $mod+f layout tabbed
bindsym $mod+g layout toggle split
bindsym $mod+Shift+space floating toggle
bindsym $mod+space focus mode_toggle
#bindsym $mod+u focus parent
#bindsym $mod+d focus child
2021-08-07 08:12:31 +00:00
set $ws1 "1:irc"
set $ws2 "2:browser"
set $ws3 "3:msg"
set $ws4 "4"
set $ws5 "5"
set $ws6 "6"
set $ws7 "7"
2021-12-30 15:18:18 +00:00
set $ws8 "8"
2021-08-07 08:12:31 +00:00
set $ws9 "9:media"
set $ws10 "10:mail"
bindsym $mod+1 workspace $ws1
bindsym $mod+2 workspace $ws2
bindsym $mod+3 workspace $ws3
bindsym $mod+4 workspace $ws4
bindsym $mod+5 workspace $ws5
bindsym $mod+6 workspace $ws6
bindsym $mod+7 workspace $ws7
bindsym $mod+8 workspace $ws8
bindsym $mod+9 workspace $ws9
bindsym $mod+0 workspace $ws10
bindsym $mod+Shift+1 move container to workspace $ws1
bindsym $mod+Shift+2 move container to workspace $ws2
bindsym $mod+Shift+3 move container to workspace $ws3
bindsym $mod+Shift+4 move container to workspace $ws4
bindsym $mod+Shift+5 move container to workspace $ws5
bindsym $mod+Shift+6 move container to workspace $ws6
bindsym $mod+Shift+7 move container to workspace $ws7
bindsym $mod+Shift+8 move container to workspace $ws8
bindsym $mod+Shift+9 move container to workspace $ws9
bindsym $mod+Shift+0 move container to workspace $ws10
2018-08-24 09:27:07 +00:00
bindsym $mod+Shift+l reload
bindsym $mod+Shift+c restart
2018-10-31 12:53:51 +00:00
bindsym $mod+Ctrl+x 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'"
2018-08-24 09:27:07 +00:00
mode "resize" {
bindsym n resize shrink width 10 px or 10 ppt
bindsym r resize grow height 10 px or 10 ppt
bindsym t resize shrink height 10 px or 10 ppt
bindsym d resize grow width 10 px or 10 ppt
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+c mode "resize"
default_border pixel 1
hide_edge_borders smart
2022-01-15 05:31:55 +00:00
force_display_urgency_hint 1000 ms
focus_on_window_activation smart
2018-08-24 09:27:07 +00:00
bar {
status_command python ~/.config/i3pystatus/config.py
position top
tray_output primary
workspace_buttons yes
}
for_window [window_role="pop-up"] floating enable
for_window [class="Pavucontrol"] floating enable
2018-10-31 12:53:51 +00:00
for_window [class="Gnome-calculator"] floating enable
for_window [class="realvnc-vncviewer"] floating enable
2021-04-17 10:10:24 +00:00
for_window [class="xiate-floating"] floating enable
2018-08-24 09:27:07 +00:00
2021-09-18 15:43:06 +00:00
workspace $ws1 output DP2-2
workspace $ws2 output DP2-1
workspace $ws3 output DP2-2
workspace $ws9 output eDP1
workspace $ws10 output DP2-1
2018-12-21 16:33:58 +00:00
exec_always setxkbmap -synch
exec_always ~/.fehbg
exec_always xinput set-prop "TPPS/2 IBM TrackPoint" "libinput Accel Speed" 0.8
2018-11-20 22:18:58 +00:00
2018-08-24 09:27:07 +00:00
exec xset s noblank && xset s 90 10 && xset -dpms
2018-10-31 12:53:51 +00:00
exec xsetroot -solid "#000000"
2018-08-24 09:27:07 +00:00
exec xss-lock -n /home/kunsi/.bin/notify.sh -- /home/kunsi/.bin/screenlock.sh
2019-03-23 15:09:15 +00:00
exec xinput disable 'SynPS/2 Synaptics TouchPad'
2019-03-30 12:08:22 +00:00
exec xinput disable 'ELAN Touchscreen'
2018-08-24 09:27:07 +00:00
2018-10-31 12:53:51 +00:00
#bindsym Control+$mod+l exec /home/kunsi/.bin/screenlock.sh
bindsym XF86Tools exec /home/kunsi/.bin/screenlock.sh
2018-08-24 09:27:07 +00:00
2020-08-23 15:34:29 +00:00
bindsym XF86Display exec arandr
2018-08-24 09:27:07 +00:00
2018-12-21 16:33:58 +00:00
bindsym $mod+Prior exec pactl set-sink-volume @DEFAULT_SINK@ +2%; exec pactl set-sink-mute @DEFAULT_SINK@ 0
bindsym $mod+Next exec pactl set-sink-volume @DEFAULT_SINK@ -2%; exec pactl set-sink-mute @DEFAULT_SINK@ 0
2018-08-24 09:27:07 +00:00
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +2%; exec pactl set-sink-mute @DEFAULT_SINK@ 0
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -2%; exec pactl set-sink-mute @DEFAULT_SINK@ 0
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
2018-10-31 12:53:51 +00:00
bindsym XF86AudioMicMute exec pactl set-source-mute alsa_input.pci-0000_00_1f.3.analog-stereo toggle
2018-08-24 09:27:07 +00:00
2020-08-23 15:42:16 +00:00
bindsym XF86MonBrightnessUp exec xbacklight +5
bindsym XF86MonBrightnessDown exec xbacklight -5
2018-08-24 09:27:07 +00:00
bindsym $mod+Print exec maim ~/screenshot_$(date +%Y-%m-%d_%H%M%S).png
bindsym $mod+Shift+Print exec maim -i $(xdotool getactivewindow) ~/screenshot_$(date +%Y-%m-%d_%H%M%S).png
2018-12-21 16:33:58 +00:00
2019-03-23 15:09:15 +00:00
bindsym $mod+Shift+Left exec playerctl previous
bindsym $mod+Shift+Down exec playerctl play-pause
bindsym $mod+Shift+Right exec playerctl next