diff --git a/config/hypr/config/autoexec.conf b/config/hypr/config/autoexec.conf index 800522e..6456318 100644 --- a/config/hypr/config/autoexec.conf +++ b/config/hypr/config/autoexec.conf @@ -10,6 +10,9 @@ exec-once = swww-daemon # Notification Manager exec-once = dunst +# Gentoo Stuff +exec-once = bash ~/config/scripts/gentoo-init.sh + # Clipboard Manager exec-once = wl-paste --watch cliphist store @@ -20,7 +23,10 @@ exec-once = bash ~/config/scripts/xdg.sh exec-once = bash ~/config/scripts/gtk.sh # Start Hot Reload -exec-once = "bash ~/config/scripts/hot-reload.sh" +exec-once = bash ~/config/scripts/hot-reload.sh + +# Hyprland polkit +exec-once = /usr/libexec/hyprpolkitagent # exec-once = arrpc diff --git a/config/hypr/config/permissions.conf b/config/hypr/config/permissions.conf index 6ced441..650a4a5 100644 --- a/config/hypr/config/permissions.conf +++ b/config/hypr/config/permissions.conf @@ -3,6 +3,9 @@ ecosystem { } permission = /nix/store/[A-Za-z0-9]+\-(wrapped-)?(grim|hyprlock|xdg-desktop-portal-hyprland|obs-studio|hyprpicker)\-.*, screencopy, allow +permission = /(usr/)?bin/(grim|hyprlock|xdg-desktop-portal-hyprland|obs-studio|hyprpicker), screencopy, allow +permission = /run/current-system/sw/bin/(grim|hyprlock|xdg-desktop-portal-hyprland|obs-studio|hyprpicker), screencopy, allow + # hyprlang noerror true diff --git a/config/hypr/config/variables.conf b/config/hypr/config/variables.conf index 1dca1af..6f482d9 100644 --- a/config/hypr/config/variables.conf +++ b/config/hypr/config/variables.conf @@ -6,7 +6,7 @@ $mainMod = SUPER # Programs $terminal = ghostty -$fileManager = nautilus +$fileManager = dolphin $menu = wofi --show drun $browser = zen diff --git a/config/hypr/hyprpaper.conf b/config/hypr/hyprpaper.conf index fecb2d0..4723921 100644 --- a/config/hypr/hyprpaper.conf +++ b/config/hypr/hyprpaper.conf @@ -1,2 +1,5 @@ -preload = ~/.config/hypr/wallpaper.png -wallpaper = ,~/.config/hypr/wallpaper.png \ No newline at end of file +# preload = ~/.config/hypr/wallpaper.png +# wallpaper = ,~/.config/hypr/wallpaper.png + +preload = ~/Pictures/Wallpapers/kralsei.jpeg +wallpaper = ,~/Pictures/Wallpapers/kralsei.jpeg diff --git a/config/waybar/modules.json b/config/waybar/modules.json index f53c47a..c80b609 100644 --- a/config/waybar/modules.json +++ b/config/waybar/modules.json @@ -15,13 +15,13 @@ }, "mpris": { - "players": ["cider", "OCbwoy3_s_iPhone"], + "players": ["cmus", "elisa", "cider", "OCbwoy3_s_iPhone"], "interval": 1, - "on-scroll-up": "playerctl -p cider,OCbwoy3_s_iPhone volume 0.05+", - "on-scroll-down": "playerctl -p cider,OCbwoy3_s_iPhone volume 0.05-", - "on-click": "playerctl -p cider,OCbwoy3_s_iPhone play-pause", - "on-click-right": "playerctl -p cider,OCbwoy3_s_iPhone next", - "on-click-middle": "playerctl -p cider,OCbwoy3_s_iPhone previous", + "on-scroll-up": "playerctl -p cmus,elisa,cider,OCbwoy3_s_iPhone volume 0.05+", + "on-scroll-down": "playerctl -p cmus,elisa,cider,OCbwoy3_s_iPhone volume 0.05-", + "on-click": "playerctl -p cmus,elisa,cider,OCbwoy3_s_iPhone play-pause", + "on-click-right": "playerctl -p cmus,elisa,cider,OCbwoy3_s_iPhone next", + "on-click-middle": "playerctl -p cmus,elisa,cider,OCbwoy3_s_iPhone previous", "format": " {artist} — {title}", "tooltip-format": "{album}", "tooltip-format-stopped": "", diff --git a/scripts/dev/setup-gentoo-symlinks.sh b/scripts/dev/setup-gentoo-symlinks.sh new file mode 100644 index 0000000..e659158 --- /dev/null +++ b/scripts/dev/setup-gentoo-symlinks.sh @@ -0,0 +1,32 @@ +#!/bin/bash + +DOTFILES_DIR="/home/ocbwoy3/config/config" + +# fastfetch +ln -sfn "${DOTFILES_DIR}/fastfetch" "${HOME}/.config/fastfetch" + +# dunst +ln -sfn "${DOTFILES_DIR}/dunst" "${HOME}/.config/dunst" + +# hypr +ln -sfn "${DOTFILES_DIR}/hypr" "${HOME}/.config/hypr" + +# xdg-desktop-portal +ln -sfn "${DOTFILES_DIR}/xdg-desktop-portal" "${HOME}/.config/xdg-desktop-portal" + +# ghostty +ln -sfn "${DOTFILES_DIR}/ghostty" "${HOME}/.config/ghostty" + +# wlogout +ln -sfn "${DOTFILES_DIR}/wlogout" "${HOME}/.config/wlogout" + +# qt5ct +ln -sfn "${DOTFILES_DIR}/qt5ct" "${HOME}/.config/qt5ct" + +# wofi +ln -sfn "${DOTFILES_DIR}/wofi" "${HOME}/.config/wofi" + +# dotfile font +ln -sfn "${DOTFILES_DIR}/dotfile_deps/DotfilesFont.otf" "${HOME}/.local/share/fonts/DotfilesFont.otf" + +echo "symlinked this that" \ No newline at end of file diff --git a/scripts/gentoo-init.sh b/scripts/gentoo-init.sh new file mode 100644 index 0000000..38c7dc4 --- /dev/null +++ b/scripts/gentoo-init.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +if [[ "$(hostname)" == "gentoo" ]]; then + notify-send "ocbwoy3-gentoo-debug" "audio init" + hyprctl dispatch exec pipewire + hyprctl dispatch exec pipewire-pulse + hyprctl dispatch exec wireplumber +fi \ No newline at end of file diff --git a/scripts/xdg.sh b/scripts/xdg.sh index e824937..2ee48c5 100755 --- a/scripts/xdg.sh +++ b/scripts/xdg.sh @@ -2,6 +2,8 @@ sleep 1 +notify-send "ocbwoy3-gentoo-debug" "ran xdg setup" + # kill all possible running xdg-desktop-portals kill -9 $(pidof xdg-desktop-portal-hyprland) kill -9 $(pidof xdg-desktop-portal-gnome) @@ -13,9 +15,13 @@ kill -9 $(pidof xdg-desktop-portal) sleep 1 # start xdg-desktop-portal-hyprland -/usr/lib/xdg-desktop-portal-hyprland & +hyprctl dispatch exec /usr/lib/xdg-desktop-portal-hyprland & sleep 2 +notify-send "ocbwoy3-gentoo-debug" "xdph" + # start xdg-desktop-portal -/usr/lib/xdg-desktop-portal & +hyprctl dispatch exec /usr/lib/xdg-desktop-portal & sleep 1 + +notify-send "ocbwoy3-gentoo-debug" "xdp" \ No newline at end of file