Compare commits

..

2 commits

2 changed files with 2 additions and 52 deletions

View file

@ -34,48 +34,6 @@ let
1password& 1password&
fi fi
''; '';
# clipsync = pkgs.writeShellScriptBin "clipsync" ''
# insert() {
# # Read all the piped input into variable.
# value=$(cat)
# wValue="$(wl-paste)"
# xValue="$(xclip -o -selection clipboard)"
# notify() {
# notify-send -u low -c clipboard "$1" "$value"
# }
# if [ "$value" != "$wValue" ]; then
# notify "Wayland"
# echo -n "$value" | wl-copy
# fi
# if [ "$value" != "$xValue" ]; then
# notify "X11"
# echo -n "$value" | xclip -selection clipboard
# fi
# }
# watch() {
# # Wayland -> X11
# wl-paste --type text --watch clipsync insert &
# # X11 -> Wayland
# while clipnotify; do
# xclip -o -selection clipboard | clipsync insert
# done &
# }
# kill() {
# pkill wl-paste
# pkill clipnotify
# pkill xclip
# pkill clipsync
# }
# "$@"
# '';
in in
{ {
options.${namespace}.desktop.hyprland = { options.${namespace}.desktop.hyprland = {
@ -96,13 +54,8 @@ in
libnotify libnotify
# Wayland Utilities # Wayland Utilities
wlr-randr
# Clipboard Stuff
wl-clipboard wl-clipboard
xclip wlr-randr
clipnotify
# clipsync
# Screenshot Utility # Screenshot Utility
grimblast grimblast
@ -175,8 +128,6 @@ in
"[workspace 8 silent] vesktop" "[workspace 8 silent] vesktop"
"[workspace 9 silent] 1password" "[workspace 9 silent] 1password"
"[workspace 1 silent] zen" "[workspace 1 silent] zen"
"${pkgs.xorg.xhost}/bin/xhost +"
]; ];
windowrulev2 = [ windowrulev2 = [

View file

@ -80,10 +80,9 @@ in
}; };
exec-once = [ exec-once = [
"xrandr --output DP-2 --primary"
"[workspace 1 silent] obsidian --disabled-gpu" "[workspace 1 silent] obsidian --disabled-gpu"
"[workspace 9 silent] git-butler" "[workspace 9 silent] git-butler"
"${pkgs.xorg.xrandr}/bin/xrandr --output DP-2 --primary"
]; ];
workspace = [ workspace = [