diff options
author | ThanosApollo <[email protected]> | 2022-08-14 17:11:40 +0300 |
---|---|---|
committer | ThanosApollo <[email protected]> | 2022-08-14 17:11:40 +0300 |
commit | 942538e939f5ea331a8c45eb36a9f3918849807f (patch) | |
tree | a0eeda631e8c2964049b77c53157bf95ff7e641a /.config/qtile/config.py | |
parent | cc59dafa4eddd0ce37c3e3e46797a9d73461e85f (diff) |
Update Qtile
Diffstat (limited to '.config/qtile/config.py')
-rw-r--r-- | .config/qtile/config.py | 30 |
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' [email protected]_once +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() [email protected]_once -def start_once(): - autostart_path = os.path.expanduser('~/.config/autostart/autostart.sh') - subprocess.run([autostart_path]) - follow_mouse_focus = True |