aboutsummaryrefslogtreecommitdiff
path: root/config/sway
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-06-10 14:14:22 +0200
committerKarel Kočí <cynerd@email.cz>2022-06-10 14:14:22 +0200
commitc5510367db582d1c0683f182dd0e151ea0ab3b5f (patch)
treee43d7d6a4eae8d586ac8b43ef436ae178465bcfe /config/sway
parent3c905d717a331b9be6d7036624378d0617234a82 (diff)
downloadmyconfigs-c5510367db582d1c0683f182dd0e151ea0ab3b5f.tar.gz
myconfigs-c5510367db582d1c0683f182dd0e151ea0ab3b5f.tar.bz2
myconfigs-c5510367db582d1c0683f182dd0e151ea0ab3b5f.zip
Improvements for NixOS
Diffstat (limited to 'config/sway')
-rw-r--r--config/sway/bindsym-layout4
-rw-r--r--config/sway/bindsym-media6
2 files changed, 5 insertions, 5 deletions
diff --git a/config/sway/bindsym-layout b/config/sway/bindsym-layout
index ef14ead..5b075ac 100644
--- a/config/sway/bindsym-layout
+++ b/config/sway/bindsym-layout
@@ -9,5 +9,5 @@ mode "$mode_layout" {
bindsym --to-code $mod+slash mode "$mode_layout"
# Type emoji
-bindsym --to-code $mod+period exec rofimoji --skin-tone neutral
-bindsym --to-code $mod+Shift+period exec rofimoji --skin-tone neutral --action copy
+bindsym --to-code $mod+period exec rofimoji --selector wofi --skin-tone neutral
+bindsym --to-code $mod+Shift+period exec rofimoji --selector wofi --skin-tone neutral --action copy
diff --git a/config/sway/bindsym-media b/config/sway/bindsym-media
index 5b75934..c72491a 100644
--- a/config/sway/bindsym-media
+++ b/config/sway/bindsym-media
@@ -1,8 +1,8 @@
# vim: ft=swayconfig
# Audio control
-bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% && pkill -RTMIN+10 i3blocks
-bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5% && pkill -RTMIN+10 i3blocks
-bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && pkill -RTMIN+10 i3blocks
+bindsym XF86AudioRaiseVolume exec --no-startup-id wpctl set-volume @DEFAULT_SINK@ 0.05+ && pkill -RTMIN+10 i3blocks
+bindsym XF86AudioLowerVolume exec --no-startup-id wpctl set-volume @DEFAULT_SINK@ 0.05- && pkill -RTMIN+10 i3blocks
+bindsym XF86AudioMute exec --no-startup-id wpctl set-volume @DEFAULT_AUDIO_SINK@ toggle && pkill -RTMIN+10 i3blocks
# Run and configure pulsemixer
bindsym $mod+p exec alacritty -t "Pulsemixer" -e pulsemixer