Compare commits
4 commits
5851a73bbe
...
bc1a7c4092
Author | SHA1 | Date | |
---|---|---|---|
|
bc1a7c4092 | ||
|
ca9b9f6222 | ||
|
fbd3a669fd | ||
|
7f80d5a263 |
|
@ -34,6 +34,48 @@ 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 = {
|
||||||
|
@ -54,9 +96,14 @@ in
|
||||||
libnotify
|
libnotify
|
||||||
|
|
||||||
# Wayland Utilities
|
# Wayland Utilities
|
||||||
wl-clipboard
|
|
||||||
wlr-randr
|
wlr-randr
|
||||||
|
|
||||||
|
# Clipboard Stuff
|
||||||
|
wl-clipboard
|
||||||
|
xclip
|
||||||
|
clipnotify
|
||||||
|
# clipsync
|
||||||
|
|
||||||
# Screenshot Utility
|
# Screenshot Utility
|
||||||
grimblast
|
grimblast
|
||||||
|
|
||||||
|
@ -128,6 +175,8 @@ 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 = [
|
||||||
|
|
|
@ -80,9 +80,10 @@ 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 = [
|
||||||
|
|
Loading…
Reference in a new issue