about summary refs log tree commit diff
path: root/hosts/luna
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-06-27 16:27:22 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-06-27 16:31:14 +0200
commit95f119d4c65700bfef1e7e62b9c0b46a77347c68 (patch)
tree8ba742cb0b2435539cfbfe521a24a411bba69898 /hosts/luna
parentFix bug with mountpoint options not being in diff strings (diff)
downloadnixos-config-95f119d4c65700bfef1e7e62b9c0b46a77347c68.tar.gz
nixos-config-95f119d4c65700bfef1e7e62b9c0b46a77347c68.tar.bz2
nixos-config-95f119d4c65700bfef1e7e62b9c0b46a77347c68.zip
fmt
Diffstat (limited to 'hosts/luna')
-rw-r--r--hosts/luna/home.nix35
1 files changed, 23 insertions, 12 deletions
diff --git a/hosts/luna/home.nix b/hosts/luna/home.nix
index 1523495..6fd435e 100644
--- a/hosts/luna/home.nix
+++ b/hosts/luna/home.nix
@@ -49,18 +49,27 @@ in
       builtins.readFile (dotfiles + "/sxhkd/dwm") +
       builtins.readFile (dotfiles + "/sxhkd/base") +
       ''
-            #enter and leave game mode
+      
+        #enter and leave game mode
         alt + shift + F11: ctrl + shift + F11 
-            pkill -ALRM sxhkd
+          pkill -ALRM sxhkd
 
         # Make sxhkd reload its configuration files
         alt + Escape
-        	pkill -USR1 -x sxhkd
+          pkill -USR1 -x sxhkd
 
         #Screenshot
         alt + grave
-                bash ~/.scripts/screenshot
+          bash ~/.scripts/screenshot
 
+        Print
+          bash ~/.scripts/screenshot
+
+        Super_L
+        	dmenu_run -i
+
+        XF86PowerOff
+        	bash /usr/share/dmenu-baitinq-git/scripts/exit
 
         ##################
         ##### VOLUME #####
@@ -68,19 +77,16 @@ in
 
         # Raise volume
         XF86AudioRaiseVolume
-          amixer sset Master 5%+
-        	#pactl set-sink-volume 0 +5%
+        	pactl set-sink-volume 0 +5%
 
         # Lower volume
         XF86AudioLowerVolume
-          amixer sset Master 5%-
-        	#pactl set-sink-volume 0 -5%
+        	pactl set-sink-volume 0 -5%
 
         # Mute audio
         # note: mute always sets audio off (toggle)
         XF86AudioMute
-          amixer sset Master toggle
-        	#pactl set-sink-mute 0 toggle
+        	pactl set-sink-mute 0 toggle
 
 
         ######################
@@ -113,9 +119,14 @@ in
         ######## OTHER #######
         ######################
 
-        XF86TouchpadToggle
-        	exec ~/.config/i3/scripts/toggletouchpad.sh
+        @XF86Back
+            xte 'keydown Alt_L' 'key Left' 'keyup Alt_L'
+
+        @XF86Forward
+            xte 'keydown Alt_L' 'key Right' 'keyup Alt_L'
 
+        @XF86Reload
+            xte 'keydown Control_L' 'key r' 'keyup Control_L'
       '';
 
     "mpv/mpv.conf".text = ''