My Qtile window manager configuration
git clone https://github.com/m-col/qtile-config
Files | Refs | Readme

Commit 26b2094257ed1de41791e00c0a6be75dc244c0cd
Parent: 93ad15ea048a3a2a38a6dda7eb302b37293a6301
Author: mcol <mcol@posteo.net>
Date: 2021-10-23 16:04:34 +0100
Committer: mcol <mcol@posteo.net>
Committed: 2021-10-23 16:04:34 +0100

update audio keybindings

config.py Modified

@@ -161,6 +161,7 @@
     (['shift'],         'Print',    lazy.spawn('screenshot'),                   "Screenshot to file"),
     ([mod],             'p',        lazy.spawn('get_password_rofi'),            "Keepass passwords"),
     ([mod],             'i',        lazy.spawn('systemctl suspend -i'),         "Suspend system"),
+    ([], 'Pause',                   lazy.spawn('mpc toggle'),                   "Play/unpause music"),
 ])
 
 
@@ -327,12 +328,12 @@
                 f.write(str(self.volume) + "\n")
 
     def cmd_increase_vol(self):
-        subprocess.call('amixer -c PCH set PCM 4%+'.split())
+        subprocess.call('amixer -c PCH set PCM 3%+'.split())
         self.volume = self.get_volume()
         self._update_drawer(wob=IS_WAYLAND)
 
     def cmd_decrease_vol(self):
-        subprocess.call('amixer -c PCH set PCM 4%-'.split())
+        subprocess.call('amixer -c PCH set PCM 3%-'.split())
         self.volume = self.get_volume()
         self._update_drawer(wob=IS_WAYLAND)