diff --git a/home-config/hypr/autostart.sh b/home-config/hypr/autostart.sh index ed66fff..4881fd9 100755 --- a/home-config/hypr/autostart.sh +++ b/home-config/hypr/autostart.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP & + waybar & mako & @@ -7,3 +9,7 @@ mako & swaybg -i ~/.config/hypr/Wallpapers/mountains.jpg & swayidle -w timeout 300 'swaylock --screenshots --clock --indicator --grace 3 --fade-in 1 --effect-blur 7x5 --effect-greyscale' timeout 600 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep 'swaylock -f -c 000000' & + +syncthing serve --no-browser & + +blueman-applet & diff --git a/home-config/hypr/hyprland.conf b/home-config/hypr/hyprland.conf index 5df73de..2c23c63 100644 --- a/home-config/hypr/hyprland.conf +++ b/home-config/hypr/hyprland.conf @@ -119,7 +119,8 @@ bind = $mainMod SHIFT, Space, togglefloating bind = $mainMod, D, exec, fuzzel --width=35 --font='Hack:weight=bold:size=12' --background-color='282a36fa' --selection-color='3d4460fa' --line-height=20 --border-radius=20 bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, J, togglesplit, # dwindle -bind = $mainMod, F, fullscreen +bind = $mainMod, F, fullscreen, 1 +bind = $mainMod SHIFT, F, fullscreen bind = ,XF86MonBrightnessUp, exec, light -A 10 bind = ,XF86MonBrightnessDown, exec, light -U 10 diff --git a/modules/ryan-packages/freedesktop.scm b/modules/ryan-packages/freedesktop.scm index 57c3442..e5db0af 100644 --- a/modules/ryan-packages/freedesktop.scm +++ b/modules/ryan-packages/freedesktop.scm @@ -49,30 +49,20 @@ (build-system meson-build-system) (arguments (list - #:configure-flags #~(list "-Dsystemd=disabled"))) - (native-inputs (list cmake pkg-config wayland hyprland-protocols)) - (inputs (list elogind hyprland hyprland-protocols pipewire wayland-protocols wayland libinih mesa `(,util-linux "lib"))) + #:tests? #f + #:configure-flags #~(list "-Dsystemd=disabled") + #:phases + #~(modify-phases %standard-phases + (add-after 'build 'chdir-and-build + (lambda _ (chdir "../source/hyprland-share-picker/") + (invoke "make"))) + (add-after 'install 'install-picker + (lambda _ (install-file "hyprland-share-picker" (string-append #$output "/bin"))))))) + (native-inputs (list cmake pkg-config)) + (inputs (list elogind hyprland hyprland-protocols pipewire wayland-protocols wayland libinih mesa qtwayland `(,util-linux "lib"))) (home-page "") (synopsis "test") (description "test") (license license:bsd-3))) -(define-public hyprland-share-picker - (package - (inherit xdg-desktop-portal-hyprland) - (name "hyprland-share-picker") - (build-system qt-build-system) - (inputs (modify-inputs (package-inputs xdg-desktop-portal-hyprland) - (append qtwayland-5))) - (native-inputs (modify-inputs (package-native-inputs xdg-desktop-portal-hyprland) - (append qtwayland-5))) - (arguments - (list - #:tests? #f - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'chdir - (lambda _ (chdir "hyprland-share-picker")))))) - (synopsis "share picker"))) - -hyprland-share-picker +xdg-desktop-portal-hyprland