mirror of
https://git.in.rschanz.org/ryan77627/guix-config.git
synced 2024-11-07 07:36:09 -05:00
Some prelim changes, THIS BRANCH DOES NOT WORK
This commit is contained in:
parent
8cebfbd1d7
commit
d96fae90d7
4 changed files with 41 additions and 6 deletions
|
@ -75,6 +75,8 @@
|
|||
"kdenlive"
|
||||
"sqlite"
|
||||
"mpv"
|
||||
"playerctl"
|
||||
"pamixer"
|
||||
"git"))
|
||||
(list my-neovim)))
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ monitor=,preferred,auto,1
|
|||
# exec-once = waybar & hyprpaper & firefox
|
||||
|
||||
# Source a file (multi-file configs)
|
||||
# source = ~/.config/hypr/myColors.conf
|
||||
source = ~/.config/hypr/monitors.conf
|
||||
|
||||
# Some default env vars.
|
||||
env = XCURSOR_SIZE,24
|
||||
|
@ -123,6 +123,19 @@ bind = $mainMod, F, fullscreen, 1
|
|||
bind = $mainMod SHIFT, F, fullscreen
|
||||
bind = ,XF86MonBrightnessUp, exec, light -A 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
|
||||
bind = $mainMod, left, movefocus, l
|
||||
|
|
2
home-config/hypr/monitors.conf
Normal file
2
home-config/hypr/monitors.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
monitor=eDP-1,1920x1080, 1920x0, 1
|
||||
monitor=HDMI-A-1,1920x1080, 0x0, 1
|
|
@ -49,15 +49,33 @@
|
|||
(build-system meson-build-system)
|
||||
(arguments
|
||||
(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
|
||||
#:configure-flags #~(list "-Dsystemd=disabled")
|
||||
#:phases
|
||||
;; After building the portal, we need to build the share selector using qt
|
||||
#~(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")))))))
|
||||
(add-after 'install 'chdir
|
||||
(lambda _ (chdir "../source/hyprland-share-picker/")))
|
||||
(add-after 'chdir 'check-setup
|
||||
(assoc-ref qt:%standard-phases 'check-setup))
|
||||
(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))
|
||||
(inputs (list elogind hyprland hyprland-protocols pipewire wayland-protocols wayland libinih mesa qtwayland `(,util-linux "lib")))
|
||||
(home-page "")
|
||||
|
|
Loading…
Reference in a new issue