summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/qtile/config.py30
1 files changed, 22 insertions, 8 deletions
diff --git a/.config/qtile/config.py b/.config/qtile/config.py
index 6bf8cf6..b6fb191 100644
--- a/.config/qtile/config.py
+++ b/.config/qtile/config.py
@@ -42,6 +42,12 @@ mod1 = "alt"
mod2 = "control"
image = '~/Pictures/medicine/caduceus-crystal.jpg'
+def start_once():
+ autostart_path = os.path.expanduser('~/.config/autostart/autostart.sh')
+ subprocess.run([autostart_path])
+
+
@lazy.function
def window_to_prev_group(qtile):
if qtile.currentWindow is not None:
@@ -71,9 +77,9 @@ keys = [
lazy.spawn("dmenu_run -p 'Run: '"),
desc='Run Launcher'
),
- Key([mod], "p",
- lazy.spawn("passmenu -p 'Password for: '"),
- ),
+ # Key([mod], "p",
+ # lazy.spawn("passmenu -p 'Password for: '"),
+ # ),
Key([mod], "b",
lazy.spawn(myBrowser),
desc='Qutebrowser'
@@ -180,6 +186,19 @@ keys = [
lazy.spawn('amixer sset Master 5%+'),
desc="Increase volume"
),
+ ### Music
+ Key([mod, "shift"], "p",
+ lazy.spawn("playerctl play-pause"),
+ desc="play/pause music"
+ ),
+ Key([mod, "shift"], "l",
+ lazy.spawn("playerctl next"),
+ desc="next song"
+ ),
+ Key([mod, "shift"], "h",
+ lazy.spawn("playerctl previous"),
+ desc="previous song"
+ ),
### Change languages
Key([mod], "F1",
lazy.spawn("setxkbmap us"),
@@ -456,11 +475,6 @@ screens = init_screens()
-def start_once():
- autostart_path = os.path.expanduser('~/.config/autostart/autostart.sh')
- subprocess.run([autostart_path])
-
follow_mouse_focus = True