about summary refs log tree commit diff
path: root/hosts
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
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')
-rw-r--r--hosts/home.nix4
-rw-r--r--hosts/luna/home.nix35
-rw-r--r--hosts/phobos/home.nix6
-rw-r--r--hosts/vm/home.nix3
4 files changed, 30 insertions, 18 deletions
diff --git a/hosts/home.nix b/hosts/home.nix
index aae29e7..6d508cf 100644
--- a/hosts/home.nix
+++ b/hosts/home.nix
@@ -44,9 +44,9 @@ in
       enable = true;
       enableSshSupport = true;
       sshKeys = [ "BC10A40920B576F641480795B9C7E01A4E47DA9F" ];
-      defaultCacheTtl = 43200;#12h
+      defaultCacheTtl = 43200; #12h
       defaultCacheTtlSsh = 43200;
-      maxCacheTtl = 86400;#24h
+      maxCacheTtl = 86400; #24h
       maxCacheTtlSsh = 86400;
     };
   };
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 = ''
diff --git a/hosts/phobos/home.nix b/hosts/phobos/home.nix
index 3e666ef..3238db6 100644
--- a/hosts/phobos/home.nix
+++ b/hosts/phobos/home.nix
@@ -43,7 +43,8 @@ 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
 
@@ -53,7 +54,7 @@ in
 
         #Screenshot
         alt + grave
-                bash ~/.scripts/screenshot
+          bash ~/.scripts/screenshot
 
 
         ##################
@@ -109,7 +110,6 @@ in
 
         XF86TouchpadToggle
         	exec ~/.config/i3/scripts/toggletouchpad.sh
-
       '';
   };
 
diff --git a/hosts/vm/home.nix b/hosts/vm/home.nix
index 13fa378..19c9e26 100644
--- a/hosts/vm/home.nix
+++ b/hosts/vm/home.nix
@@ -36,7 +36,8 @@ 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