summary refs log tree commit diff
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@librem.one>2025-10-21 20:57:20 -0400
committerZach DeCook <zachdecook@librem.one>2025-10-21 20:57:20 -0400
commitfb152830716cb14a3679d325ab6313c10f175c02 (patch)
treecd3b6fcf0e63b1b910023a16055a7cd3def215d1
parent1b0ccecdde74f9cc9efd501f38fb614ffb1733aa (diff)
downloaddotfiles-enchilada.tar.gz
hyprland: fix openrc --user gui enchilada
-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)