change playerctl shortcuts
This commit is contained in:
@@ -73,12 +73,14 @@ binde=$mainMod, RETURN, exec, foot
|
||||
bindr=SUPER, D, exec, pkill tofi || tofi-drun | xargs hyprctl dispatch exec --
|
||||
bindr=SUPER SHIFT, D, exec, pkill tofi || tofi-run --require-match=false | xargs hyprctl dispatch exec --
|
||||
|
||||
bind=$mainMod, P, exec, playerctl play-pause
|
||||
bind=, XF86AudioPlay, exec, playerctl play-pause
|
||||
bind=, XF86AudioNext, exec, playerctl position 5+
|
||||
bind=, XF86AudioPrev, exec, playerctl position 5-
|
||||
bind=$mainMod, XF86AudioNext, exec, playerctl next
|
||||
bind=$mainMod, XF86AudioPrev, exec, playerctl previous
|
||||
$playerctl=playerctl -p 'playerctld,%any'
|
||||
|
||||
bind=$mainMod, P, exec, $playerctl play-pause
|
||||
bind=, XF86AudioPlay, exec, $playerctl play-pause
|
||||
bind=, XF86AudioNext, exec, $playerctl position 5+
|
||||
bind=, XF86AudioPrev, exec, $playerctl position 5-
|
||||
bind=$mainMod, XF86AudioNext, exec, $playerctl next
|
||||
bind=$mainMod, XF86AudioPrev, exec, $playerctl previous
|
||||
binde=, XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
||||
binde=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||
bind=, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
|
@@ -50,6 +50,8 @@ myXmobarrc = "~/.xmonad/lib/xmobar.hs"
|
||||
myWorkspaces = clickable $ ["\xf269", "\xf120", "\xf121", "\xf392", "\xf008", "\xf07b", "\xf11b", "\xf086", "\xf074" ]
|
||||
where clickable l = ["<action=`xdotool key super+" ++ show (n) ++ "`>" ++ ws ++ "</action>" | (i,ws) <- zip [1..9] l, let n = i ]
|
||||
|
||||
playerctl = "playerctl -p 'playerctld,%any'"
|
||||
|
||||
myKeys conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $
|
||||
[ ((modMask, xK_Return),
|
||||
spawn $ XMonad.terminal conf)
|
||||
@@ -70,22 +72,22 @@ myKeys conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $
|
||||
spawn "flameshot gui -d 10000")
|
||||
|
||||
, ((modMask, xK_p),
|
||||
spawn "playerctl play-pause")
|
||||
spawn (playerctl ++ " play-pause"))
|
||||
|
||||
, ((0, xF86XK_AudioPlay),
|
||||
spawn "playerctl play-pause")
|
||||
spawn (playerctl ++ " play-pause"))
|
||||
|
||||
, ((modMask, xF86XK_AudioNext),
|
||||
spawn "playerctl next")
|
||||
spawn (playerctl ++ " next"))
|
||||
|
||||
, ((modMask, xF86XK_AudioPrev),
|
||||
spawn "playerctl previous")
|
||||
spawn (playerctl ++ " previous"))
|
||||
|
||||
, ((0, xF86XK_AudioPrev),
|
||||
spawn "playerctl position 5-")
|
||||
spawn (playerctl ++ " position 5-"))
|
||||
|
||||
, ((0, xF86XK_AudioNext),
|
||||
spawn "playerctl position 5+")
|
||||
spawn (playerctl ++ " position 5+"))
|
||||
|
||||
, ((0, xF86XK_AudioRaiseVolume),
|
||||
spawn "pamixer --allow-boost -ui 5")
|
||||
|
@@ -10,7 +10,7 @@
|
||||
./email.nix
|
||||
./programs.nix
|
||||
./eww
|
||||
# ./xsession.nix :(
|
||||
# ./xsession.nix :(
|
||||
./wayland.nix
|
||||
./pkgs.nix
|
||||
./stuff.nix
|
||||
|
@@ -141,7 +141,7 @@ Free %: ${round(100 - EWW_RAM.used_mem_perc, 2)}%"
|
||||
:class "battery")
|
||||
(system_metric
|
||||
:value {round((1 - (EWW_DISK["/"].free / EWW_DISK["/"].total)) * 100, 0)}
|
||||
:tooltip "Free Disk: ${round(EWW_DISK['/'].free / EWW_DISK['/'].total * 100, 2)} GB
|
||||
:tooltip "Free Disk: ${round(EWW_DISK['/'].free / 1024 / 1024, 2)} GB
|
||||
Free Disk %: ${round(EWW_DISK['/'].free / EWW_DISK['/'].total * 100, 2)}%"
|
||||
:class "disk"))))
|
||||
|
||||
|
@@ -46,6 +46,7 @@
|
||||
dunst
|
||||
authy
|
||||
gnome.zenity
|
||||
iwgtk
|
||||
|
||||
# Wine and games and stuff
|
||||
steam
|
||||
|
@@ -8,7 +8,6 @@ in
|
||||
autocd = true;
|
||||
history = rec {
|
||||
expireDuplicatesFirst = true;
|
||||
ignoreDups = true;
|
||||
size = 30000;
|
||||
save = size;
|
||||
};
|
||||
|
Reference in New Issue
Block a user