Compare commits

..

No commits in common. "f8c722050398054ea8c95d278da4923fe54ce2fd" and "64d53fc193bf1203a8e3df9c3feba7f9c7e971b2" have entirely different histories.

3 changed files with 0 additions and 20 deletions

View file

@ -37,7 +37,6 @@ in {
file = { file = {
"/home/${username}/.scripts/audio/get-sink-name.sh".source = ./home/scripts/audio/get-sink-name.sh; "/home/${username}/.scripts/audio/get-sink-name.sh".source = ./home/scripts/audio/get-sink-name.sh;
"/home/${username}/.cache/scripts/get-sink-name.txt".source = ./home/cache/audio/get-sink-name.txt; "/home/${username}/.cache/scripts/get-sink-name.txt".source = ./home/cache/audio/get-sink-name.txt;
"/home/${username}/.cache/scripts/power.sh".source = ./home/scripts/system/power.sh;
}; };
packages = with pkgs; [ packages = with pkgs; [

View file

@ -1,18 +0,0 @@
#!/bin/bash
option=$(printf "Sleep\nLogout\nShutdown\nRestart" | rofi -dmenu -theme Arc-Dark -font 'hack 18')
if [ "$option" = "Sleep" ];
then
i3lock-fancy -g -t "System Locked" -f Hack-Regular
systemctl suspend
elif [ "$option" = "Logout" ];
then
i3-msg exit
elif [ "$option" = "Shutdown" ];
then
poweroff
elif [ "$option" = "Restart" ];
then
reboot
fi

View file

@ -191,7 +191,6 @@ bindsym $mod+Mod1+r reload
bindsym $mod+Shift+r restart bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session) # exit i3 (logs you out of your X session)
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'" bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
bindsym Control+Mod1+Delete exec "bash /home/vylpes/.cache/scripts/power.sh"
# resize window (you can also use the mouse for that) # resize window (you can also use the mouse for that)
mode "resize" { mode "resize" {