diff options
Diffstat (limited to '.config')
| -rw-r--r-- | .config/i3status/config | 13 | ||||
| -rw-r--r-- | .config/sway/config | 5 |
2 files changed, 10 insertions, 8 deletions
diff --git a/.config/i3status/config b/.config/i3status/config index 0980fc6..2b53153 100644 --- a/.config/i3status/config +++ b/.config/i3status/config @@ -22,8 +22,8 @@ order += "disk /" order += "cpu_usage" #order += "load" order += "memory" -order += "volume master" order += "cpu_temperature 0" +order += "volume master" order += "tztime local" read_file hostname { @@ -94,10 +94,7 @@ memory { cpu_temperature 0 { format = "🌡%degrees °C" - #path = "/sys/class/hwmon/hwmon0/temp1_input" - #path = "/sys/class/hwmon/hwmon6/temp1_input" - #path = "/sys/class/hwmon/hwmon7/temp1_input" - #path = "/sys/class/hwmon/hwmon8/temp1_input" + path = "/sys/class/hwmon/hwmon2/temp1_input" } tztime local { @@ -107,7 +104,7 @@ tztime local { } volume master { - format = "🎜 %volume" - format_muted = "🎜 mute (%volume)" - device = "pulse:alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink" + format = "🔈 %volume" + format_muted = "🔈 mute (%volume)" + device = "default" } diff --git a/.config/sway/config b/.config/sway/config index f924434..0174d2d 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -102,6 +102,11 @@ input type:touchpad { # Exit sway (logs you out of your Wayland session) bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit' + + # Use pactl to ajust volume in PulseAudio/PipeWire + bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% && pkill -USR1 i3status + bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% && pkill -USR1 i3status + bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle && pkill -USR1 i3status # # Moving around: # |
