diff options
-rw-r--r-- | .config/conky/conky.conf##h.luchs | 90 | ||||
-rw-r--r-- | .config/i3/config##h.luchs | 232 | ||||
-rw-r--r-- | .config/picom/picom.conf##h.luchs | 69 | ||||
-rw-r--r-- | .config/polybar/config.ini##h.luchs | 293 |
4 files changed, 0 insertions, 684 deletions
diff --git a/.config/conky/conky.conf##h.luchs b/.config/conky/conky.conf##h.luchs deleted file mode 100644 index f9d1307..0000000 --- a/.config/conky/conky.conf##h.luchs +++ /dev/null | |||
@@ -1,90 +0,0 @@ | |||
1 | conky.config = { | ||
2 | alignment = 'top_left', | ||
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 = 'FuraCode Nerd Font Mono:size=9', | ||
19 | |||
20 | gap_x = 15, | ||
21 | gap_y = 45, | ||
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_hints = "undecorated,below,sticky,skip_taskbar,skip_pager", | ||
31 | own_window_transparent = false, | ||
32 | own_window_argb_visual = true, | ||
33 | own_window_argb_value = 200, | ||
34 | own_window_colour = '282828', | ||
35 | own_window = true, | ||
36 | own_window_class = 'Conky', | ||
37 | own_window_type = "override", | ||
38 | short_units = true, | ||
39 | update_interval = 1.0, | ||
40 | uppercase = false, | ||
41 | use_spacer = 'left', | ||
42 | pad_percents = 2, | ||
43 | show_graph_scale = false, | ||
44 | show_graph_range = false, | ||
45 | double_buffer = true, | ||
46 | |||
47 | color0 = '#e03031', | ||
48 | color2 = '#98971a', | ||
49 | color1 = '#6495ed', | ||
50 | color3 = '#6497b1', | ||
51 | color4 = '#e03031', | ||
52 | color5 = '#22475b', | ||
53 | color6 = '#6497b1', | ||
54 | color7 = '#e03031', | ||
55 | color8 = '#03396c' | ||
56 | } | ||
57 | |||
58 | conky.text = [[ | ||
59 | ${color4}${alignr} | ||
60 | ${color}${alignc}$sysname $kernel on $machine | ||
61 | ${color}${alignc}${exec whoami} @ $nodename | ||
62 | ${color0}$hr${color} | ||
63 | ${alignc}${color1}date ${color}${time %d %B %A} | ||
64 | ${color1}uptime${color} $uptime${alignr}${color1}time ${color}${time %k:%M:%S} | ||
65 | ${color0}temperatures $stippled_hr | ||
66 | ${color1}cpu ${color}${platform coretemp.0/hwmon/hwmon2 temp 1}°C${alignr} ${color1}mobo ${color}${acpitemp}°C | ||
67 | ${color0}processors $stippled_hr${color} | ||
68 | ${cpubar cpu1 6,45} ${freq_g 1}GHz ${cpu cpu1}% ${alignr}${cpubar cpu2 6,45} ${freq_g 2}GHz${alignr}${cpu cpu2}% | ||
69 | ${color0}load $stippled_hr${color} | ||
70 | ${color1}cpu${color} ${cpubar cpu0 6, 120}${alignr}${freq_g}GHz ${cpu cpu0}% | ||
71 | ${color1}ram${color} ${membar 6, 120}${alignr}$mem/$memmax $memperc% | ||
72 | ${color1}swp${color} ${swapbar 6,120}${alignr}$swap/$swapmax $swapperc% | ||
73 | ${color0}filesystem $stippled_hr${color} | ||
74 | ${color1}~ ${color}${FS_BAR 6, 130 /home}${alignr}${fs_used /home} /${fs_size /home} ${color} | ||
75 | ${color0}networking $stippled_hr${color} | ||
76 | ${color1}down${color} ${downspeed enp1s0}/s${alignr}${color1}up${color} ${upspeed enp1s0}/s | ||
77 | ${color}${alignc}${downspeedgraph enp1s0 32,150 2980b9 e74c3c -t}${color} ${upspeedgraph enp1s0 32,150 2980b9 e74c3c -t} | ||
78 | ${color1}address${color} ${addr enp1s0}${alignr}updates ${execi 3600 checkupdates | wc -l} | ||
79 | ${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} | ||
80 | ${color0}processes $stippled_hr${color} | ||
81 | ${color1}${alignc}name pid cpu% mem% | ||
82 | ${color}${alignc} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} | ||
83 | ${color}${alignc} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2} | ||
84 | ${color}${alignc} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4} | ||
85 | ${color0}forecast $stippled_hr${color} | ||
86 | ${voffset 05}${texeci 1800 curl -s wttr.in/ank | sed -n '3,7{s/\d27\[[0-9;]*m//g;s/^..//;s/ *$//;p}'} | ||
87 | ${color0}calendar $stippled_hr${color} | ||
88 | ${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}'/} | ||
89 | ${color4}${alignr} | ||
90 | ]] | ||
diff --git a/.config/i3/config##h.luchs b/.config/i3/config##h.luchs deleted file mode 100644 index 0c9a999..0000000 --- a/.config/i3/config##h.luchs +++ /dev/null | |||
@@ -1,232 +0,0 @@ | |||
1 | # vim: filetype=i3config | ||
2 | # https://i3wm.org/docs/userguide.html | ||
3 | |||
4 | # set modifiers | ||
5 | set $mod Mod4 | ||
6 | set $alt Mod1 | ||
7 | |||
8 | # use mouse+$mod to drag floating windows to their wanted position | ||
9 | floating_modifier $alt | ||
10 | |||
11 | ## autostart | ||
12 | # exec --no-startup-id xsettingsd & | ||
13 | exec --no-startup-id picom -b | ||
14 | exec --no-startup-id flashfocus & | ||
15 | exec --no-startup-id nextcloud & | ||
16 | exec --no-startup-id copyq & | ||
17 | exec --no-startup-id clight & | ||
18 | exec --no-startup-id nm-applet & | ||
19 | exec --no-startup-id udiskie --automount --file-manager pcmanfm --tray --notify & | ||
20 | exec --no-startup-id /usr/lib/pam_kwallet_init | ||
21 | exec --no-startup-id remind -z -k'dunstify -i "calendar" "⏰ reminder!" "%s" &' ~/.reminders & | ||
22 | exec --no-startup-id /home/yigit/.local/bin/pulse-volume-watcher.py | xob -m 80 & | ||
23 | exec --no-startup-id $HOME/.config/polybar/launch.sh & | ||
24 | exec --no-startup-id ~/.fehbg & | ||
25 | |||
26 | exec --no-startup-id gebaard -b & | ||
27 | |||
28 | # swap caps lock and escape, set keyboard layout | ||
29 | exec --no-startup-id setxkbmap -model pc105 -layout us -variant colemak -option caps:backspace | ||
30 | |||
31 | # tap ctrl to esc, hold ctrl to ctrl | ||
32 | exec --no-startup-id xcape -e 'Control_L=Escape' & | ||
33 | |||
34 | # disable screensaver, beep and power saving | ||
35 | exec --no-startup-id xset -dpms & | ||
36 | exec --no-startup-id xset s off & | ||
37 | exec --no-startup-id xset -b & | ||
38 | |||
39 | exec --no-startup-id xinput set-prop "ELAN1200:00 04F3:3045 Touchpad" "libinput Natural Scrolling Enabled" 1 & | ||
40 | exec --no-startup-id xinput set-prop "ELAN1200:00 04F3:3045 Touchpad" "libinput Tapping Enabled" 1 & | ||
41 | |||
42 | gaps inner 5 | ||
43 | gaps outer 2 | ||
44 | |||
45 | # font for window titles | ||
46 | font pango:Iosevka 11 | ||
47 | |||
48 | ## bindings | ||
49 | ### dunstctl - dunst shortcuts have been deprecated | ||
50 | # close notifications with mod+x | ||
51 | bindcode $mod+53 exec --no-startup-id dunstctl close | ||
52 | bindcode $mod+shift+53 exec --no-startup-id dunstctl close-all | ||
53 | |||
54 | # give context menu with mod+o | ||
55 | bindcode $mod+47 exec --no-startup-id dunstctl context | ||
56 | |||
57 | # show history items with mod+0 (like the old times) | ||
58 | bindcode $mod+19 exec --no-startup-id dunstctl history-pop | ||
59 | |||
60 | # done, {task,time}warrior control suite | ||
61 | bindcode $mod+42 exec --no-startup-id ~/.local/bin/done | ||
62 | |||
63 | # type the contents of the clipboard with mod+p | ||
64 | bindcode --release $mod+27 exec --no-startup-id ~/.local/bin/type_clipboard.sh | ||
65 | |||
66 | # launch emoji picker with mod+c | ||
67 | bindcode $mod+54 exec --no-startup-id rofimoji --skin-tone neutral | ||
68 | |||
69 | # get the mouse out of the way with mod+y | ||
70 | bindcode $mod+32 exec --no-startup-id xdotool mousemove 896 5 | ||
71 | |||
72 | # bookmark from clipboard with mod+l | ||
73 | bindcode $mod+30 exec --no-startup-id ~/.local/bin/bukuadd_c | ||
74 | |||
75 | # swap caps lock and escape, set keyboard layout with mod+] | ||
76 | bindcode $mod+35 exec --no-startup-id "setxkbmap -model pc105 -layout us,us,tr -variant ,colemak, -option grp:alt_shift_toggle,caps:backspace" | ||
77 | |||
78 | # use flameshot with print screen | ||
79 | bindsym Print exec flameshot gui | ||
80 | |||
81 | # media keys | ||
82 | # TODO: test these for luchs keyboard <08-10-21, yigit> # | ||
83 | bindsym XF86AudioRaiseVolume exec --no-startup-id amixer set Master 2%+ | ||
84 | bindsym XF86AudioLowerVolume exec --no-startup-id amixer set Master 2%- | ||
85 | bindsym XF86AudioMute exec --no-startup-id amixer set Master toggle | ||
86 | bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause # for spotify | ||
87 | bindsym XF86AudioPrev exec --no-startup-id playerctl previous | ||
88 | bindsym XF86AudioNext exec --no-startup-id playerctl next | ||
89 | bindsym XF86Tools exec --no-startup-id mpc toggle # for mpd/ncmpcpp | ||
90 | |||
91 | bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 5 | ||
92 | bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 5 | ||
93 | |||
94 | bindsym XF86TouchpadToggle exec --no-startup-id perl -e '{`xinput list-props "ELAN1200:00 04F3:3045 Touchpad"` =~ /^.*Device Enabled.+?(\d)$/m and {$1 ? `xinput --disable "ELAN1200:00 04F3:3045 Touchpad" && dunstify -a "touchpad" "disabled"` : `xinput --enable "ELAN1200:00 04F3:3045 Touchpad" && dunstify -a "touchpad" "enabled"`}} ' | ||
95 | |||
96 | # make the currently focused window a scratchpad | ||
97 | bindcode $mod+Shift+20 move scratchpad | ||
98 | |||
99 | # show the first scratchpad window | ||
100 | bindcode $mod+20 scratchpad show | ||
101 | |||
102 | # pause notifications for a while with mod+shift+y | ||
103 | bindcode $mod+Shift+32 exec ~/.local/bin/toggle_notifications.sh | ||
104 | |||
105 | ## shortcuts for frequent programs | ||
106 | |||
107 | # zotero on mod+shift+z | ||
108 | bindcode $mod+Shift+52 exec zotero | ||
109 | # thunar on mod+shift+t | ||
110 | bindcode $mod+Shift+41 exec thunar | ||
111 | # start a terminal | ||
112 | bindsym $mod+Return exec kitty | ||
113 | # start rofi with mod+s | ||
114 | bindcode $mod+40 exec rofi -show drun | ||
115 | # launch the poweroff menu | ||
116 | bindsym $mod+Shift+Escape exec --no-startup-id ~/.local/bin/power.sh | ||
117 | |||
118 | # kill focused window | ||
119 | bindcode $mod+Shift+24 kill | ||
120 | bindsym --whole-window $mod+button2 kill | ||
121 | |||
122 | # change focus on mod+hnei (qwerty hjkl) | ||
123 | bindcode $mod+43 focus left | ||
124 | bindcode $mod+44 focus down | ||
125 | bindcode $mod+45 focus up | ||
126 | bindcode $mod+46 focus right | ||
127 | |||
128 | # move focused window on mod+shift+hnei | ||
129 | bindcode $mod+Shift+43 move left | ||
130 | bindcode $mod+Shift+44 move down | ||
131 | bindcode $mod+Shift+45 move up | ||
132 | bindcode $mod+Shift+46 move right | ||
133 | |||
134 | # split in horizontal orientation with mod+b | ||
135 | bindcode $mod+56 split h | ||
136 | |||
137 | # split in vertical orientation with mod+v | ||
138 | bindcode $mod+55 split v | ||
139 | |||
140 | # enter fullscreen mode for the focused container with mod+t | ||
141 | bindcode $mod+41 fullscreen toggle | ||
142 | |||
143 | # change container layout (stacked, tabbed, toggle split) | ||
144 | bindcode $mod+39 layout stacking | ||
145 | bindcode $mod+25 layout tabbed | ||
146 | bindcode $mod+26 layout toggle split | ||
147 | |||
148 | # toggle tiling / floating | ||
149 | bindsym $mod+Shift+space floating toggle | ||
150 | |||
151 | # toggle sticky floating window with mod+a | ||
152 | bindcode $mod+38 sticky toggle | ||
153 | |||
154 | # change focus between tiling / floating windows | ||
155 | bindsym $mod+space focus mode_toggle | ||
156 | |||
157 | # Define names for default workspaces for which we configure key bindings later on. | ||
158 | # We use variables to avoid repeating the names in multiple places. | ||
159 | set $ws1 "1" | ||
160 | set $ws2 "2" | ||
161 | set $ws3 "3" | ||
162 | set $ws4 "4" | ||
163 | set $ws5 "5" | ||
164 | set $ws6 "6" | ||
165 | set $ws7 "7" | ||
166 | set $ws8 "8" | ||
167 | set $ws9 "9" | ||
168 | set $ws10 "10" | ||
169 | set $wszotero "zotero" | ||
170 | set $wsdesktop "desktop" | ||
171 | set $wsbrowser "browser" | ||
172 | |||
173 | # switch to workspace | ||
174 | bindsym $mod+1 workspace $ws1 | ||
175 | bindsym $mod+2 workspace $ws2 | ||
176 | bindsym $mod+3 workspace $ws3 | ||
177 | bindsym $mod+4 workspace $ws4 | ||
178 | bindsym $mod+5 workspace $ws5 | ||
179 | bindsym $mod+6 workspace $ws6 | ||
180 | bindsym $mod+7 workspace $ws7 | ||
181 | bindsym $mod+8 workspace $ws8 | ||
182 | bindsym $mod+9 workspace $ws9 | ||
183 | bindcode $mod+49 workspace $wszotero | ||
184 | bindcode $mod+60 workspace $wsdesktop | ||
185 | bindcode $mod+21 workspace $wsbrowser | ||
186 | |||
187 | # move focused container to workspace | ||
188 | bindsym $mod+Shift+1 move container to workspace $ws1 | ||
189 | bindsym $mod+Shift+2 move container to workspace $ws2 | ||
190 | bindsym $mod+Shift+3 move container to workspace $ws3 | ||
191 | bindsym $mod+Shift+4 move container to workspace $ws4 | ||
192 | bindsym $mod+Shift+5 move container to workspace $ws5 | ||
193 | bindsym $mod+Shift+6 move container to workspace $ws6 | ||
194 | bindsym $mod+Shift+7 move container to workspace $ws7 | ||
195 | bindsym $mod+Shift+8 move container to workspace $ws8 | ||
196 | bindsym $mod+Shift+9 move container to workspace $ws9 | ||
197 | bindcode $mod+Shift+49 move container to workspace $wszotero | ||
198 | bindcode $mod+Shift+60 move container to workspace $wsdesktop | ||
199 | bindcode $mod+Shift+21 move container to workspace $wsbrowser | ||
200 | |||
201 | # reload the configuration file | ||
202 | bindcode $mod+Shift+54 reload | ||
203 | # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) | ||
204 | bindcode $mod+Shift+27 restart | ||
205 | |||
206 | default_border pixel 0 | ||
207 | default_floating_border pixel 0 | ||
208 | for_window [class="Zotero" instance="Toplevel" title="Quick Format Citation"] floating enable | ||
209 | for_window [class="Zotero" instance="Toplevel" title="Progress"] floating enable | ||
210 | for_window [class="Zotero" window_role="pref"] floating enable | ||
211 | for_window [class="zoom" title="Chat"] floating enable | ||
212 | for_window [class="Dia" window_role="toolbox_window"] floating enable | ||
213 | for_window [class="Pavucontrol" title="Volume Control"] floating enable | ||
214 | |||
215 | assign [class="^Brave-browser$"] $wsbrowser | ||
216 | assign [class="^Zotero$"] $wszotero | ||
217 | |||
218 | # class border background text indicator child_border | ||
219 | client.focused #ae81ff #080808 #85dc85 #ff5454 #ae81ff | ||
220 | client.focused_inactive #ae81ff #9e9e9e #080808 #ff5454 #5f676a | ||
221 | client.unfocused #ae81ff #323437 #b2b2b2 #ff5454 #222222 | ||
222 | client.urgent #ae81ff #900000 #b2b2b2 #ff5454 #900000 | ||
223 | client.placeholder #ae81ff #0c0c0c #b2b2b2 #ff5454 #0c0c0c | ||
224 | |||
225 | client.background #ffffff | ||
226 | |||
227 | # config | ||
228 | hide_edge_borders smart | ||
229 | workspace_auto_back_and_forth yes | ||
230 | focus_follows_mouse no | ||
231 | mouse_warping none | ||
232 | focus_wrapping no | ||
diff --git a/.config/picom/picom.conf##h.luchs b/.config/picom/picom.conf##h.luchs deleted file mode 100644 index 4cc1846..0000000 --- a/.config/picom/picom.conf##h.luchs +++ /dev/null | |||
@@ -1,69 +0,0 @@ | |||
1 | # log | ||
2 | log-level = "warn"; | ||
3 | log-file = "/home/yigit/.local/share/picom/picom.log"; | ||
4 | |||
5 | # shadow | ||
6 | shadow = true; | ||
7 | shadow-radius = 0; | ||
8 | shadow-offset-x = 5; | ||
9 | shadow-offset-y = 5; | ||
10 | shadow-opacity = 0.8; | ||
11 | |||
12 | shadow-exclude = [ | ||
13 | "name = 'Notification'", | ||
14 | "class_g = 'Conky'", | ||
15 | "class_g = 'Dunst'", | ||
16 | "_GTK_FRAME_EXTENTS@:c" | ||
17 | ]; | ||
18 | |||
19 | # opacity | ||
20 | inactive-opacity = 1; | ||
21 | # active-opacity = 0.8; | ||
22 | frame-opacity = 1.0; | ||
23 | inactive-opacity-override = false; | ||
24 | inactive-dim = 0.0; | ||
25 | |||
26 | opacity-rule = [ | ||
27 | "100:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_FULLSCREEN'", | ||
28 | "100:_NET_WM_STATE@[1]:32a = '_NET_WM_STATE_FULLSCREEN'", | ||
29 | "100:_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_FULLSCREEN'", | ||
30 | "100:_NET_WM_STATE@[3]:32a = '_NET_WM_STATE_FULLSCREEN'", | ||
31 | "100:_NET_WM_STATE@[4]:32a = '_NET_WM_STATE_FULLSCREEN'", | ||
32 | "0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'" | ||
33 | ]; | ||
34 | |||
35 | # fading | ||
36 | fading = true; | ||
37 | fade-in-step = 0.03; | ||
38 | fade-out-step = 0.03; | ||
39 | fade-exclude = [ ]; | ||
40 | |||
41 | # other | ||
42 | backend = "glx"; | ||
43 | mark-wmwin-focused = true; | ||
44 | mark-ovredir-focused = true; | ||
45 | detect-rounded-corners = true; | ||
46 | detect-client-opacity = true; | ||
47 | refresh-rate = 0; | ||
48 | vsync = true; | ||
49 | sw-opti = false; | ||
50 | unredir-if-possible = false; | ||
51 | detect-transient = true; | ||
52 | detect-client-leader = true; | ||
53 | invert-color-include = [ ]; | ||
54 | |||
55 | # glx backend | ||
56 | glx-no-stencil = true; | ||
57 | glx-copy-from-front = false; | ||
58 | use-damage = true | ||
59 | xrender-sync-fence = true; | ||
60 | |||
61 | # window type settings | ||
62 | wintypes: | ||
63 | { | ||
64 | tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; }; | ||
65 | dock = { shadow = false; } | ||
66 | dnd = { shadow = false; } | ||
67 | popup_menu = { fade = true; shadow = true; opacity = 1; focus = true; full-shadow = true; } | ||
68 | dropdown_menu = { opacity = 1; } | ||
69 | }; | ||
diff --git a/.config/polybar/config.ini##h.luchs b/.config/polybar/config.ini##h.luchs deleted file mode 100644 index c7fc4af..0000000 --- a/.config/polybar/config.ini##h.luchs +++ /dev/null | |||
@@ -1,293 +0,0 @@ | |||
1 | ;========================================================== | ||
2 | ; | ||
3 | ; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ | ||
4 | ; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ | ||
5 | ; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ | ||
6 | ; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ | ||
7 | ; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ | ||
8 | ; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ | ||
9 | ; | ||
10 | ;========================================================== | ||
11 | |||
12 | [colors] | ||
13 | background = #40191724 | ||
14 | background_modules = #aaebbcba | ||
15 | foreground = #e0def4 | ||
16 | foreground_modules = #1f1d2e | ||
17 | red = #eb6f92 | ||
18 | green = #9ccfd8 | ||
19 | sold_out_green = #1DB954 | ||
20 | yellow = #f6c177 | ||
21 | blue = #31748f | ||
22 | purple = #ebbcba | ||
23 | pink = #c4a7e7 | ||
24 | |||
25 | [bar/top] | ||
26 | monitor = | ||
27 | width = 100% | ||
28 | height = 20 | ||
29 | offset-x = 0 | ||
30 | offset-y = 0 | ||
31 | radius = 0 | ||
32 | fixed-center = true | ||
33 | |||
34 | background = ${colors.background} | ||
35 | foreground = ${colors.foreground} | ||
36 | |||
37 | border-top-size = 0 | ||
38 | border-bottom-size = 0 | ||
39 | border-top-color = ${colors.background} | ||
40 | border-bottom-color = ${colors.background} | ||
41 | |||
42 | padding = 2 | ||
43 | module-margin = 1 | ||
44 | |||
45 | font-0 = scientifica:antialias=false;1 | ||
46 | font-1 = Siji:size=20;1 | ||
47 | |||
48 | modules-left = i3 pulseaudio-control spotify github | ||
49 | modules-center = xwindow | ||
50 | modules-right = focus backlight battery date time | ||
51 | |||
52 | tray-position = right | ||
53 | |||
54 | [module/github] | ||
55 | type = internal/github | ||
56 | |||
57 | token = ${file:/home/yigit/.local/share/polybar/github_token} | ||
58 | user = yigitsever | ||
59 | empty-notifications = false | ||
60 | interval = 10 | ||
61 | api-url = https://api.github.com/ | ||
62 | |||
63 | format = <label> | ||
64 | label = %notifications% | ||
65 | |||
66 | label-padding = 1 | ||
67 | |||
68 | format-background = ${colors.background_modules} | ||
69 | format-foreground = ${colors.foreground_modules} | ||
70 | |||
71 | format-prefix = | ||
72 | format-prefix-foreground = ${colors.background_modules} | ||
73 | format-prefix-background = ${colors.purple} | ||
74 | format-prefix-padding = 1 | ||
75 | |||
76 | format-offline = <label-offline> | ||
77 | label-offline = Github offline | ||
78 | |||
79 | [module/focus] | ||
80 | type = custom/script | ||
81 | exec = ~/.config/polybar/scripts/focus | ||
82 | double-click-left = exec ~/.config/polybar/scripts/stop & | ||
83 | interval = 1 | ||
84 | |||
85 | [module/spotify] | ||
86 | type = custom/script | ||
87 | interval = 1 | ||
88 | format-prefix = "" | ||
89 | format-prefix-padding = 1 | ||
90 | format-prefix-background = ${colors.sold_out_green} | ||
91 | format-prefix-foreground = ${colors.foreground_modules} | ||
92 | format = <label> | ||
93 | format-padding = 0 | ||
94 | exec = python /usr/share/polybar/scripts/spotify_status.py -f '{play_pause} {artist} - {song}' -p ', ' | ||
95 | ;契 | ||
96 | |||
97 | [module/backlight] | ||
98 | type = internal/xbacklight | ||
99 | |||
100 | format = <ramp><label> | ||
101 | |||
102 | label = %percentage%% | ||
103 | |||
104 | ramp-font = 4 | ||
105 | ramp-background = ${colors.yellow} | ||
106 | ramp-foreground = ${colors.foreground_modules} | ||
107 | ramp-padding = 1 | ||
108 | ramp-0 = | ||
109 | ramp-1 = | ||
110 | ramp-2 = | ||
111 | ramp-3 = | ||
112 | ramp-4 = | ||
113 | |||
114 | label-padding = 1 | ||
115 | label-background = ${colors.background_modules} | ||
116 | label-foreground = ${colors.foreground_modules} | ||
117 | |||
118 | [module/battery] | ||
119 | type = internal/battery | ||
120 | battery = BAT0 | ||
121 | adapter = AC0 | ||
122 | |||
123 | time-format = %H:%M | ||
124 | |||
125 | format-charging = <animation-charging><label-charging> | ||
126 | format-discharging = <ramp-capacity><label-discharging> | ||
127 | |||
128 | ramp-capacity-background = ${colors.red} | ||
129 | ramp-capacity-foreground = ${colors.foreground_modules} | ||
130 | ramp-capacity-padding = 1 | ||
131 | |||
132 | animation-charging-background = ${colors.green} | ||
133 | animation-charging-foreground = ${colors.foreground_modules} | ||
134 | animation-charging-padding = 1 | ||
135 | |||
136 | label-charging = %percentage%% %time% | ||
137 | label-charging-background = ${colors.background_modules} | ||
138 | label-charging-foreground = ${colors.foreground_modules} | ||
139 | label-charging-padding = 1 | ||
140 | |||
141 | label-discharging = %percentage%% %time% | ||
142 | label-discharging-background = ${colors.background_modules} | ||
143 | label-discharging-foreground = ${colors.foreground_modules} | ||
144 | label-discharging-padding = 1 | ||
145 | |||
146 | label-full = | ||
147 | label-full-background = ${colors.yellow} | ||
148 | label-full-foreground = ${colors.foreground_modules} | ||
149 | label-full-padding = 1 | ||
150 | |||
151 | ; Only applies if <ramp-capacity> is used | ||
152 | ramp-capacity-0 = | ||
153 | ramp-capacity-1 = | ||
154 | ramp-capacity-2 = | ||
155 | ramp-capacity-3 = | ||
156 | |||
157 | ; Only applies if <animation-charging> is used | ||
158 | animation-charging-0 = | ||
159 | animation-charging-1 = | ||
160 | animation-charging-2 = | ||
161 | animation-charging-3 = | ||
162 | |||
163 | ; Framerate in milliseconds | ||
164 | animation-charging-framerate = 750 | ||
165 | |||
166 | [module/xwindow] | ||
167 | type = internal/xwindow | ||
168 | format = <label> | ||
169 | label = %title:0:70:...% | ||
170 | |||
171 | y-offset = 10 | ||
172 | label-padding = 1 | ||
173 | label-font = 1 | ||
174 | |||
175 | label-empty = | ||
176 | label-empty-font = 3 | ||
177 | label-empty-padding = 5 | ||
178 | |||
179 | [module/i3] | ||
180 | type = internal/i3 | ||
181 | format = <label-state> | ||
182 | index-sort = true | ||
183 | wrapping-scroll = false | ||
184 | strip-wsnumbers = true | ||
185 | |||
186 | ws-icon-default = | ||
187 | ws-icon-0 = 0; | ||
188 | ws-icon-1 = 1; | ||
189 | ws-icon-2 = 2; | ||
190 | ws-icon-3 = 3; | ||
191 | ws-icon-4 = 4; | ||
192 | ws-icon-5 = 5; | ||
193 | ws-icon-6 = 6; | ||
194 | ws-icon-7 = 7; | ||
195 | ws-icon-8 = 8; | ||
196 | ws-icon-9 = 9; | ||
197 | ws-icon-10 = zotero; | ||
198 | ws-icon-11 = desktop; | ||
199 | ws-icon-12 = browser; | ||
200 | |||
201 | label-mode-background = ${colors.background_modules} | ||
202 | label-mode-foreground = ${colors.foreground_modules} | ||
203 | label-mode-padding = 2 | ||
204 | |||
205 | label-focused = %icon% | ||
206 | label-focused-background = ${colors.yellow} | ||
207 | label-focused-foreground = ${colors.foreground_modules} | ||
208 | label-focused-padding = 1 | ||
209 | |||
210 | label-unfocused = %icon% | ||
211 | label-unfocused-background = ${colors.background_modules} | ||
212 | label-unfocused-foreground = ${colors.foreground_modules} | ||
213 | label-unfocused-padding = 1 | ||
214 | |||
215 | label-visible = %icon% | ||
216 | label-visible-background = ${colors.background_modules} | ||
217 | label-visible-foreground = ${colors.foreground_modules} | ||
218 | label-visible-padding = 1 | ||
219 | |||
220 | label-urgent = %icon% | ||
221 | label-urgent-background = ${colors.red} | ||
222 | label-urgent-foreground = ${colors.foreground_modules} | ||
223 | label-urgent-padding = 1 | ||
224 | |||
225 | label-separator = " " | ||
226 | label-separator-foreground = ${colors.foreground} | ||
227 | label-separator-background = ${colors.purple} | ||
228 | |||
229 | [module/date] | ||
230 | type = internal/date | ||
231 | interval = 1 | ||
232 | |||
233 | date = %Y-%m-%d %A | ||
234 | label = %date% | ||
235 | format = <label> | ||
236 | |||
237 | format-prefix = | ||
238 | format-prefix-background = ${colors.blue} | ||
239 | format-prefix-foreground = ${colors.foreground_modules} | ||
240 | format-prefix-font = 3 | ||
241 | format-prefix-padding = 1 | ||
242 | |||
243 | label-background = ${colors.background_modules} | ||
244 | label-foreground = ${colors.foreground_modules} | ||
245 | label-padding = 1 | ||
246 | |||
247 | [module/time] | ||
248 | type = internal/date | ||
249 | interval = 1 | ||
250 | |||
251 | time = %H:%M | ||
252 | label = %time% | ||
253 | format = <label> | ||
254 | |||
255 | format-prefix = | ||
256 | format-prefix-background = ${colors.green} | ||
257 | format-prefix-foreground = ${colors.foreground_modules} | ||
258 | format-prefix-font = 3 | ||
259 | format-prefix-padding = 1 | ||
260 | |||
261 | label-background = ${colors.background_modules} | ||
262 | label-foreground = ${colors.foreground_modules} | ||
263 | label-padding = 1 | ||
264 | |||
265 | [module/pulseaudio-control] | ||
266 | type = custom/script | ||
267 | tail = true | ||
268 | label = %output% | ||
269 | interval = 5 | ||
270 | |||
271 | exec = ~/.config/polybar/scripts/pulseaudio_control --listen | ||
272 | click-right = exec pavucontrol & | ||
273 | click-left = ~/.config/polybar/scripts/pulseaudio_control --togmute | ||
274 | click-middle = ~/.config/polybar/scripts/pulseaudio_control --change | ||
275 | scroll-up = ~/.config/polybar/scripts/pulseaudio_control --up | ||
276 | scroll-down = ~/.config/polybar/scripts/pulseaudio_control --down | ||
277 | label-padding = 2 | ||
278 | label-foreground = ${colors.foreground_modules} | ||
279 | label-background = ${colors.background_modules} | ||
280 | |||
281 | [settings] | ||
282 | screenchange-reload = true | ||
283 | compositing-background = source | ||
284 | compositing-foreground = source | ||
285 | compositing-border = over | ||
286 | pseudo-transparency = false | ||
287 | |||
288 | [global/wm] | ||
289 | margin-top = 5 | ||
290 | margin-bottom = 5 | ||
291 | ; override-redirect = true | ||
292 | |||
293 | ; vim:ft=dosini | ||