/
config
120 lines (95 loc) · 4.49 KB
/
config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
set $mod Mod4
gaps inner 25
gaps outer 0
exec --no-startup-id "xrandr -r 47"
exec --no-startup-id "xrandr --output eDP1 --gamma 0.8:0.8:0.8"
exec --no-startup-id picom
exec --no-startup-id "xset -b"
exec_always --no-startup-id "feh --bg-scale /home/probe/.config/i3/wal.jpg"
exec_always --no-startup-id /home/probe/.config/polybar/launch.sh
font pango:Cantarell 10
for_window [class="^.*"] border pixel 0
bindsym Print exec --no-startup-id scrot -q 100 '/home/probe/Pictures/Screenshots/%F_%T_$wx$h.png'
bindsym Ctrl+Print exec --no-startup-id scrot -uq 100 '/home/probe/Pictures/Screenshots/%F_%T_$wx$h.png'
bindsym --release Shift+Print exec --no-startup-id scrot -sq 100 '/home/probe/Pictures/Screenshots/%F_%T_$wx$h.png'
bindsym $mod+Print exec --no-startup-id scrot -q 100 '/tmp/%F_%T_$wx$h.png' -e 'xclip -selection clipboard -target image/png -i $f'
bindsym $mod+Ctrl+Print exec --no-startup-id scrot -uq 100 '/tmp/%F_%T_$wx$h.png' -e 'xclip -selection clipboard -target image/png -i $f'
bindsym --release $mod+Shift+Print exec --no-startup-id scrot -sq 100 '/tmp/%F_%T_$wx$h.png' -e 'xclip -selection clipboard -target image/png -i $f'
exec --no-startup-id nm-applet
bindsym $mod+l exec --no-startup-id /home/probe/.config/i3/scripts/lock.sh
bindsym $mod+End exec --no-startup-id systemctl suspend
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -q sset Master 10%+ && pkill -RTMIN+1 i3blocks
bindsym XF86AudioLowerVolume exec --no-startup-id amixer -q sset Master 10%- && pkill -RTMIN+1 i3blocks
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && pkill -RTMIN+1 i3blocks
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
bindsym XF86AudioNext exec --no-startup-id playerctl next
bindsym XF86AudioPrev exec --no-startup-id playerctl previous
bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 5 && pkill -RTMIN+2 i3blocks
bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 5 && pkill -RTMIN+2 i3blocks
floating_modifier $mod
focus_follows_mouse no
bindsym $mod+Return exec --no-startup-id st
bindsym $mod+Shift+Return exec brave
bindsym $mod+Shift+f exec --no-startup-id st -e ranger
bindsym $mod+Shift+p exec --no-startup-id st -e htop
bindsym $mod+Shift+q kill
bindsym XF86Search exec "rofi -show run"
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+h split h
bindsym $mod+v split v
bindsym $mod+f fullscreen toggle
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split
bindsym $mod+p exec --no-startup-id /home/probe/.config/i3/scripts/display.sh
bindsym $mod+Shift+space floating toggle
bindsym $mod+space focus mode_toggle
bindsym $mod+a focus parent
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"
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+e 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'"
mode "resize" {
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 Escape mode "default"
}
bindsym $mod+r mode "resize"