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