diff options
author | Yigit Sever | 2019-03-21 17:32:10 +0300 |
---|---|---|
committer | Yigit Sever | 2019-03-21 17:32:10 +0300 |
commit | 840fc2fdafb9ddfae52379f2f89b632496661386 (patch) | |
tree | 1f33541b1083b26f0258deb2b4ddf898a6022fa2 /.config | |
parent | e4985a44805d8b0568ebb8d15db00ee3d7ef1dbb (diff) | |
download | dotfiles-840fc2fdafb9ddfae52379f2f89b632496661386.tar.gz dotfiles-840fc2fdafb9ddfae52379f2f89b632496661386.tar.bz2 dotfiles-840fc2fdafb9ddfae52379f2f89b632496661386.zip |
Add mobile configs
Diffstat (limited to '.config')
-rw-r--r-- | .config/conky/conky.conf##mobile.Linux.Luchs | 87 | ||||
-rw-r--r-- | .config/i3/config##mobile.Linux.Luchs | 205 | ||||
-rw-r--r-- | .config/polybar/config##mobile.Linux.Luchs | 326 |
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 @@ | |||
1 | conky.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 | |||
55 | conky.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 | ||
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 hsetroot -center ~/Dropbox/Wallpapers/mandala.jpg & | ||
14 | exec --no-startup-id xset -b | ||
15 | exec --no-startup-id xinput set-prop "ELAN1200:00 04F3:3045 Touchpad" "libinput Natural Scrolling Enabled" 1 & | ||
16 | exec --no-startup-id xinput set-prop "ELAN1200:00 04F3:3045 Touchpad" "libinput Tapping Enabled" 1 & | ||
17 | exec --no-startup-id nm-applet | ||
18 | |||
19 | #launch polybar | ||
20 | exec --no-startup-id $HOME/.config/polybar/launch.sh | ||
21 | |||
22 | # swap caps lock and escape, set keyboard layout | ||
23 | exec --no-startup-id setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape | ||
24 | |||
25 | #launch conky windows | ||
26 | exec --no-startup-id conky --daemonize -c ~/.config/conky/conky.conf | ||
27 | exec --no-startup-id conky --daemonize -c ~/.config/conky/task.conf | ||
28 | |||
29 | exec --no-startup-id clight | ||
30 | |||
31 | gaps inner 0 | ||
32 | gaps outer 0 | ||
33 | |||
34 | # Font for window titles | ||
35 | font pango:Lato 11 | ||
36 | |||
37 | # Use Mouse+$mod to drag floating windows to their wanted position | ||
38 | floating_modifier $alt | ||
39 | |||
40 | # bindings | ||
41 | |||
42 | # shoo the mouse | ||
43 | bindsym $mod+o exec --no-startup-id xdotool mousemove 1920 1080 | ||
44 | |||
45 | # i switched back to firefox can you tell | ||
46 | bindsym Ctrl+q exec --no-startup-id true | ||
47 | |||
48 | # bookmark from clipboard | ||
49 | bindsym $mod+u exec --no-startup-id ~/bin/bukuadd_c | ||
50 | |||
51 | # swap caps lock and escape, set keyboard layout | ||
52 | bindsym $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 | ||
55 | bindsym Print exec flameshot gui | ||
56 | |||
57 | # media keys | ||
58 | bindsym XF86AudioMute exec "pactl set-sink-mute @DEFAULT_SINK@ toggle" | ||
59 | bindsym XF86AudioRaiseVolume exec "pactl set-sink-volume @DEFAULT_SINK@ +5%" | ||
60 | bindsym XF86AudioLowerVolume exec "pactl set-sink-volume @DEFAULT_SINK@ -5%" | ||
61 | bindsym XF86AudioPlay exec mpc toggle | ||
62 | bindsym XF86AudioStop exec mpc stop | ||
63 | bindsym XF86AudioPrev exec /home/yigit/bin/mpvPrev | ||
64 | bindsym XF86AudioNext exec mpc next | ||
65 | |||
66 | bindsym XF86MonBrightnessUp exec xbacklight -inc 5 | ||
67 | bindsym XF86MonBrightnessDown exec xbacklight -dec 5 | ||
68 | |||
69 | # start a terminal | ||
70 | bindsym $mod+Return exec kitty | ||
71 | |||
72 | # kill focused window | ||
73 | bindsym $mod+Shift+q kill | ||
74 | |||
75 | # start rofi (a program launcher) | ||
76 | bindsym $mod+d exec rofi -show combi | ||
77 | |||
78 | # lock screen | ||
79 | exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer normal 300 'betterlockscreen -t "Welcome Back"' '' | ||
80 | |||
81 | # change focus | ||
82 | bindsym $mod+h focus left | ||
83 | bindsym $mod+j focus down | ||
84 | bindsym $mod+k focus up | ||
85 | bindsym $mod+l focus right | ||
86 | |||
87 | # move focused window | ||
88 | bindsym $mod+Shift+h move left | ||
89 | bindsym $mod+Shift+j move down | ||
90 | bindsym $mod+Shift+k move up | ||
91 | bindsym $mod+Shift+l move right | ||
92 | |||
93 | # split in horizontal orientation | ||
94 | bindsym $mod+b split h | ||
95 | |||
96 | # split in vertical orientation | ||
97 | bindsym $mod+v split v | ||
98 | |||
99 | # enter fullscreen mode for the focused container | ||
100 | bindsym $mod+f fullscreen toggle | ||
101 | |||
102 | # change container layout (stacked, tabbed, toggle split) | ||
103 | bindsym $mod+s layout stacking | ||
104 | bindsym $mod+w layout tabbed | ||
105 | bindsym $mod+e layout toggle split | ||
106 | |||
107 | # toggle tiling / floating | ||
108 | bindsym $mod+Shift+space floating toggle | ||
109 | |||
110 | # change focus between tiling / floating windows | ||
111 | bindsym $mod+space focus mode_toggle | ||
112 | |||
113 | # focus the parent container | ||
114 | bindsym $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. | ||
118 | set $ws1 "1" | ||
119 | set $ws2 "2" | ||
120 | set $ws3 "3" | ||
121 | set $ws4 "4" | ||
122 | set $ws5 "5" | ||
123 | set $ws6 "6" | ||
124 | set $ws7 "7" | ||
125 | set $ws8 "8" | ||
126 | set $ws9 "9" | ||
127 | set $ws10 "10" | ||
128 | |||
129 | # switch to workspace | ||
130 | bindsym $mod+1 workspace $ws1 | ||
131 | bindsym $mod+2 workspace $ws2 | ||
132 | bindsym $mod+3 workspace $ws3 | ||
133 | bindsym $mod+4 workspace $ws4 | ||
134 | bindsym $mod+5 workspace $ws5 | ||
135 | bindsym $mod+6 workspace $ws6 | ||
136 | bindsym $mod+7 workspace $ws7 | ||
137 | bindsym $mod+8 workspace $ws8 | ||
138 | bindsym $mod+9 workspace $ws9 | ||
139 | bindsym $mod+0 workspace $ws10 | ||
140 | |||
141 | # move focused container to workspace | ||
142 | bindsym $mod+Shift+1 move container to workspace $ws1 | ||
143 | bindsym $mod+Shift+2 move container to workspace $ws2 | ||
144 | bindsym $mod+Shift+3 move container to workspace $ws3 | ||
145 | bindsym $mod+Shift+4 move container to workspace $ws4 | ||
146 | bindsym $mod+Shift+5 move container to workspace $ws5 | ||
147 | bindsym $mod+Shift+6 move container to workspace $ws6 | ||
148 | bindsym $mod+Shift+7 move container to workspace $ws7 | ||
149 | bindsym $mod+Shift+8 move container to workspace $ws8 | ||
150 | bindsym $mod+Shift+9 move container to workspace $ws9 | ||
151 | bindsym $mod+Shift+0 move container to workspace $ws10 | ||
152 | |||
153 | # reload the configuration file | ||
154 | bindsym $mod+Shift+c reload | ||
155 | # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) | ||
156 | bindsym $mod+Shift+r restart | ||
157 | |||
158 | # resize window (you can also use the mouse for that) | ||
159 | mode "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 | ||
178 | mode "(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 | } | ||
185 | bindsym $mod+Shift+e mode "(L)ock, (S)ignout, (R)eboot, (P)oweroff" | ||
186 | |||
187 | bindsym $mod+r mode "resize" | ||
188 | |||
189 | for_window [class=".*"] border pixel 3 | ||
190 | |||
191 | assign [class="^Thunderbird$"] 8 | ||
192 | |||
193 | # class border backgr. text indicator child_border | ||
194 | client.focused #458588 #285577 #ffffff #458588 #285577 | ||
195 | client.focused_inactive #b16286 #5f676a #ffffff #484e50 #5f676a | ||
196 | client.unfocused #927374 #222222 #888888 #292d2e #222222 | ||
197 | client.urgent #2f343a #900000 #ffffff #900000 #900000 | ||
198 | client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c | ||
199 | |||
200 | client.background #ffffff | ||
201 | |||
202 | # config | ||
203 | hide_edge_borders smart | ||
204 | workspace_auto_back_and_forth yes | ||
205 | focus_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] | ||
13 | background = #0c1014 | ||
14 | background_alt = #0a3749 | ||
15 | background_modules = #fbf1c7 | ||
16 | foreground = #d3ebe9 | ||
17 | foreground_alt = #99d1ce | ||
18 | foreground_modules = #282828 | ||
19 | red = #9d0006 | ||
20 | green = #427b58 | ||
21 | yellow = #b56714 | ||
22 | blue = #458588 | ||
23 | purple = #8f3f71 | ||
24 | aqua = #689d6a | ||
25 | orange = #d65d0e | ||
26 | primary = #d26937 | ||
27 | secondary = #888ca6 | ||
28 | alert = #c23127 | ||
29 | |||
30 | [bar/top] | ||
31 | monitor = | ||
32 | width = 100% | ||
33 | height = 20 | ||
34 | offset-x = 0% | ||
35 | offset-y = 0 | ||
36 | radius = 0 | ||
37 | override-redirect = false | ||
38 | |||
39 | background = ${colors.background} | ||
40 | foreground = ${colors.foreground} | ||
41 | |||
42 | border-top-size = 0 | ||
43 | border-bottom-size = 0 | ||
44 | border-top-color = ${colors.background} | ||
45 | border-bottom-color = ${colors.background} | ||
46 | |||
47 | padding = 1 | ||
48 | module-margin = 1 | ||
49 | |||
50 | font-0 = scientifica:antialias=false;0 | ||
51 | font-1 = Lato:size=10;1 | ||
52 | font-2 = Fira Code:size=10;1 | ||
53 | font-3 = FuraCode Nerd Font Mono:size=12;2 | ||
54 | |||
55 | modules-left = i3 pulseaudio | ||
56 | modules-center = xwindow | ||
57 | modules-right = download upload date time backlight battery xkeyboard | ||
58 | |||
59 | tray-position = right | ||
60 | |||
61 | [module/backlight] | ||
62 | type = internal/xbacklight | ||
63 | |||
64 | ; Available tags: | ||
65 | ; <label> (default) | ||
66 | ; <ramp> | ||
67 | ; <bar> | ||
68 | format = <ramp><label> | ||
69 | ;format-background = ${colors.background_modules} | ||
70 | ;format-foreground = ${colors.foreground_modules} | ||
71 | |||
72 | ; Available tokens: | ||
73 | ; %percentage% (default) | ||
74 | label = %percentage%% | ||
75 | |||
76 | ; Only applies if <ramp> is used | ||
77 | ramp-font = 4 | ||
78 | ramp-background = ${colors.primary} | ||
79 | ramp-foreground = ${colors.foreground} | ||
80 | ramp-padding = 1 | ||
81 | ramp-0 = | ||
82 | ramp-1 = | ||
83 | ramp-2 = | ||
84 | ramp-3 = | ||
85 | ramp-4 = | ||
86 | |||
87 | label-padding = 1 | ||
88 | label-background = ${colors.background_modules} | ||
89 | label-foreground = ${colors.foreground_modules} | ||
90 | |||
91 | [module/battery] | ||
92 | type = internal/battery | ||
93 | battery = BAT0 | ||
94 | adapter = AC0 | ||
95 | |||
96 | time-format = %H:%M | ||
97 | |||
98 | format-charging = <animation-charging><label-charging> | ||
99 | format-discharging = <ramp-capacity><label-discharging> | ||
100 | |||
101 | ramp-capacity-background = ${colors.red} | ||
102 | ramp-capacity-foreground = ${colors.foreground} | ||
103 | ramp-capacity-padding = 1 | ||
104 | |||
105 | animation-charging-background = ${colors.green} | ||
106 | animation-charging-foreground = ${colors.foreground} | ||
107 | animation-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) | ||
119 | label-charging = %percentage%% %time% | ||
120 | label-charging-background = ${colors.background_modules} | ||
121 | label-charging-foreground = ${colors.foreground_modules} | ||
122 | label-charging-padding = 1 | ||
123 | |||
124 | ; Available tokens: | ||
125 | ; %percentage% (default) | ||
126 | ; %time% | ||
127 | ; %consumption% (shows current discharge rate in watts) | ||
128 | label-discharging = %percentage%% %time% | ||
129 | label-discharging-background = ${colors.background_modules} | ||
130 | label-discharging-foreground = ${colors.foreground_modules} | ||
131 | label-discharging-padding = 1 | ||
132 | |||
133 | ; Available tokens: | ||
134 | ; %percentage% (default) | ||
135 | label-full = full | ||
136 | |||
137 | ; Only applies if <ramp-capacity> is used | ||
138 | ramp-capacity-0 = | ||
139 | ramp-capacity-1 = | ||
140 | ramp-capacity-2 = | ||
141 | ramp-capacity-3 = | ||
142 | ramp-capacity-4 = | ||
143 | |||
144 | ; Only applies if <animation-charging> is used | ||
145 | animation-charging-0 = | ||
146 | animation-charging-1 = | ||
147 | animation-charging-2 = | ||
148 | animation-charging-3 = | ||
149 | animation-charging-4 = | ||
150 | ; Framerate in milliseconds | ||
151 | animation-charging-framerate = 750 | ||
152 | |||
153 | [module/xwindow] | ||
154 | type = internal/xwindow | ||
155 | format = <label> | ||
156 | label = %title:0:70:...% | ||
157 | |||
158 | y-offset = 0 | ||
159 | label-padding = 1 | ||
160 | label-font = 1 | ||
161 | |||
162 | label-empty = ﳓ | ||
163 | label-empty-font = 4 | ||
164 | label-empty-padding = 5 | ||
165 | |||
166 | [module/xkeyboard] | ||
167 | type = internal/xkeyboard | ||
168 | blacklist-0 = num lock | ||
169 | blacklist-1 = scroll lock | ||
170 | |||
171 | format = <label-layout> <label-indicator> | ||
172 | format-spacing = 0 | ||
173 | |||
174 | format-prefix = | ||
175 | format-prefix-padding = 1 | ||
176 | format-prefix-background = ${colors.blue} | ||
177 | format-prefix-foreground = ${colors.foreground} | ||
178 | format-prefix-font = 4 | ||
179 | |||
180 | label-layout = %layout% | ||
181 | label-layout-padding = 1 | ||
182 | label-layout-background = ${colors.background_modules} | ||
183 | label-layout-foreground = ${colors.foreground_modules} | ||
184 | |||
185 | label-indicator-padding = 2 | ||
186 | label-indicator-margin = | ||
187 | label-indicator-background = ${colors.alert} | ||
188 | |||
189 | [module/i3] | ||
190 | type = internal/i3 | ||
191 | format = <label-state> <label-mode> | ||
192 | index-sort = true | ||
193 | wrapping-scroll = false | ||
194 | strip-wsnumbers = true | ||
195 | |||
196 | label-mode-background = ${colors.background_modules} | ||
197 | label-mode-foreground = ${colors.foreground_modules} | ||
198 | label-mode-padding = 2 | ||
199 | |||
200 | label-focused = %name% | ||
201 | label-focused-background = ${colors.red} | ||
202 | label-focused-foreground = ${colors.background_modules} | ||
203 | label-focused-padding = 1 | ||
204 | |||
205 | label-unfocused = %name% | ||
206 | label-unfocused-background = ${colors.background_modules} | ||
207 | label-unfocused-foreground = ${colors.foreground_modules} | ||
208 | label-unfocused-padding = 1 | ||
209 | |||
210 | label-visible = %name% | ||
211 | label-visible-background = ${colors.background_modules} | ||
212 | label-visible-foreground = ${colors.foreground_modules} | ||
213 | label-visible-padding = 1 | ||
214 | |||
215 | label-urgent = %index% | ||
216 | label-urgent-background = ${colors.alert} | ||
217 | label-urgent-foreground = ${colors.foreground_modules} | ||
218 | label-urgent-padding = 1 | ||
219 | |||
220 | [module/download] | ||
221 | type = internal/network | ||
222 | interface = wlp2s0 | ||
223 | interval = 3.0 | ||
224 | |||
225 | format-connected = <label-connected> | ||
226 | |||
227 | format-connected-prefix = | ||
228 | format-connected-prefix-padding = 1 | ||
229 | format-connected-prefix-background = ${colors.green} | ||
230 | format-connected-prefix-foreground = ${colors.foreground} | ||
231 | |||
232 | label-connected = %downspeed% | ||
233 | label-connected-background = ${colors.background_modules} | ||
234 | label-connected-foreground = ${colors.foreground_modules} | ||
235 | label-connected-padding = 1 | ||
236 | |||
237 | format-disconnected = <label-disconnected> | ||
238 | label-disconnected = %ifname% disconnected | ||
239 | |||
240 | [module/upload] | ||
241 | type = internal/network | ||
242 | interface = wlp2s0 | ||
243 | interval = 3.0 | ||
244 | |||
245 | format-connected = <label-connected> | ||
246 | |||
247 | format-connected-prefix = | ||
248 | format-connected-prefix-padding = 1 | ||
249 | format-connected-prefix-background = ${colors.yellow} | ||
250 | format-connected-prefix-foreground = ${colors.foreground} | ||
251 | |||
252 | label-connected = %upspeed% | ||
253 | label-connected-background = ${colors.background_modules} | ||
254 | label-connected-foreground = ${colors.foreground_modules} | ||
255 | label-connected-padding = 1 | ||
256 | |||
257 | [module/date] | ||
258 | type = internal/date | ||
259 | interval = 1 | ||
260 | |||
261 | date = %Y-%m-%d %A | ||
262 | label = %date% | ||
263 | format = <label> | ||
264 | |||
265 | format-prefix = | ||
266 | format-prefix-background = ${colors.orange} | ||
267 | format-prefix-foreground = ${colors.foreground} | ||
268 | format-prefix-font = 4 | ||
269 | format-prefix-padding = 1 | ||
270 | |||
271 | label-background = ${colors.background_modules} | ||
272 | label-foreground = ${colors.foreground_modules} | ||
273 | label-padding = 1 | ||
274 | |||
275 | [module/time] | ||
276 | type = internal/date | ||
277 | interval = 1 | ||
278 | |||
279 | time = %H:%M | ||
280 | label = %time% | ||
281 | format = <label> | ||
282 | |||
283 | format-prefix = | ||
284 | format-prefix-background = ${colors.secondary} | ||
285 | format-prefix-foreground = ${colors.foreground} | ||
286 | format-prefix-font = 4 | ||
287 | format-prefix-padding = 1 | ||
288 | |||
289 | label-background = ${colors.background_modules} | ||
290 | label-foreground = ${colors.foreground_modules} | ||
291 | label-padding = 1 | ||
292 | |||
293 | [module/pulseaudio] | ||
294 | type = internal/pulseaudio | ||
295 | interval = 5 | ||
296 | |||
297 | format-volume = <label-volume> | ||
298 | |||
299 | format-volume-prefix = ♫ | ||
300 | format-volume-prefix-background = ${colors.purple} | ||
301 | format-volume-prefix-foreground = ${colors.background_modules} | ||
302 | format-volume-prefix-font = 4 | ||
303 | format-volume-prefix-padding = 1 | ||
304 | |||
305 | label-volume = %percentage% | ||
306 | label-volume-background = ${colors.background_modules} | ||
307 | label-volume-foreground = ${colors.foreground_modules} | ||
308 | label-volume-padding = 1 | ||
309 | |||
310 | label-muted = | ||
311 | label-muted-background = ${colors.purple} | ||
312 | label-muted-foreground = ${colors.foreground} | ||
313 | label-muted-padding = 2 | ||
314 | |||
315 | [settings] | ||
316 | screenchange-reload = true | ||
317 | compositing-background = source | ||
318 | compositing-foreground = source | ||
319 | compositing-border = over | ||
320 | pseudo-transparency = false | ||
321 | |||
322 | [global/wm] | ||
323 | margin-top = 5 | ||
324 | margin-bottom = 5 | ||
325 | |||
326 | ; vim:ft=dosini | ||