-
Notifications
You must be signed in to change notification settings - Fork 0
/
executable_config
205 lines (160 loc) · 5.55 KB
/
executable_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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
################################
# Eray's i3-gaps Configuration #
################################
## Outputs
set $OUTPUT_LEFT DP-0
set $OUTPUT_RIGHT HDMI-0
mouse_warping none
## Gaps Configuration
# Hide all window title bars
for_window [class=".*"] border pixel 0
# Smart Gaps
smart_gaps on
# Set outer and inner gaps
gaps outer 2
gaps inner 10
# border_radius 5
## Theme Configuration
## Workspaces
# Home (for general usage)
set $WS1 "1: "
workspace $WS1 output $OUTPUT_LEFT
# Browser (browser specific)
set $WS2 "2: "
workspace $WS2 output $OUTPUT_LEFT
# Development (software development)
set $WS3 "3: "
workspace $WS3 output $OUTPUT_LEFT
# Term (terminals)
set $WS4 "4: "
workspace $WS4 output $OUTPUT_LEFT
# Visual
set $WS5 "5: "
workspace $WS5 output $OUTPUT_RIGHT
# Relax
set $WS6 "6: "
workspace $WS6 output $OUTPUT_RIGHT
# Music
set $WS7 "7: "
workspace WS7 output $OUTPUT_RIGHT
# Game
set $WS8 "8: "
workspace $WS8 output $OUTPUT_RIGHT
## Set Mod Key
set $mod Mod4
## Set Font
font pango:Fira Code 10:eray-icomoon
## Drag Floating Windows
floating_modifier $mod
## No Follow Mouse
focus_follows_mouse no
## Default Orientation
default_orientation auto
## Default Workspace Layout
workspace_layout default
## Hide Borders
hide_edge_borders both
## Application Bindings
bindsym $mod+Return exec kitty
bindsym $mod+Shift+t exec xterm
bindsym $mod+c exec chromium
bindsym $mod+q exec qutebrowser
#bindsym $mod+d exec --no-startup-id rofi -combi-modi window#drun#run#ssh -show combi -font Fira\ Code\ 11
bindsym $mod+d exec --no-startup-id launcher
bindsym $mod+Shift+d exec --no-startup-id launcher-apps
## Assign Windows for Workspaces
assign [class="Chromium"] $WS2
assign [class="qutebrowser"] $WS2
assign [class="vieb"] WS2
assign [class="Phpstorm"] $WS3
assign [class="jetbrains-*"] $WS3
assign [class="URxvt"] $WS4
assign [class="kitty"] $WS4
assign [class="alacritty"] $WS4
assign [class="vlc"] $WS6
assign [class="smplayer"] $WS6
assign [class="Steam"] $WS8
assign [class="Battle.net.exe"] $WS8
## Window Layouts
for_window [window_role="pop-up"] floating enable, move absolute center
for_window [window_role="Open Files"] floating enable sticky
for_window [window_role="File Operation Progress"] floating enable sticky
for_window [window_role="Save As"] floating enable
for_window [class="Steam"] floating enable
for_window [instance="file_progress"] sticky enable
for_window [class="^jetbrains-.+"][window_type=dialog] focus
## Keyboard Action Bindings
bindsym $mod+Shift+p move workspace to output right
bindsym $mod+Shift+q kill
bindsym $mod+Up focus up
bindsym $mod+Right focus right
bindsym $mod+Down focus down
bindsym $mod+Left focus left
bindsym $mod+p focus parent
bindsym $mod+j focus child
bindsym $mod+space focus mode_toggle
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Left move left
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+Shift+space floating toggle
bindsym $mod+Shift+s sticky toggle
bindsym XF86AudioRaiseVolume exec amixer -q set Master 5%+
bindsym XF86AudioLowerVolume exec amixer -q set Master 5%-
bindsym XF86AudioMute exec amixer -q set Master toggle
bindsym $mod+Shift+v exec --no-startup-id "amixer set Capture toggle"
bindsym XF86AudioPlay exec playerctl play-pause
bindsym XF86AudioNext exec playerctl next
bindsym XF86AudioPrev exec playerctl previous
bindsym XF86MonBrightnessUp exec light -A 5
bindsym XF86MonBrightnessDown exec light -U 5
bindsym XF86Calculator exec --no-startup-id rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}'
bindsym $mod+Print exec maim --select ~/Pictures/Screenshots/$(date +%F-%T).png
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+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+c reload
bindsym $mod+Shift+r restart
bindsym $mod+r mode "Resize"
bindsym $mod+Shift+e mode "Power"
bindsym $mod+Shift+minus move scratchpad
bindsym $mod+minus scratchpad show
## Modes
mode "Resize" {
bindsym Up resize shrink height 10 px or 10 ppt
bindsym Right resize grow width 10 px or 10 ppt
bindsym Down resize grow height 10 px or 10 ppt
bindsym Left resize shrink width 10 px or 10 ppt
bindsym Escape mode "default"
}
mode "Power" {
bindsym l exec --no-startup-id lockscreen, mode "default"
bindsym r exec --no-startup-id sudo systemctl reboot, mode "default"
bindsym s exec --no-startup-id sudo systemctl poweroff -i, mode "default"
bindsym h exec --no-startup-id lockscreen && sudo systemctl hibernate, mode "default"
bindsym u exec --no-startup-id lockscreen && sudo systemctl suspend, mode "default"
bindsym e exec --no-startup-id i3-msg exit, mode "default"
bindsym Return mode "default"
bindsym Escape mode "default"
}
exec_always --no-startup-id picom --experimental-backends --config $XDG_CONFIG_HOME/picom/picom.conf
exec_always --no-startup-id $XDG_CONFIG_HOME/polybar/launch.sh