i3/polybar: pimp looks
This commit is contained in:
@@ -34,9 +34,12 @@ exec --no-startup-id xss-lock --transfer-sleep-lock -- xlock \
|
|||||||
-mode space \
|
-mode space \
|
||||||
-echokeys \
|
-echokeys \
|
||||||
-font "-*-*-*-r-*-*-34-*-*-*-*-*-*-*" \
|
-font "-*-*-*-r-*-*-34-*-*-*-*-*-*-*" \
|
||||||
-planfont "-*-*-*-r-*-*-34-*-*-*-*-*-*-*"
|
-planfont "-*-*-*-r-*-*-34-*-*-*-*-*-*-*" \
|
||||||
|
-startCmd "dunstctl set-paused true" \
|
||||||
|
-endCmd "dunstctl set-paused false"
|
||||||
|
|
||||||
bindsym $mod+Ctrl+BackSpace exec --no-startup-id loginctl lock-session
|
bindsym $mod+Ctrl+BackSpace exec --no-startup-id loginctl lock-session
|
||||||
|
bindsym $mod+Ctrl+Shift+BackSpace exec --no-startup-id systemctl suspend
|
||||||
|
|
||||||
#
|
#
|
||||||
#### Input
|
#### Input
|
||||||
@@ -62,7 +65,6 @@ exec --no-startup-id blueman-applet
|
|||||||
#
|
#
|
||||||
|
|
||||||
bindsym $mod+a exec --no-startup-id pavucontrol -t 1
|
bindsym $mod+a exec --no-startup-id pavucontrol -t 1
|
||||||
for_window [class="Pavucontrol"] fullscreen enable
|
|
||||||
|
|
||||||
#
|
#
|
||||||
#### Notifications
|
#### Notifications
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
# require polybar > 3.7
|
||||||
[colors]
|
[colors]
|
||||||
bg = #2f383e
|
bg = #2f383e
|
||||||
alt = #56635f
|
alt = #56635f
|
||||||
@@ -8,9 +9,10 @@ alert = #e67e80
|
|||||||
|
|
||||||
[bar/main]
|
[bar/main]
|
||||||
monitor = eDP-1
|
monitor = eDP-1
|
||||||
|
enable-ipc = true
|
||||||
|
|
||||||
width = 100%
|
width = 100%
|
||||||
height = 50
|
height = 45
|
||||||
radius = 0
|
radius = 0
|
||||||
line-size = 5
|
line-size = 5
|
||||||
|
|
||||||
@@ -24,14 +26,15 @@ font-0 = "SFMono Nerd Font:weight=bold:pixelsize=20;5"
|
|||||||
|
|
||||||
modules-left = i3 title
|
modules-left = i3 title
|
||||||
modules-center =
|
modules-center =
|
||||||
modules-right = backlight battery time
|
modules-right = tray updates backlight time battery
|
||||||
|
|
||||||
tray-position = right
|
tray-position = adaptive
|
||||||
tray-maxsize = 30
|
tray-maxsize = 30
|
||||||
|
tray-padding = 20
|
||||||
|
|
||||||
[module/title]
|
[module/title]
|
||||||
type = internal/xwindow
|
type = internal/xwindow
|
||||||
|
label-maxlen = 60
|
||||||
label-foreground = ${colors.alt}
|
label-foreground = ${colors.alt}
|
||||||
|
|
||||||
[module/i3]
|
[module/i3]
|
||||||
@@ -77,7 +80,7 @@ type = internal/date
|
|||||||
interval = 5
|
interval = 5
|
||||||
|
|
||||||
label = "%time%"
|
label = "%time%"
|
||||||
label-radius = 10
|
label-foreground = ${colors.accent}
|
||||||
|
|
||||||
time = %H:%M
|
time = %H:%M
|
||||||
time-alt = %a %d.%b
|
time-alt = %a %d.%b
|
||||||
@@ -88,18 +91,22 @@ type = internal/battery
|
|||||||
battery = BAT1
|
battery = BAT1
|
||||||
adapter = ADP1
|
adapter = ADP1
|
||||||
|
|
||||||
low-at = 5
|
low-at = 10
|
||||||
full-at = 99
|
full-at = 99
|
||||||
|
time-format = %H:%M
|
||||||
|
|
||||||
format-charging = <animation-charging> <label-charging>
|
format-charging = <animation-charging> <label-charging>
|
||||||
format-discharging = <ramp-capacity> <label-discharging>
|
format-discharging = <ramp-capacity> <label-discharging>
|
||||||
format-full = <ramp-capacity> <label-full>
|
format-full = <ramp-capacity> <label-full>
|
||||||
format-low = <label-low> <animation-low>
|
format-low = <animation-low> <label-low>
|
||||||
|
|
||||||
label-charging = %percentage%%
|
label-charging = %percentage%%
|
||||||
label-discharging = %percentage%%
|
label-discharging = %percentage%% (%time%)
|
||||||
label-full = %percentage%%
|
label-full = %percentage%%
|
||||||
label-low = %percentage%%
|
label-low = %percentage%% (%time%)
|
||||||
|
|
||||||
|
label-low-foreground = ${colors.alert}
|
||||||
|
animation-low-foreground = ${colors.alert}
|
||||||
|
|
||||||
ramp-capacity-0 = " "
|
ramp-capacity-0 = " "
|
||||||
ramp-capacity-1 = " "
|
ramp-capacity-1 = " "
|
||||||
@@ -115,7 +122,7 @@ animation-charging-4 = " "
|
|||||||
animation-charging-framerate = 750
|
animation-charging-framerate = 750
|
||||||
|
|
||||||
animation-low-0 = !
|
animation-low-0 = !
|
||||||
animation-low-1 =
|
animation-low-1 = " "
|
||||||
animation-low-framerate = 200
|
animation-low-framerate = 200
|
||||||
|
|
||||||
[module/backlight]
|
[module/backlight]
|
||||||
@@ -123,3 +130,12 @@ type = internal/backlight
|
|||||||
card = intel_backlight
|
card = intel_backlight
|
||||||
|
|
||||||
label = " %percentage%%"
|
label = " %percentage%%"
|
||||||
|
|
||||||
|
[module/updates]
|
||||||
|
type = custom/script
|
||||||
|
exec = "dnf -q check-update | wc -l"
|
||||||
|
label = " %output%"
|
||||||
|
interval = 600
|
||||||
|
|
||||||
|
[module/tray]
|
||||||
|
type = internal/tray
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
polybar-msg cmd quit
|
polybar-msg cmd quit
|
||||||
killall -q polybar
|
|
||||||
|
|
||||||
# Launch bar1 and bar2
|
# Launch bar1 and bar2
|
||||||
echo "---" | tee -a /tmp/polybar.log
|
echo "---" | tee -a /tmp/polybar.log
|
||||||
|
|||||||
Reference in New Issue
Block a user