diff options
Diffstat (limited to '.config/i3/config##mobile.Linux.Luchs')
-rw-r--r-- | .config/i3/config##mobile.Linux.Luchs | 207 |
1 files changed, 207 insertions, 0 deletions
diff --git a/.config/i3/config##mobile.Linux.Luchs b/.config/i3/config##mobile.Linux.Luchs new file mode 100644 index 0000000..8929365 --- /dev/null +++ b/.config/i3/config##mobile.Linux.Luchs | |||
@@ -0,0 +1,207 @@ | |||
1 | # i3 config file (v4) | ||
2 | # Please see https://i3wm.org/docs/userguide.html for a complete reference! | ||
3 | |||
4 | # set modifiers | ||
5 | set $mod Mod4 | ||
6 | set $alt Mod1 | ||
7 | |||
8 | #autostart | ||
9 | exec --no-startup-id xsettingsd & | ||
10 | exec --no-startup-id compton -b & | ||
11 | exec --no-startup-id dropbox & | ||
12 | exec --no-startup-id copyq & | ||
13 | exec --no-startup-id xset -b | ||
14 | exec --no-startup-id xinput set-prop "ELAN1200:00 04F3:3045 Touchpad" "libinput Natural Scrolling Enabled" 1 & | ||
15 | exec --no-startup-id xinput set-prop "ELAN1200:00 04F3:3045 Touchpad" "libinput Tapping Enabled" 1 & | ||
16 | exec --no-startup-id nm-applet | ||
17 | exec --no-startup-id ~/.fehbg | ||
18 | |||
19 | # start the screensaver, '' at the end is not a typo | ||
20 | exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer normal 300 'betterlockscreen -t "Welcome Back"' '' | ||
21 | |||
22 | #launch polybar | ||
23 | exec --no-startup-id $HOME/.config/polybar/launch.sh | ||
24 | |||
25 | # swap caps lock and escape, set keyboard layout | ||
26 | exec --no-startup-id setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape | ||
27 | |||
28 | #launch conky windows | ||
29 | exec --no-startup-id conky --daemonize -c ~/.config/conky/conky.conf | ||
30 | exec --no-startup-id conky --daemonize -c ~/.config/conky/task.conf | ||
31 | |||
32 | exec --no-startup-id clight | ||
33 | |||
34 | gaps inner 0 | ||
35 | gaps outer 0 | ||
36 | |||
37 | # Font for window titles | ||
38 | font pango:Lato 11 | ||
39 | |||
40 | # Use Mouse+$mod to drag floating windows to their wanted position | ||
41 | floating_modifier $alt | ||
42 | |||
43 | # bindings | ||
44 | |||
45 | # shoo the mouse | ||
46 | bindsym $mod+o exec --no-startup-id xdotool mousemove 1920 1080 | ||
47 | |||
48 | # i switched back to firefox can you tell | ||
49 | bindsym Ctrl+q exec --no-startup-id true | ||
50 | |||
51 | # bookmark from clipboard | ||
52 | bindsym $mod+u exec --no-startup-id ~/bin/bukuadd_c | ||
53 | |||
54 | # add taskwarrior/gtd calendar item | ||
55 | bindsym $mod+Shift+t --no-startup-id ~/bin/td | ||
56 | |||
57 | # swap caps lock and escape, set keyboard layout, 35 is ]/ü (layout agnostic) | ||
58 | bindcode $mod+35 exec --no-startup-id "setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape" | ||
59 | |||
60 | # use flameshot with print screen | ||
61 | bindsym Print exec flameshot gui | ||
62 | |||
63 | # media keys | ||
64 | bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" | ||
65 | bindsym XF86AudioLowerVolume exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" | ||
66 | bindsym XF86AudioMute exec --no-startup-id "amixer set Master toggle && if amixer get Master | grep -Fq '[off]'; then volnoti-show -m; else volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1); fi" | ||
67 | bindsym XF86AudioPlay exec mpc toggle | ||
68 | bindsym XF86AudioPrev exec /home/yigit/bin/mpcPrevSong.sh | ||
69 | bindsym XF86AudioNext exec mpc next | ||
70 | |||
71 | bindsym XF86MonBrightnessUp exec xbacklight -inc 5 | ||
72 | bindsym XF86MonBrightnessDown exec xbacklight -dec 5 | ||
73 | |||
74 | # start a terminal | ||
75 | bindsym $mod+Return exec kitty | ||
76 | |||
77 | # kill focused window | ||
78 | bindsym $mod+Shift+q kill | ||
79 | |||
80 | # start rofi (a program launcher) | ||
81 | bindsym $mod+d exec rofi -show combi | ||
82 | |||
83 | # change focus | ||
84 | bindsym $mod+h focus left | ||
85 | bindsym $mod+j focus down | ||
86 | bindsym $mod+k focus up | ||
87 | bindsym $mod+l focus right | ||
88 | |||
89 | # move focused window | ||
90 | bindsym $mod+Shift+h move left | ||
91 | bindsym $mod+Shift+j move down | ||
92 | bindsym $mod+Shift+k move up | ||
93 | bindsym $mod+Shift+l move right | ||
94 | |||
95 | # split in horizontal orientation | ||
96 | bindsym $mod+b split h | ||
97 | |||
98 | # split in vertical orientation | ||
99 | bindsym $mod+v split v | ||
100 | |||
101 | # enter fullscreen mode for the focused container | ||
102 | bindsym $mod+f fullscreen toggle | ||
103 | |||
104 | # change container layout (stacked, tabbed, toggle split) | ||
105 | bindsym $mod+s layout stacking | ||
106 | bindsym $mod+w layout tabbed | ||
107 | bindsym $mod+e layout toggle split | ||
108 | |||
109 | # toggle tiling / floating | ||
110 | bindsym $mod+Shift+space floating toggle | ||
111 | |||
112 | # change focus between tiling / floating windows | ||
113 | bindsym $mod+space focus mode_toggle | ||
114 | |||
115 | # focus the parent container | ||
116 | bindsym $mod+a focus parent | ||
117 | |||
118 | # Define names for default workspaces for which we configure key bindings later on. | ||
119 | # We use variables to avoid repeating the names in multiple places. | ||
120 | set $ws1 "1" | ||
121 | set $ws2 "2" | ||
122 | set $ws3 "3" | ||
123 | set $ws4 "4" | ||
124 | set $ws5 "5" | ||
125 | set $ws6 "6" | ||
126 | set $ws7 "7" | ||
127 | set $ws8 "8" | ||
128 | set $ws9 "9" | ||
129 | set $ws10 "10" | ||
130 | |||
131 | # switch to workspace | ||
132 | bindsym $mod+1 workspace $ws1 | ||
133 | bindsym $mod+2 workspace $ws2 | ||
134 | bindsym $mod+3 workspace $ws3 | ||
135 | bindsym $mod+4 workspace $ws4 | ||
136 | bindsym $mod+5 workspace $ws5 | ||
137 | bindsym $mod+6 workspace $ws6 | ||
138 | bindsym $mod+7 workspace $ws7 | ||
139 | bindsym $mod+8 workspace $ws8 | ||
140 | bindsym $mod+9 workspace $ws9 | ||
141 | bindsym $mod+0 workspace $ws10 | ||
142 | |||
143 | # move focused container to workspace | ||
144 | bindsym $mod+Shift+1 move container to workspace $ws1 | ||
145 | bindsym $mod+Shift+2 move container to workspace $ws2 | ||
146 | bindsym $mod+Shift+3 move container to workspace $ws3 | ||
147 | bindsym $mod+Shift+4 move container to workspace $ws4 | ||
148 | bindsym $mod+Shift+5 move container to workspace $ws5 | ||
149 | bindsym $mod+Shift+6 move container to workspace $ws6 | ||
150 | bindsym $mod+Shift+7 move container to workspace $ws7 | ||
151 | bindsym $mod+Shift+8 move container to workspace $ws8 | ||
152 | bindsym $mod+Shift+9 move container to workspace $ws9 | ||
153 | bindsym $mod+Shift+0 move container to workspace $ws10 | ||
154 | |||
155 | # reload the configuration file | ||
156 | bindsym $mod+Shift+c reload | ||
157 | # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) | ||
158 | bindsym $mod+Shift+r restart | ||
159 | |||
160 | # resize window (you can also use the mouse for that) | ||
161 | mode "resize" { | ||
162 | # These bindings trigger as soon as you enter the resize mode | ||
163 | |||
164 | # Pressing left will shrink the window’s width. | ||
165 | # Pressing right will grow the window’s width. | ||
166 | # Pressing up will shrink the window’s height. | ||
167 | # Pressing down will grow the window’s height. | ||
168 | bindsym h resize shrink width 10 px or 10 ppt | ||
169 | bindsym j resize grow height 10 px or 10 ppt | ||
170 | bindsym k resize shrink height 10 px or 10 ppt | ||
171 | bindsym l resize grow width 10 px or 10 ppt | ||
172 | |||
173 | # back to normal: Enter or Escape or $mod+r | ||
174 | bindsym Return mode "default" | ||
175 | bindsym Escape mode "default" | ||
176 | bindsym $mod+r mode "default" | ||
177 | } | ||
178 | |||
179 | # session | ||
180 | mode " (L)ock (S)ignout (R)eboot (P)oweroff" { | ||
181 | bindsym $mod+l exec betterlockscreen -l dimblur -t "Welcome back" | ||
182 | bindsym $mod+r exec systemctl reboot | ||
183 | bindsym $mod+p exec systemctl poweroff | ||
184 | bindsym $mod+s exit | ||
185 | bindcode 66 mode "default" | ||
186 | } | ||
187 | bindsym $mod+Shift+e mode " (L)ock (S)ignout (R)eboot (P)oweroff" | ||
188 | |||
189 | bindsym $mod+r mode "resize" | ||
190 | |||
191 | for_window [class=".*"] border pixel 3 | ||
192 | |||
193 | assign [class="^Thunderbird$"] 8 | ||
194 | |||
195 | # class border backgr. text indicator child_border | ||
196 | client.focused #458588 #285577 #ffffff #458588 #285577 | ||
197 | client.focused_inactive #b16286 #5f676a #ffffff #484e50 #5f676a | ||
198 | client.unfocused #927374 #222222 #888888 #292d2e #222222 | ||
199 | client.urgent #2f343a #900000 #ffffff #900000 #900000 | ||
200 | client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c | ||
201 | |||
202 | client.background #ffffff | ||
203 | |||
204 | # config | ||
205 | hide_edge_borders smart | ||
206 | workspace_auto_back_and_forth yes | ||
207 | focus_follows_mouse no | ||