diff options
| author | Ryan Schanzenbacher <ryan@rschanz.org> | 2023-07-05 21:15:23 -0400 |
|---|---|---|
| committer | Ryan Schanzenbacher <ryan@rschanz.org> | 2023-07-05 21:15:23 -0400 |
| commit | 8cebfbd1d7c05451796c425076d48d562f0fbaa2 (patch) | |
| tree | e3028999830c6abc318aad8019b9d68b315294de | |
| parent | bbdc3d8697ff3025d655de5174e7b9f18926263a (diff) | |
idrk what i changed its been a month :skull:
| -rwxr-xr-x | home-config/hypr/autostart.sh | 6 | ||||
| -rw-r--r-- | home-config/hypr/hyprland.conf | 3 | ||||
| -rw-r--r-- | modules/ryan-packages/freedesktop.scm | 34 |
3 files changed, 20 insertions, 23 deletions
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 @@ | |||
| 1 | #!/usr/bin/env bash | 1 | #!/usr/bin/env bash |
| 2 | 2 | ||
| 3 | hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP & | ||
| 4 | |||
| 3 | waybar & | 5 | waybar & |
| 4 | 6 | ||
| 5 | mako & | 7 | mako & |
| @@ -7,3 +9,7 @@ mako & | |||
| 7 | swaybg -i ~/.config/hypr/Wallpapers/mountains.jpg & | 9 | swaybg -i ~/.config/hypr/Wallpapers/mountains.jpg & |
| 8 | 10 | ||
| 9 | 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' & | 11 | 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' & |
| 12 | |||
| 13 | syncthing serve --no-browser & | ||
| 14 | |||
| 15 | 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 | |||
| 119 | 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 | 119 | 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 |
| 120 | bind = $mainMod, P, pseudo, # dwindle | 120 | bind = $mainMod, P, pseudo, # dwindle |
| 121 | bind = $mainMod, J, togglesplit, # dwindle | 121 | bind = $mainMod, J, togglesplit, # dwindle |
| 122 | bind = $mainMod, F, fullscreen | 122 | bind = $mainMod, F, fullscreen, 1 |
| 123 | bind = $mainMod SHIFT, F, fullscreen | ||
| 123 | bind = ,XF86MonBrightnessUp, exec, light -A 10 | 124 | bind = ,XF86MonBrightnessUp, exec, light -A 10 |
| 124 | bind = ,XF86MonBrightnessDown, exec, light -U 10 | 125 | bind = ,XF86MonBrightnessDown, exec, light -U 10 |
| 125 | 126 | ||
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 @@ | |||
| 49 | (build-system meson-build-system) | 49 | (build-system meson-build-system) |
| 50 | (arguments | 50 | (arguments |
| 51 | (list | 51 | (list |
| 52 | #:configure-flags #~(list "-Dsystemd=disabled"))) | 52 | #:tests? #f |
| 53 | (native-inputs (list cmake pkg-config wayland hyprland-protocols)) | 53 | #:configure-flags #~(list "-Dsystemd=disabled") |
| 54 | (inputs (list elogind hyprland hyprland-protocols pipewire wayland-protocols wayland libinih mesa `(,util-linux "lib"))) | 54 | #:phases |
| 55 | #~(modify-phases %standard-phases | ||
| 56 | (add-after 'build 'chdir-and-build | ||
| 57 | (lambda _ (chdir "../source/hyprland-share-picker/") | ||
| 58 | (invoke "make"))) | ||
| 59 | (add-after 'install 'install-picker | ||
| 60 | (lambda _ (install-file "hyprland-share-picker" (string-append #$output "/bin"))))))) | ||
| 61 | (native-inputs (list cmake pkg-config)) | ||
| 62 | (inputs (list elogind hyprland hyprland-protocols pipewire wayland-protocols wayland libinih mesa qtwayland `(,util-linux "lib"))) | ||
| 55 | (home-page "") | 63 | (home-page "") |
| 56 | (synopsis "test") | 64 | (synopsis "test") |
| 57 | (description "test") | 65 | (description "test") |
| 58 | (license license:bsd-3))) | 66 | (license license:bsd-3))) |
| 59 | 67 | ||
| 60 | (define-public hyprland-share-picker | 68 | xdg-desktop-portal-hyprland |
| 61 | (package | ||
| 62 | (inherit xdg-desktop-portal-hyprland) | ||
| 63 | (name "hyprland-share-picker") | ||
| 64 | (build-system qt-build-system) | ||
| 65 | (inputs (modify-inputs (package-inputs xdg-desktop-portal-hyprland) | ||
| 66 | (append qtwayland-5))) | ||
| 67 | (native-inputs (modify-inputs (package-native-inputs xdg-desktop-portal-hyprland) | ||
| 68 | (append qtwayland-5))) | ||
| 69 | (arguments | ||
| 70 | (list | ||
| 71 | #:tests? #f | ||
| 72 | #:phases | ||
| 73 | #~(modify-phases %standard-phases | ||
| 74 | (add-after 'unpack 'chdir | ||
| 75 | (lambda _ (chdir "hyprland-share-picker")))))) | ||
| 76 | (synopsis "share picker"))) | ||
| 77 | |||
| 78 | hyprland-share-picker | ||
