Some prelim changes, THIS BRANCH DOES NOT WORK

This commit is contained in:
Ryan 2023-07-15 15:03:45 -04:00
parent 8cebfbd1d7
commit d96fae90d7
Signed by: ryan77627
GPG key ID: 81B0E222A3E2308E
4 changed files with 41 additions and 6 deletions

View file

@ -75,6 +75,8 @@
"kdenlive" "kdenlive"
"sqlite" "sqlite"
"mpv" "mpv"
"playerctl"
"pamixer"
"git")) "git"))
(list my-neovim))) (list my-neovim)))

View file

@ -15,7 +15,7 @@ monitor=,preferred,auto,1
# exec-once = waybar & hyprpaper & firefox # exec-once = waybar & hyprpaper & firefox
# Source a file (multi-file configs) # Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf source = ~/.config/hypr/monitors.conf
# Some default env vars. # Some default env vars.
env = XCURSOR_SIZE,24 env = XCURSOR_SIZE,24
@ -123,6 +123,19 @@ bind = $mainMod, F, fullscreen, 1
bind = $mainMod SHIFT, F, fullscreen bind = $mainMod SHIFT, F, fullscreen
bind = ,XF86MonBrightnessUp, exec, light -A 10 bind = ,XF86MonBrightnessUp, exec, light -A 10
bind = ,XF86MonBrightnessDown, exec, light -U 10 bind = ,XF86MonBrightnessDown, exec, light -U 10
bind = ,XF86AudioRaiseVolume, exec, pamixer -i 5
bind = ,XF86AudioLowerVolume, exec, pamixer -d 5
bind = ,XF86AudioMute, exec, pamixer -t
bind = ,XF86AudioPlay, exec, playerctl play-pause
bind = ,XF86AudioNext, exec, playerctl next
bind = ,XF86AudioPrev, exec, playerctl previous
bind = ,XF86AudioStop, exec, playerctl stop
# Move workspace between monitors
bind = $mainMod CTRL SHIFT, left, movecurrentworkspacetomonitor, l
bind = $mainMod CTRL SHIFT, right, movecurrentworkspacetomonitor, r
bind = $mainMod CTRL SHIFT, up, movecurrentworkspacetomonitor, u
bind = $mainMod CTRL SHIFT, down, movecurrentworkspacetomonitor, d
# Move focus with mainMod + arrow keys # Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l bind = $mainMod, left, movefocus, l

View file

@ -0,0 +1,2 @@
monitor=eDP-1,1920x1080, 1920x0, 1
monitor=HDMI-A-1,1920x1080, 0x0, 1

View file

@ -49,15 +49,33 @@
(build-system meson-build-system) (build-system meson-build-system)
(arguments (arguments
(list (list
#:modules
'((guix build utils)
(guix build meson-build-system)
((guix build qt-build-system) #:prefix qt:))
#:imported-modules
(append %meson-build-system-modules
%qt-build-system-modules)
#:tests? #f #:tests? #f
#:configure-flags #~(list "-Dsystemd=disabled") #:configure-flags #~(list "-Dsystemd=disabled")
#:phases #:phases
;; After building the portal, we need to build the share selector using qt
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'build 'chdir-and-build (add-after 'install 'chdir
(lambda _ (chdir "../source/hyprland-share-picker/") (lambda _ (chdir "../source/hyprland-share-picker/")))
(invoke "make"))) (add-after 'chdir 'check-setup
(add-after 'install 'install-picker (assoc-ref qt:%standard-phases 'check-setup))
(lambda _ (install-file "hyprland-share-picker" (string-append #$output "/bin"))))))) (add-after 'check-setup 'qt-build-new
(lambda* (#:key inputs outputs #:allow-other-keys)
((assoc-ref qt:%standard-phases 'build)
#:inputs inputs
#:outputs outputs
#:configure-flags '()
#:qtbase (let ((module (resolve-interface '(gnu packages qt))))(module-ref module 'qtbase)))))
(add-after 'qt-build 'qt-install
(assoc-ref qt:%standard-phases 'install))
(add-after 'qt-install 'qt-wrap
(assoc-ref qt:%standard-phases 'qt-wrap)))))
(native-inputs (list cmake pkg-config)) (native-inputs (list cmake pkg-config))
(inputs (list elogind hyprland hyprland-protocols pipewire wayland-protocols wayland libinih mesa qtwayland `(,util-linux "lib"))) (inputs (list elogind hyprland hyprland-protocols pipewire wayland-protocols wayland libinih mesa qtwayland `(,util-linux "lib")))
(home-page "") (home-page "")