summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Schanzenbacher <ryan@rschanz.org>2023-07-05 21:15:23 -0400
committerRyan Schanzenbacher <ryan@rschanz.org>2023-07-05 21:15:23 -0400
commit8cebfbd1d7c05451796c425076d48d562f0fbaa2 (patch)
treee3028999830c6abc318aad8019b9d68b315294de
parentbbdc3d8697ff3025d655de5174e7b9f18926263a (diff)
idrk what i changed its been a month :skull:
-rwxr-xr-xhome-config/hypr/autostart.sh6
-rw-r--r--home-config/hypr/hyprland.conf3
-rw-r--r--modules/ryan-packages/freedesktop.scm34
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
3hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP &
4
3waybar & 5waybar &
4 6
5mako & 7mako &
@@ -7,3 +9,7 @@ mako &
7swaybg -i ~/.config/hypr/Wallpapers/mountains.jpg & 9swaybg -i ~/.config/hypr/Wallpapers/mountains.jpg &
8 10
9swayidle -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' & 11swayidle -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
13syncthing serve --no-browser &
14
15blueman-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
119bind = $mainMod, D, exec, fuzzel --width=35 --font='Hack:weight=bold:size=12' --background-color='282a36fa' --selection-color='3d4460fa' --line-height=20 --border-radius=20 119bind = $mainMod, D, exec, fuzzel --width=35 --font='Hack:weight=bold:size=12' --background-color='282a36fa' --selection-color='3d4460fa' --line-height=20 --border-radius=20
120bind = $mainMod, P, pseudo, # dwindle 120bind = $mainMod, P, pseudo, # dwindle
121bind = $mainMod, J, togglesplit, # dwindle 121bind = $mainMod, J, togglesplit, # dwindle
122bind = $mainMod, F, fullscreen 122bind = $mainMod, F, fullscreen, 1
123bind = $mainMod SHIFT, F, fullscreen
123bind = ,XF86MonBrightnessUp, exec, light -A 10 124bind = ,XF86MonBrightnessUp, exec, light -A 10
124bind = ,XF86MonBrightnessDown, exec, light -U 10 125bind = ,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 68xdg-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
78hyprland-share-picker