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