personal dotfiles: my Hyprland config
hyprland: fix openrc --user gui
Zach DeCook 2 weeks ago
parent 1b0ccec · commit fb15283
-rw-r--r--.config/hypr/hyprland.conf3
l---------.config/rc/runlevels/gui/hypridle1
l---------.config/rc/runlevels/gui/pipewire1
-rwxr-xr-x.local/bin/mggrep2
4 files changed, 5 insertions, 2 deletions
diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf
index f25487b..32c73d6 100644
--- a/.config/hypr/hyprland.conf
+++ b/.config/hypr/hyprland.conf
@@ -17,7 +17,6 @@ env = GTK_USE_PORTAL,1
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
# Execute your favorite apps at launch
-exec-once = /usr/libexec/pipewire-launcher
# exec-once = waybar & hyprpaper & firefox
exec-once = swaybg -i ~/Pictures/background.jpg -m center
exec-once = sleep 2 && waybar
@@ -60,7 +59,7 @@ env = QT_QPA_SYSTEM_ICON_THEME,breeze
# Some default env vars.
env = XCURSOR_SIZE,24
-exec-once = openrc --user
+exec-once = openrc --user gui
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
diff --git a/.config/rc/runlevels/gui/hypridle b/.config/rc/runlevels/gui/hypridle
new file mode 120000
index 0000000..cda3b81
--- /dev/null
+++ b/.config/rc/runlevels/gui/hypridle
@@ -0,0 +1 @@
+/etc/user/init.d/hypridle \ No newline at end of file
diff --git a/.config/rc/runlevels/gui/pipewire b/.config/rc/runlevels/gui/pipewire
new file mode 120000
index 0000000..1eeaabd
--- /dev/null
+++ b/.config/rc/runlevels/gui/pipewire
@@ -0,0 +1 @@
+/etc/user/init.d/pipewire \ No newline at end of file
diff --git a/.local/bin/mggrep b/.local/bin/mggrep
new file mode 100755
index 0000000..b8ede11
--- /dev/null
+++ b/.local/bin/mggrep
@@ -0,0 +1,2 @@
+#!/bin/sh
+micro $(git grep -ni "$@" |cut -d: -f1-2)