Compare commits

..

No commits in common. "e4328481a8b9d9b4ff037e97455fa4b24c052649" and "c016a23c7e1180ad9cbf73e6bf030f0a06939f3e" have entirely different histories.

2 changed files with 6 additions and 11 deletions

View file

@ -27,7 +27,7 @@ exec-once = ~/.config/hypr/xdg-portal-hyprland
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec-once = swww-daemon
exec-once = swww init
exec-once = sh -c "sleep 2 && swww clear"
#exec-once = swww img Downloads/PC\ Wallpapers/gifpixel/rooftop.gif
#exec-once = mpvpaper '*' -o "video-scale-y=1.1 --gpu-context=wayland --vo=gpu --hwdec=vaapi-copy" videowork/bgloop.webm
@ -400,10 +400,10 @@ bind = ALT, SPACE, exec, pypr shift_monitors +1 # K R A S I V O
bind = $mainMod, P, pseudo, # dwindle
#bind = $mainMod, J, togglesplit, # dwindle
#bind = $mainMod, S, exec,XCURSOR_SIZE=16 sh -c "grim -g "$(slurp)" - | tee >(swappy -f -) | wl-copy" # take a screenshot
#bind = $mainMod, S, exec, grim -g "$(slurp)" - | tee >(swappy -f -) | wl-copy # take a screenshot
bind = $mainMod, S, exec,XCURSOR_SIZE=16 grimblast --freeze copy area # take a screenshot
bind = $mainMod SHIFT, S, exec,XCURSOR_SIZE=16 sh -c 'grim -g "$(slurp)" - | qrtool decode | tee >(wl-copy) >(notify-send --icon=clipboard "QR Code Content" "$(cat)")'
#bind = $mainMod, Print, exec, /home/delta/.config/hypr/grimblast.sh # take a screenshot
bind = $mainMod, Print, exec, /home/delta/.config/hypr/grimblast.sh # take a screenshot
# bind = $mainMod, Print, exec, /home/delta/scripts/screenshoter.sh # take a screenshot
bind = ,Print , exec, wl-paste | swappy -f - # take a screenshot
#bind = $mainMod, S, exec, /home/delta/screenshoter.sh # take a screenshot

View file

@ -19,8 +19,6 @@ let
NetworkNamespacePath = "/run/netns/novpn";
User = "socks";
Group = "socks";
StandardInput= if socketConfig != null then [ "socket" ] else [ ];
StandardOutput=if socketConfig != null then [ "socket" ] else [ ];
};
script = script;
@ -45,6 +43,7 @@ let
{ name = "opera-socks";
script = "sing-box run -c ${opera-singboxcfg} & opera-proxy -bootstrap-dns https://1.1.1.1/dns-query -bind-address 192.168.150.2:18088";
autostart = false;
socketConfig = { port = "3335"; idleStopSec = "180s"; };
} # port 3335
];
@ -53,16 +52,10 @@ let
value = {
description = "Socket activation for ${name}";
wantedBy = [ "sockets.target" ];
bindsTo = [ "novpn.service" ];
after = [ "novpn.service" "network-online.target" ];
socketConfig = {
ListenStream = "${port}";
IdleStopSec = idleStopSec;
NetworkNamespacePath = "/run/netns/novpn";
User = "socks";
Group = "socks";
};
};
};
@ -78,6 +71,8 @@ let
"type": "socks",
"listen": "192.168.150.2",
"listen_port": 3335,
"sniff": true,
"sniff_override_destination": true
}
],
"outbounds": [