Skip to content

Commit 07b13d3

Browse files
committed
polybar: cleanup
1 parent 24f68e9 commit 07b13d3

File tree

208 files changed

+88
-4314
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

208 files changed

+88
-4314
lines changed

.compton.conf

+2-2
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ shadow-ignore-shaped = false;
112112
menu-opacity = 0.8;
113113
inactive-opacity = 0.9;
114114
active-opacity = 1;
115-
frame-opacity = 1;
115+
frame-opacity = 0.7;
116116
inactive-opacity-override = false;
117117
#alpha-step = 0.06;
118118

@@ -130,7 +130,7 @@ blur-background-exclude = [
130130
"window_type = 'dock'",
131131
"window_type = 'desktop'"
132132
];
133-
blur-strength = 5
133+
blur-strength = 8
134134

135135
#################################
136136
#

.config/Wmderland/config

+27-34
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,13 @@
1515
; `set <Key> = <Value>` to set a builtin varaible
1616
; `set $<Variable> = <Value>` to define your own variable
1717
; -----------------------------------------------------------------------
18-
set gap_width = 12
19-
set border_width = 3
18+
set gap_width = 16
19+
set border_width = 10
2020
set min_window_width = 100
2121
set min_window_height = 100
2222
set $Mod = Mod4
2323
set $Alt = Mod1
2424

25-
2625
; Colors
2726

2827
colors {
@@ -38,7 +37,6 @@ colors {
3837

3938
}
4039

41-
4240
# DarkGrey background with white text - not focus grey background - black text
4341
# Windows decoration colors
4442
# class border backgr. text indicator
@@ -52,16 +50,13 @@ client.urgent #4A4A4A #4A4A4A #f7f7f7 #4A4A4A
5250
set focused_color = 4a4a4a
5351
set unfocused_color = ff32455c
5452

55-
56-
5753
# set font
5854

5955
font pango: Cascadia Code 16
6056

6157
# Use Mouse+$Mod to drag floating windows to their wanted position
6258
floating_modifier $Mod
6359

64-
6560
; [Spawning Rules]
6661
; Assign an application to a specific workspace
6762
; -----------------------------------------------------------------------
@@ -92,46 +87,45 @@ floating_modifier $Mod
9287
; [Floating Rules]
9388
; Applications that should be floating by default
9489
; -----------------------------------------------------------------------
95-
floating systemsettings true
96-
floating SimpleScreenRecorder true
97-
floating Sxiv true
98-
floating feh true
99-
floating mpv true
100-
floating Peek true
101-
floating Gcolor2 true
102-
floating Steam true
103-
floating PCSX2 true
104-
floating Wine true
105-
floating Wine,steam.exe true
106-
floating Wine,tesv.exe true
107-
floating VirtualBox Machine true
108-
floating Vigilante true
109-
floating xfreerdp true
110-
90+
; floating systemsettings true
91+
; floating SimpleScreenRecorder true
92+
; floating Sxiv true
93+
; floating feh true
94+
; floating mpv true
95+
; floating Peek true
96+
; floating Gcolor2 true
97+
; floating Steam true
98+
; floating PCSX2 true
99+
; floating Wine true
100+
; floating Wine,steam.exe true
101+
; floating Wine,tesv.exe true
102+
; floating VirtualBox Machine true
103+
; floating Vigilante true
104+
; floating xfreerdp true
111105

112106
; [Fullscreen Rules]
113107
; Applications that should be fullscreen by default
114108
; -----------------------------------------------------------------------
115-
fullscreen Wine,maplelegendswindowed.exe true
116-
fullscreen Wine,tesv.exe true
109+
; fullscreen Wine,maplelegendswindowed.exe true
110+
; fullscreen Wine,tesv.exe true
117111

118112

119113
; [Prohibit Rules]
120114
; Applications that should be prohibited from being launched
121115
; -----------------------------------------------------------------------
122-
prohibit plasmashell,plasmashell,Desktop — Plasma true
123-
prohibit Wine,Wine System Tray true
116+
; prohibit plasmashell,plasmashell,Desktop — Plasma true
117+
; prohibit Wine,Wine System Tray true
124118

125119
; [KDE]
126120
; Don’t treat Plasma pop-ups as full-sized windows
127-
for_window [class="plasmashell"] floating enable
121+
; for_window [class="plasmashell"] floating enable
128122

129123
; Don’t spawn an empty window for the Plasma Desktop
130-
for_window [title="Desktop — Plasma"] kill, floating enable, border none
124+
; for_window [title="Desktop — Plasma"] kill, floating enable, border none
131125

132126
; Don’t let notifications and non-interactive pop-up windows steal focus
133-
no_focus [class="plasmashell" window_type="notification"]
134-
no_focus [class="plasmashell" window_type="on_screen_display"]
127+
; no_focus [class="plasmashell" window_type="notification"]
128+
; no_focus [class="plasmashell" window_type="on_screen_display"]
135129

136130

137131
; [Keybind]
@@ -194,12 +188,12 @@ bindsym XF86PowerOff exec qdbus org.kde.ksmserver /KSMServer org.kde.KSMServerIn
194188
bindsym $Mod+d exec rofi -show drun
195189
bindsym $Mod+Return exec st
196190

197-
bindsym $Mod+Shift+d exec i3-dmenu-desktop --dmenu="dmenu -i -fn 'Noto Mono:size=16'"
191+
; bindsym $Mod+Shift+d exec i3-dmenu-desktop --dmenu="dmenu -i -fn 'Cascadia Code:size=16'"
198192
bindsym Control+space exec rofi -lines 12 -padding 18 -location 0 -columns 3 -show combi -sidebar-mode
199193
bindsym $Alt+space exec rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}'
200194

201195
bindsym $Alt+Control+l exec "i3lock"
202-
bindsym $Mod+w exec "brave-browser"
196+
bindsym $Mod+w exec "brave"
203197

204198
; [Autostart]
205199
; Applications to execute when WM starts up (DON'T append '&' at the end)
@@ -218,4 +212,3 @@ exec syncthing
218212
exec mopidy
219213
exec autocutsel -fork
220214
exec autocutsel -selection PRIMARY -fork
221-
exec_on_reload ~/.polybar/launch.sh

.polybar/config

+12-93
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ padding = 1
2424

2525
; ------------------- Configuration -------------------
2626
[bar/default]
27-
dpi = 116
28-
height = 30
27+
dpi = 192
28+
height = 32
2929
line-size = 2
3030
padding-left = 0
3131
padding-right = 0
@@ -34,7 +34,7 @@ module-margin-right = 0
3434

3535
modules-left = wm xworkspaces
3636
modules-center = xwindow
37-
modules-right = mpd wired-network volume date search
37+
modules-right = kdeconnect ticker-crypto wireless-network volume battery date
3838

3939
background = ${colors.background}
4040
foreground = ${colors.foreground}
@@ -62,20 +62,20 @@ format-padding = ${user.padding}
6262
format-background = ${colors.dark1}
6363

6464
; %index%, %name% or %icon%
65-
label-active = %index%
65+
label-active = %icon%
6666
label-active-foreground = ${colors.foreground}
6767
label-active-padding = 1
6868
label-active-underline = ${colors.grey}
6969

70-
label-occupied = %index%
70+
label-occupied = %icon%
7171
label-occupied-foreground = ${colors.red}
7272
label-occupied-padding = 1
7373

74-
label-urgent = %index%
74+
label-urgent = %icon%
7575
label-urgent-foreground = ${colors.red}
7676
label-urgent-padding = 1
7777

78-
label-empty = %index%
78+
label-empty = %icon%
7979
label-empty-foreground = ${colors.grey}
8080
label-empty-padding = 1
8181

@@ -151,7 +151,7 @@ animation-charging-0 = 
151151
[module/wireless-network]
152152
type = internal/network
153153
accumulate-stats = true
154-
interface = wlp2s0
154+
interface = wlp58s0
155155
interval = 5.0
156156
format-connected = <ramp-signal> <label-connected>
157157
format-connected-padding = ${user.padding}
@@ -170,75 +170,6 @@ ramp-signal-3 = 
170170
ramp-signal-4 = 
171171

172172

173-
[module/wired-network]
174-
type = internal/network
175-
accumulate-stats = true
176-
interface = enp34s0
177-
interval = 5.0
178-
format-connected =  <label-connected>
179-
format-connected-padding = ${user.padding}
180-
format-connected-foreground = ${colors.blue}
181-
format-disconnected =  <label-disconnected>
182-
format-disconnected-padding = ${user.padding}
183-
format-disconnected-foreground = ${colors.blue}
184-
label-connected = %ifname%
185-
label-connected-foreground = ${colors.foreground}
186-
label-disconnected = offline
187-
label-disconnected-foreground = ${colors.foreground}
188-
189-
190-
[module/vpn]
191-
type = internal/network
192-
interface = tun0
193-
interval = 5.0
194-
accumulate-stats = true
195-
format-connected = VPN: <label-connected>
196-
format-connected-foreground = ${colors.blue}
197-
format-disconnected = <label-disconnected>
198-
label-connected = Connected
199-
label-connected-foreground = ${colors.foreground}
200-
label-disconnected = (None)
201-
label-disconnected-foreground = ${colors.foreground}
202-
203-
204-
[module/mpd]
205-
type = internal/mpd
206-
host = 127.0.0.1
207-
port = 6600
208-
interval = 2
209-
format-online =  <label-song>
210-
format-online-padding = ${user.padding}
211-
format-online-foreground = ${colors.magenta}
212-
label-song = %artist% - %title%
213-
label-offline = mpd is offline
214-
label-song-foreground = ${colors.foreground}
215-
label-offline-foreground = ${colors.foreground}
216-
icon-play = 
217-
icon-pause = 
218-
icon-prev = 
219-
icon-next = 
220-
icon-play-foreground = ${colors.blue}
221-
icon-pause-foreground = ${colors.blue}
222-
icon-prev-foreground = ${colors.blue}
223-
icon-next-foreground = ${colors.blue}
224-
225-
226-
[module/search]
227-
type = custom/text
228-
content = 
229-
content-padding = ${user.padding}
230-
content-background = ${colors.dark1}
231-
click-left = rofi -show drun
232-
233-
234-
[module/power]
235-
type = custom/text
236-
content = 
237-
content-padding = ${user.padding}
238-
content-background = ${colors.dark2}
239-
click-left = qdbus org.kde.ksmserver /KSMServer org.kde.KSMServerInterface.logout -1 -1 -1
240-
241-
242173
[module/wm]
243174
type = custom/script
244175
exec = echo " "`xprop -root _NET_WM_NAME | cut -d \" -f 2`
@@ -249,19 +180,7 @@ format-padding = 2
249180
click-left = select_wm
250181

251182

252-
[module/weather]
253-
type = custom/script
254-
exec = ~/.local/bin/polybar/weather.py
255-
exec-if = check_connection.sh
256-
interval = 43200
257-
format-prefix = " "
258-
format-padding = ${user.padding}
259-
format-prefix-foreground = ${colors.cyan}
260-
261-
262-
[module/bus]
263-
type = custom/script
264-
exec = bus.sh
265-
exec-if = check_connection.sh
266-
interval = 180
267-
format-prefix = " "
183+
[module/ticker-crypto]
184+
type = custom/script
185+
exec = ~/.polybar/scripts/ticker-crypto/ticker-crypto.sh
186+
interval = 600

.polybar/launch.sh

-13
This file was deleted.

.polybar/polybar-scripts/battery-combined-shell/README.md

-15
This file was deleted.

.polybar/polybar-scripts/battery-combined-shell/battery-combined-shell.sh

-61
This file was deleted.

0 commit comments

Comments
 (0)