made changes to spectrwm config
This commit is contained in:
parent
b3b1421e90
commit
98a7498007
|
@ -1,6 +1,6 @@
|
|||
# network status
|
||||
network() {
|
||||
wifi="$(ip a | grep wlan0 | grep inet | wc -l)"
|
||||
wifi="$(ip a | grep wlo0 | grep inet | wc -l)"
|
||||
wire="$(ip a | grep enp1s0 | grep inet | wc -l)"
|
||||
if [ $wire = 1 ]; then
|
||||
echo " "
|
||||
|
@ -37,7 +37,8 @@ bat() {
|
|||
|
||||
# volume status
|
||||
vol() {
|
||||
volstat=$(pamixer --get-volume-human)
|
||||
#volstat=$(pamixer --get-volume-human)
|
||||
volstat=$(pulsemixer --get-volume | cut --characters=4,5)
|
||||
vol=$(echo "$volstat")
|
||||
volicon="墳"
|
||||
echo "$volicon $vol"
|
||||
|
|
|
@ -3,13 +3,16 @@ volumecontrol() {
|
|||
pkill -SIGTRAP baraction.sh
|
||||
case $1 in
|
||||
increase)
|
||||
amixer set Master 5%+
|
||||
#amixer set Master 5%+
|
||||
pulsemixer --change-volume +10
|
||||
;;
|
||||
ecrease)
|
||||
amixer set Master 5%-
|
||||
#amixer set Master 5%-
|
||||
pulsemixer --change-volume -10
|
||||
;;
|
||||
toggle)
|
||||
amixer set Master toggle
|
||||
#amixer set Master toggle
|
||||
pulsemixer --toggle-mute
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
|
|
|
@ -25,7 +25,7 @@ bar_border_unfocus[1] = rgb:18/18/18
|
|||
bar_color[1] = rgb:2e/34/40,rgb:eb/cb/8b,rgb:a3/be/8c,rgb:bf/61/6a,rgb:b4/8e/ad,rgb:88/c0/d0,rgb:d0/87/70,rgb:3b/42/52,rgb:4c/56/6a
|
||||
bar_color_selected[1] = rgb:88/c0/d0
|
||||
bar_font_color[1] = rgb:ec/ef/f4,rgb:2e/34/40,rgb:2e/34/40,rgb:eb/cb/8b,rgb:a3/be/8c,rgb:bf/61/6a,rgb:b4/8e/ad,rgb:88/c0/d0,rgb:d0/87/70,rgb:3b/42/52,rgb:4c/56/6a
|
||||
bar_font = Blex Mono Nerd Font:pixelsize=15:antialias=true
|
||||
bar_font = mononoki Nerd Font:pixelsize=15:antialias=true
|
||||
bar_action = ~/.config/spectrwm/baraction.sh
|
||||
bar_action_expand = 1
|
||||
bar_justify = right
|
||||
|
@ -51,11 +51,11 @@ autorun = ws[1]:pipewire
|
|||
autorun = ws[1]:pipewire-pulse
|
||||
autorun = ws[1]:volumeicon
|
||||
autorun = ws[1]:xfce4-power-manager
|
||||
autorun = ws[1]:syncthing
|
||||
autorun = ws[1]:syncthing --no-browser
|
||||
autorun = ws[1]:nm-applet &
|
||||
autorun = ws[1]:lxpolkit &
|
||||
autorun = ws[1]:setxkbmap -layout latam
|
||||
autorun = ws[1]:picom &
|
||||
autorun = ws[1]:picom
|
||||
|
||||
# Workspace names and modkey
|
||||
layout = ws[1]:4:0:0:0:vertical
|
||||
|
|
Loading…
Reference in New Issue