diff options
-rw-r--r-- | .config/hypr/hyprland.conf | 10 | ||||
-rwxr-xr-x | .config/hypr/start.sh | 6 | ||||
-rw-r--r-- | .config/shell/profile | 5 | ||||
-rwxr-xr-x | .local/bin/portal | 6 |
4 files changed, 17 insertions, 10 deletions
diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 123d07a..ab14211 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -7,7 +7,7 @@ $menu = mew-run exec-once = dbus-update-activation-environment --all exec-once = foot --server -exec-once = start-pipewire +exec-once = gentoo-pipewire-launcher restart & exec-once = mpd exec-once = waybar exec-once = mako @@ -19,11 +19,11 @@ exec-once = gnome-keyring-daemon --start --components=secrets exec-once = portal env = XCURSOR_SIZE,24 -env = XCURSOR_THEME,Retrowaita +env = XCURSOR_THEME,Adwaita env = HYPRCURSOR_SIZE,24 -env = HYPRCURSOR_THEME,Retrowaita +env = HYPRCURSOR_THEME,Adwaita env = GBM_BACKEND,nvidia-drm -env = GTK_THEME,Everforest-Purple-Dark +env = GTK_THEME,Everforest-Dark # ecosystem { # enforce_permissions = 1 @@ -153,7 +153,7 @@ gestures { $mainMod = SUPER bind = $mainMod, Return, exec, $terminal bind = $mainMod, Q, killactive, -bind = $mainMod, W, exec, icecat +bind = $mainMod, W, exec, $BROWSER bind = $mainMod, R, exec, $terminal -e yazi bind = $mainMod SHIFT, D, exec, tessen bind = $mainMod, V, togglefloating, diff --git a/.config/hypr/start.sh b/.config/hypr/start.sh new file mode 100755 index 0000000..815964b --- /dev/null +++ b/.config/hypr/start.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +export XDG_RUNTIME_DIR="/tmp/hyprland" +mkdir -p $XDG_RUNTIME_DIR +chmod 0700 $XDG_RUNTIME_DIR +exec dbus-run-session Hyprland diff --git a/.config/shell/profile b/.config/shell/profile index ee4854f..c2abd95 100644 --- a/.config/shell/profile +++ b/.config/shell/profile @@ -13,7 +13,8 @@ export EDITOR="nvim" export MANPAGER='nvim +Man!' export TERMINAL="footclient" export TERMINAL_PROG="footclient" -export BROWSER="icecat" +export TERMCMD="footclient" +export BROWSER="librewolf" unset SSH_AGENT_PID if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then @@ -87,4 +88,4 @@ export BAT_THEME="gruvbox-dark" [ ! -f "$XDG_CONFIG_HOME/shell/shortcutrc" ] && setsid -f shortcuts >/dev/null 2>&1 # Start graphical server on user's current tty if not already running. -[ "$(tty)" = "/dev/tty1" ] && ! pidof -s Hyprland >/dev/null 2>&1 && exec dbus-run-session Hyprland +[ "$(tty)" = "/dev/tty1" ] && ! pidof -s Hyprland >/dev/null 2>&1 && exec ~/.config/hypr/start.sh diff --git a/.local/bin/portal b/.local/bin/portal index c73e77b..8cab945 100755 --- a/.local/bin/portal +++ b/.local/bin/portal @@ -1,8 +1,8 @@ #!/bin/sh sleep 1 -killall /lib/xdg-desktop-portal-hyprland +killall xdg-desktop-portal-hyprland killall xdg-desktop-portal-wlr killall xdg-desktop-portal killall xdg-desktop-portal-termfilechooser -/lib/xdg-desktop-portal-hyprland & -/lib/xdg-desktop-portal-termfilechooser -r & +/usr/libexec/xdg-desktop-portal-hyprland & +/usr/libexec/xdg-desktop-portal-termfilechooser -r & |