added stuff
This commit is contained in:
parent
e1c8f30eb3
commit
778a5f259a
|
@ -155,6 +155,7 @@ in {
|
||||||
cifs-utils
|
cifs-utils
|
||||||
ffmpeg
|
ffmpeg
|
||||||
pulsemixer
|
pulsemixer
|
||||||
|
wineWowPackages.staging
|
||||||
xorg.xhost
|
xorg.xhost
|
||||||
swaybg
|
swaybg
|
||||||
swww
|
swww
|
||||||
|
|
|
@ -116,6 +116,8 @@ bind = $mainMod, D, exec, dmenu_path | fuzzel -d | sh
|
||||||
bind = $mainMod SHIFT, P, exec, ~/scripts/password-select.sh
|
bind = $mainMod SHIFT, P, exec, ~/scripts/password-select.sh
|
||||||
bind = $mainMod SHIFT, U, exec, ~/scripts/usernames.sh
|
bind = $mainMod SHIFT, U, exec, ~/scripts/usernames.sh
|
||||||
bind = $mainMod SHIFT, O, exec, ~/scripts/otp.sh
|
bind = $mainMod SHIFT, O, exec, ~/scripts/otp.sh
|
||||||
|
bind = $mainMod SHIFT, D, exec, ~/scripts/down.sh
|
||||||
|
bind = $mainMod, U, exec, ~/scripts/up.sh
|
||||||
bind = $mainMod SHIFT, L, exec, hyprlock
|
bind = $mainMod SHIFT, L, exec, hyprlock
|
||||||
bind = $mainMod SHIFT, S, exec, grimblast save area ss.png && wl-copy < ss.png
|
bind = $mainMod SHIFT, S, exec, grimblast save area ss.png && wl-copy < ss.png
|
||||||
bind = $mainMod SHIFT, R, forcerendererreload
|
bind = $mainMod SHIFT, R, forcerendererreload
|
||||||
|
|
18
dotfiles/scripts/down.sh
Executable file
18
dotfiles/scripts/down.sh
Executable file
|
@ -0,0 +1,18 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
if [ -z "$(sudo wg)" ]; then
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
TEXT=$(sudo wg | head -n1)
|
||||||
|
|
||||||
|
readarray -d ": " -t strarr <<< "$TEXT"
|
||||||
|
|
||||||
|
INTERFACE=${strarr[1]}
|
||||||
|
|
||||||
|
echo $INTERFACE > /tmp/interface
|
||||||
|
|
||||||
|
sudo wg-quick down $INTERFACE
|
||||||
|
|
||||||
|
notify-send "Deactivated interface $(cat /tmp/interface)"
|
||||||
|
|
6
dotfiles/scripts/up.sh
Executable file
6
dotfiles/scripts/up.sh
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
sudo wg-quick up $(cat /tmp/interface)
|
||||||
|
|
||||||
|
notify-send "Activated interface $(cat /tmp/interface)"
|
||||||
|
|
3
home.nix
3
home.nix
|
@ -15,11 +15,13 @@
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
fortune
|
fortune
|
||||||
|
libnotify
|
||||||
mako
|
mako
|
||||||
kdePackages.kalgebra
|
kdePackages.kalgebra
|
||||||
libreoffice
|
libreoffice
|
||||||
htop
|
htop
|
||||||
ripgrep
|
ripgrep
|
||||||
|
chromium
|
||||||
xwaylandvideobridge
|
xwaylandvideobridge
|
||||||
qtpass
|
qtpass
|
||||||
pipewire
|
pipewire
|
||||||
|
@ -48,6 +50,7 @@
|
||||||
steam
|
steam
|
||||||
libei
|
libei
|
||||||
hyprlock
|
hyprlock
|
||||||
|
inkscape
|
||||||
waypaper
|
waypaper
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue