Compare commits

..

4 commits

Author SHA1 Message Date
Christoph Hollizeck bc1a7c4092
adguardhome: increase statistic retention time 2024-11-26 17:03:05 +01:00
Christoph Hollizeck ca9b9f6222
rp5: move things in separate configs, to be reused 2024-11-26 17:02:32 +01:00
Christoph Hollizeck fbd3a669fd
xwayland: tried to fix clipboard issues
originally wanted to fix a 1password copy issue, but that fixed itself after a restart, leaving xclip and the commented code in for potentional future endeavors
2024-11-26 15:08:30 +01:00
Christoph Hollizeck 7f80d5a263
xwayland: refer to xrandr package rather than global installation 2024-11-26 15:06:39 +01:00
2 changed files with 52 additions and 2 deletions

View file

@ -34,6 +34,48 @@ let
1password&
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
{
options.${namespace}.desktop.hyprland = {
@ -54,9 +96,14 @@ in
libnotify
# Wayland Utilities
wl-clipboard
wlr-randr
# Clipboard Stuff
wl-clipboard
xclip
clipnotify
# clipsync
# Screenshot Utility
grimblast
@ -128,6 +175,8 @@ in
"[workspace 8 silent] vesktop"
"[workspace 9 silent] 1password"
"[workspace 1 silent] zen"
"${pkgs.xorg.xhost}/bin/xhost +"
];
windowrulev2 = [

View file

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