home/natto: misc changes
add mpdris change emacs package hyprland keybind changes random changes to home.packages Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
		@@ -236,6 +236,8 @@ For autocomplete
 | 
			
		||||
 | 
			
		||||
(use-package rustic)
 | 
			
		||||
 | 
			
		||||
(use-package yuck-mode)
 | 
			
		||||
 | 
			
		||||
(use-package wgsl-mode)
 | 
			
		||||
 | 
			
		||||
(use-package nix-mode
 | 
			
		||||
 
 | 
			
		||||
@@ -64,20 +64,24 @@ gestures {
 | 
			
		||||
    workspace_swipe = off
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
$mainMod = SUPER
 | 
			
		||||
 | 
			
		||||
windowrule=float, ^.*(iwgtk)$
 | 
			
		||||
 | 
			
		||||
$mainMod=SUPER
 | 
			
		||||
 | 
			
		||||
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
 | 
			
		||||
bindr=SUPER SHIFT, D, exec, pkill tofi || tofi-run --require-match=false | xargs hyprctl dispatch exec --
 | 
			
		||||
 | 
			
		||||
bind=$mainMod, P, exec, mpc toggle
 | 
			
		||||
bind=, XF86AudioNext, exec, mpc seek +00:00:05
 | 
			
		||||
bind=, XF86AudioPrev, exec, mpc seek -00:00:05
 | 
			
		||||
bind=$mainMod, XF86AudioNext, exec, mpc next
 | 
			
		||||
bind=$mainMod, XF86AudioPrev, exec, mpc prev
 | 
			
		||||
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
 | 
			
		||||
bind=, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
 | 
			
		||||
 | 
			
		||||
binde=, XF86MonBrightnessUp, exec, light -A 5
 | 
			
		||||
binde=, XF86MonBrightnessDown, exec, light -U 5
 | 
			
		||||
@@ -88,6 +92,9 @@ bind=$mainMod SHIFT, F3, exec, setxkbmap in deva
 | 
			
		||||
bind=$mainMod SHIFT, F4, exec, setxkbmap in guru
 | 
			
		||||
bind=$mainMod SHIFT, F5, exec, setxkbmap colemak dhz
 | 
			
		||||
 | 
			
		||||
bind=, PRINT, exec, grimblast --notify copysave screen
 | 
			
		||||
bind=SHIFT, PRINT, exec, grimblast --notify copysave area
 | 
			
		||||
 | 
			
		||||
binde=$mainMod SHIFT, Q, killactive,
 | 
			
		||||
bind=$mainMod ALT, f, exit,
 | 
			
		||||
bind=$mainMod SHIFT, t, pseudo,
 | 
			
		||||
 
 | 
			
		||||
@@ -70,22 +70,22 @@ myKeys conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $
 | 
			
		||||
     spawn "flameshot gui -d 10000")
 | 
			
		||||
 | 
			
		||||
  , ((modMask, xK_p),
 | 
			
		||||
     spawn "mpc toggle")
 | 
			
		||||
     spawn "playerctl play-pause")
 | 
			
		||||
 | 
			
		||||
  , ((0, xF86XK_AudioPlay),
 | 
			
		||||
     spawn "mpc toggle")
 | 
			
		||||
     spawn "playerctl play-pause")
 | 
			
		||||
 | 
			
		||||
  , ((modMask, xF86XK_AudioNext),
 | 
			
		||||
     spawn "mpc next")
 | 
			
		||||
     spawn "playerctl next")
 | 
			
		||||
 | 
			
		||||
  , ((modMask, xF86XK_AudioPrev),
 | 
			
		||||
     spawn "mpc prev")
 | 
			
		||||
     spawn "playerctl previous")
 | 
			
		||||
 | 
			
		||||
  , ((0, xF86XK_AudioPrev),
 | 
			
		||||
     spawn "mpc seek -00:00:05")
 | 
			
		||||
     spawn "playerctl position 5-")
 | 
			
		||||
 | 
			
		||||
  , ((0, xF86XK_AudioNext),
 | 
			
		||||
     spawn "mpc seek +00:00:05")
 | 
			
		||||
     spawn "playerctl position 5+")
 | 
			
		||||
 | 
			
		||||
  , ((0, xF86XK_AudioRaiseVolume),
 | 
			
		||||
     spawn "pamixer --allow-boost -ui 5")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user