summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.config/conky/conky.conf##mobile.Linux.Luchs87
-rw-r--r--.config/i3/config##mobile.Linux.Luchs205
-rw-r--r--.config/polybar/config##mobile.Linux.Luchs326
3 files changed, 618 insertions, 0 deletions
diff --git a/.config/conky/conky.conf##mobile.Linux.Luchs b/.config/conky/conky.conf##mobile.Linux.Luchs
new file mode 100644
index 0000000..0b2b90d
--- /dev/null
+++ b/.config/conky/conky.conf##mobile.Linux.Luchs
@@ -0,0 +1,87 @@
1conky.config = {
2 alignment = 'top_right',
3 background = true,
4
5 draw_borders = false,
6 draw_graph_borders = true,
7 border_width = 1,
8 border_outer_margin = 5,
9 stippled_borders = 6,
10
11 cpu_avg_samples = 2,
12 default_color = 'white',
13 default_outline_color = '#555',
14 default_shade_color = 'black',
15 draw_outline = false,
16 draw_shades = true,
17 use_xft = true,
18 font = 'Fira Code Medium:size=9',
19
20 gap_x = 15,
21 gap_y = 35,
22
23 minimum_height = 5,
24 minimum_width = 5,
25 net_avg_samples = 2,
26 no_buffers = true,
27 out_to_console = false,
28 out_to_stderr = false,
29 extra_newline = false,
30 own_window = true,
31 own_window_class = 'Conky',
32 own_window_type = 'override',
33 own_window_transparent = true,
34 own_window_hints = 'below',
35 short_units = true,
36 update_interval = 1.0,
37 uppercase = false,
38 use_spacer = 'left',
39 pad_percents = 2,
40 show_graph_scale = false,
41 show_graph_range = false,
42 double_buffer = true,
43
44 color0 = '#e03031',
45 color2 = '#98971a',
46 color1 = '#6495ed',
47 color3 = '#6497b1',
48 color4 = '#e03031',
49 color5 = '#22475b',
50 color6 = '#6497b1',
51 color7 = '#e03031',
52 color8 = '#03396c'
53}
54
55conky.text = [[
56${color}${alignc}$sysname $kernel on $machine
57${color}${alignc}${exec whoami} @ $nodename
58${color0}$hr${color}
59${alignc}${color1}date ${color}${time %d %B %A}
60${color1}uptime${color} $uptime${alignr}${color1}time ${color}${time %k:%M:%S}
61${color0}temperatures $stippled_hr
62${color1}cpu ${color}${platform coretemp.0/hwmon/hwmon2 temp 1}°C${alignr} ${color1}mobo ${color}${acpitemp}°C
63${color0}processors $stippled_hr${color}
64${cpubar cpu1 6,45} ${freq_g 1}GHz ${cpu cpu1}% ${alignr}${cpubar cpu2 6,45} ${freq_g 2}GHz${alignr}${cpu cpu2}%
65${color0}load $stippled_hr${color}
66${color1}cpu${color} ${cpubar cpu0 6, 120}${alignr}${freq_g}GHz ${cpu cpu0}%
67${color1}ram${color} ${membar 6, 120}${alignr}$mem/$memmax $memperc%
68${color1}swp${color} ${swapbar 6,120}${alignr}$swap/$swapmax $swapperc%
69${color0}filesystem $stippled_hr${color}
70${color1}~ ${color}${FS_BAR 6, 130 /home}${alignr}${fs_used /home} /${fs_size /home} ${color}
71${color0}networking $stippled_hr${color}
72${color1}down${color} ${downspeed enp1s0}/s${alignr}${color1}up${color} ${upspeed enp1s0}/s
73${color}${alignc}${downspeedgraph enp1s0 32,150 2980b9 e74c3c -t}${color} ${upspeedgraph enp1s0 32,150 2980b9 e74c3c -t}
74${color1}address${color} ${addr enp1s0}${alignr}updates ${execi 3600 checkupdates | wc -l}
75${color1}inbound${color} ${tcp_portmon 1 32767 count}${color1} outbound${color} ${tcp_portmon 32768 61000 count}${alignr}${color1}all${color} ${tcp_portmon 1 65535 count}
76${color0}processes $stippled_hr${color}
77${color1}${alignc}name pid cpu% mem%
78${color}${alignc} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
79${color}${alignc} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
80${color}${alignc} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
81${color0}forecast $stippled_hr${color}
82${voffset 05}${texeci 1800 curl -s wttr.in/ank | sed -n '3,7{s/\d27\[[0-9;]*m//g;s/^..//;s/ *$//;p}'}
83${color0}calendar $stippled_hr${color}
84${voffset 05}${execp TODAY=`date +%_d`; cal | tail -n+2 | sed -e '1 s:.*:\${color3}&\${color6}:' -e '1 s:'"$(date +%a |cut -c 1-2)"':\${color4}&\${color5}:' -e '0,/'"$TODAY"'/{s/'"$TODAY"'/\${color7}'"$TODAY"'\${color8}/}' | sed s/^/'${alignc}'/}
85${color0}latest xkcd $stippled_hr${color}
86${voffset 05}${alignc}${rss https://xkcd.com/rss.xml 10 item_title 0}
87]]
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
diff --git a/.config/polybar/config##mobile.Linux.Luchs b/.config/polybar/config##mobile.Linux.Luchs
new file mode 100644
index 0000000..ca43284
--- /dev/null
+++ b/.config/polybar/config##mobile.Linux.Luchs
@@ -0,0 +1,326 @@
1;==========================================================
2;
3; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
4; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
5; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
6; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
7; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
8; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
9;
10;==========================================================
11
12[colors]
13background = #0c1014
14background_alt = #0a3749
15background_modules = #fbf1c7
16foreground = #d3ebe9
17foreground_alt = #99d1ce
18foreground_modules = #282828
19red = #9d0006
20green = #427b58
21yellow = #b56714
22blue = #458588
23purple = #8f3f71
24aqua = #689d6a
25orange = #d65d0e
26primary = #d26937
27secondary = #888ca6
28alert = #c23127
29
30[bar/top]
31monitor =
32width = 100%
33height = 20
34offset-x = 0%
35offset-y = 0
36radius = 0
37override-redirect = false
38
39background = ${colors.background}
40foreground = ${colors.foreground}
41
42border-top-size = 0
43border-bottom-size = 0
44border-top-color = ${colors.background}
45border-bottom-color = ${colors.background}
46
47padding = 1
48module-margin = 1
49
50font-0 = scientifica:antialias=false;0
51font-1 = Lato:size=10;1
52font-2 = Fira Code:size=10;1
53font-3 = FuraCode Nerd Font Mono:size=12;2
54
55modules-left = i3 pulseaudio
56modules-center = xwindow
57modules-right = download upload date time backlight battery xkeyboard
58
59tray-position = right
60
61[module/backlight]
62type = internal/xbacklight
63
64; Available tags:
65; <label> (default)
66; <ramp>
67; <bar>
68format = <ramp><label>
69;format-background = ${colors.background_modules}
70;format-foreground = ${colors.foreground_modules}
71
72; Available tokens:
73; %percentage% (default)
74label = %percentage%%
75
76; Only applies if <ramp> is used
77ramp-font = 4
78ramp-background = ${colors.primary}
79ramp-foreground = ${colors.foreground}
80ramp-padding = 1
81ramp-0 = 
82ramp-1 = 
83ramp-2 = 
84ramp-3 = 
85ramp-4 = 
86
87label-padding = 1
88label-background = ${colors.background_modules}
89label-foreground = ${colors.foreground_modules}
90
91[module/battery]
92type = internal/battery
93battery = BAT0
94adapter = AC0
95
96time-format = %H:%M
97
98format-charging = <animation-charging><label-charging>
99format-discharging = <ramp-capacity><label-discharging>
100
101ramp-capacity-background = ${colors.red}
102ramp-capacity-foreground = ${colors.foreground}
103ramp-capacity-padding = 1
104
105animation-charging-background = ${colors.green}
106animation-charging-foreground = ${colors.foreground}
107animation-charging-padding = 1
108
109; Available tags:
110; <label-full> (default)
111; <bar-capacity>
112; <ramp-capacity>
113;format-full = <ramp-capacity> <label-full>
114
115; Available tokens:
116; %percentage% (default)
117; %time%
118; %consumption% (shows current charge rate in watts)
119label-charging = %percentage%% %time%
120label-charging-background = ${colors.background_modules}
121label-charging-foreground = ${colors.foreground_modules}
122label-charging-padding = 1
123
124; Available tokens:
125; %percentage% (default)
126; %time%
127; %consumption% (shows current discharge rate in watts)
128label-discharging = %percentage%% %time%
129label-discharging-background = ${colors.background_modules}
130label-discharging-foreground = ${colors.foreground_modules}
131label-discharging-padding = 1
132
133; Available tokens:
134; %percentage% (default)
135label-full = full
136
137; Only applies if <ramp-capacity> is used
138ramp-capacity-0 = 
139ramp-capacity-1 = 
140ramp-capacity-2 = 
141ramp-capacity-3 = 
142ramp-capacity-4 = 
143
144; Only applies if <animation-charging> is used
145animation-charging-0 = 
146animation-charging-1 = 
147animation-charging-2 = 
148animation-charging-3 = 
149animation-charging-4 = 
150; Framerate in milliseconds
151animation-charging-framerate = 750
152
153[module/xwindow]
154type = internal/xwindow
155format = <label>
156label = %title:0:70:...%
157
158y-offset = 0
159label-padding = 1
160label-font = 1
161
162label-empty = ﳓ
163label-empty-font = 4
164label-empty-padding = 5
165
166[module/xkeyboard]
167type = internal/xkeyboard
168blacklist-0 = num lock
169blacklist-1 = scroll lock
170
171format = <label-layout> <label-indicator>
172format-spacing = 0
173
174format-prefix = 
175format-prefix-padding = 1
176format-prefix-background = ${colors.blue}
177format-prefix-foreground = ${colors.foreground}
178format-prefix-font = 4
179
180label-layout = %layout%
181label-layout-padding = 1
182label-layout-background = ${colors.background_modules}
183label-layout-foreground = ${colors.foreground_modules}
184
185label-indicator-padding = 2
186label-indicator-margin =
187label-indicator-background = ${colors.alert}
188
189[module/i3]
190type = internal/i3
191format = <label-state> <label-mode>
192index-sort = true
193wrapping-scroll = false
194strip-wsnumbers = true
195
196label-mode-background = ${colors.background_modules}
197label-mode-foreground = ${colors.foreground_modules}
198label-mode-padding = 2
199
200label-focused = %name%
201label-focused-background = ${colors.red}
202label-focused-foreground = ${colors.background_modules}
203label-focused-padding = 1
204
205label-unfocused = %name%
206label-unfocused-background = ${colors.background_modules}
207label-unfocused-foreground = ${colors.foreground_modules}
208label-unfocused-padding = 1
209
210label-visible = %name%
211label-visible-background = ${colors.background_modules}
212label-visible-foreground = ${colors.foreground_modules}
213label-visible-padding = 1
214
215label-urgent = %index%
216label-urgent-background = ${colors.alert}
217label-urgent-foreground = ${colors.foreground_modules}
218label-urgent-padding = 1
219
220[module/download]
221type = internal/network
222interface = wlp2s0
223interval = 3.0
224
225format-connected = <label-connected>
226
227format-connected-prefix = 
228format-connected-prefix-padding = 1
229format-connected-prefix-background = ${colors.green}
230format-connected-prefix-foreground = ${colors.foreground}
231
232label-connected = %downspeed%
233label-connected-background = ${colors.background_modules}
234label-connected-foreground = ${colors.foreground_modules}
235label-connected-padding = 1
236
237format-disconnected = <label-disconnected>
238label-disconnected = %ifname% disconnected 
239
240[module/upload]
241type = internal/network
242interface = wlp2s0
243interval = 3.0
244
245format-connected = <label-connected>
246
247format-connected-prefix = 
248format-connected-prefix-padding = 1
249format-connected-prefix-background = ${colors.yellow}
250format-connected-prefix-foreground = ${colors.foreground}
251
252label-connected = %upspeed%
253label-connected-background = ${colors.background_modules}
254label-connected-foreground = ${colors.foreground_modules}
255label-connected-padding = 1
256
257[module/date]
258type = internal/date
259interval = 1
260
261date = %Y-%m-%d %A
262label = %date%
263format = <label>
264
265format-prefix = 
266format-prefix-background = ${colors.orange}
267format-prefix-foreground = ${colors.foreground}
268format-prefix-font = 4
269format-prefix-padding = 1
270
271label-background = ${colors.background_modules}
272label-foreground = ${colors.foreground_modules}
273label-padding = 1
274
275[module/time]
276type = internal/date
277interval = 1
278
279time = %H:%M
280label = %time%
281format = <label>
282
283format-prefix = 
284format-prefix-background = ${colors.secondary}
285format-prefix-foreground = ${colors.foreground}
286format-prefix-font = 4
287format-prefix-padding = 1
288
289label-background = ${colors.background_modules}
290label-foreground = ${colors.foreground_modules}
291label-padding = 1
292
293[module/pulseaudio]
294type = internal/pulseaudio
295interval = 5
296
297format-volume = <label-volume>
298
299format-volume-prefix = ♫
300format-volume-prefix-background = ${colors.purple}
301format-volume-prefix-foreground = ${colors.background_modules}
302format-volume-prefix-font = 4
303format-volume-prefix-padding = 1
304
305label-volume = %percentage%
306label-volume-background = ${colors.background_modules}
307label-volume-foreground = ${colors.foreground_modules}
308label-volume-padding = 1
309
310label-muted = 
311label-muted-background = ${colors.purple}
312label-muted-foreground = ${colors.foreground}
313label-muted-padding = 2
314
315[settings]
316screenchange-reload = true
317compositing-background = source
318compositing-foreground = source
319compositing-border = over
320pseudo-transparency = false
321
322[global/wm]
323margin-top = 5
324margin-bottom = 5
325
326; vim:ft=dosini