switch to ags bar
This commit is contained in:
parent
f2c9c8a6d5
commit
6d717b946b
3 changed files with 18 additions and 8 deletions
|
|
@ -4,20 +4,21 @@
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Nvidia/
|
# https://wiki.hyprland.org/Nvidia/
|
||||||
|
|
||||||
env = LIBVA_DRIVER_NAME,nvidia
|
env = LIBVA_DRIVER_NAME,nvidia
|
||||||
|
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
||||||
|
|
||||||
|
env = NVD_BACKEND,direct
|
||||||
|
|
||||||
|
env = ELECTRON_OZONE_PLATFORM_HINT,auto
|
||||||
|
|
||||||
env = XDG_SESSION_TYPE,wayland
|
env = XDG_SESSION_TYPE,wayland
|
||||||
env = GBM_BACKEND,nvidia-drm
|
env = GBM_BACKEND,nvidia-drm
|
||||||
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
|
||||||
cursor {
|
cursor {
|
||||||
no_hardware_cursors = true
|
no_hardware_cursors = true
|
||||||
}
|
}
|
||||||
env = NVD_BACKEND,direct
|
|
||||||
|
|
||||||
env = XCURSOR_SIZE,24
|
env = XCURSOR_SIZE,24
|
||||||
env = QT_QPA_PLATFORM,wayland
|
env = QT_QPA_PLATFORM,wayland
|
||||||
env = WLR_NO_HARDWARE_CURSORS,1
|
env = WLR_NO_HARDWARE_CURSORS,1
|
||||||
env = __GL_VRR_ALLOWED,1
|
env = __GL_VRR_ALLOWED,1
|
||||||
env = WLR_DRM_NO_ATOMIC,1
|
env = WLR_DRM_NO_ATOMIC,1
|
||||||
|
|
||||||
env = ELECTRON_OZONE_PLATFORM_HINT,auto
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,8 @@ exec-once = bash ~/.config/hypr/scripts/start-swaync.sh
|
||||||
# Idle Daemon
|
# Idle Daemon
|
||||||
exec-once = hypridle
|
exec-once = hypridle
|
||||||
# Status-bar
|
# Status-bar
|
||||||
exec-once = bash ~/.config/hypr/scripts/start-waybar.sh
|
# exec-once = bash ~/.config/hypr/scripts/start-waybar.sh
|
||||||
|
exec-once = bash ~/dotfiles/hypr/scripts/run-ags.sh
|
||||||
# Emotes
|
# Emotes
|
||||||
exec-once = emote
|
exec-once = emote
|
||||||
# Wallpaper Daemon
|
# Wallpaper Daemon
|
||||||
|
|
@ -16,5 +17,5 @@ exec-once = [workspace 2 silent] signal-desktop --password-store="gnome-libsecre
|
||||||
exec-once = [workspace 3 silent] zen-browser
|
exec-once = [workspace 3 silent] zen-browser
|
||||||
exec-once = [workspace 4 silent] kitty
|
exec-once = [workspace 4 silent] kitty
|
||||||
exec-once = [workspace special:terminal silent] kitty
|
exec-once = [workspace special:terminal silent] kitty
|
||||||
exec-once = [workspace special:music silent] deezer
|
exec-once = [workspace special:music silent] deezer --enable-features=UseOzonePlatform --ozone-platform=wayland
|
||||||
|
|
||||||
|
|
|
||||||
8
hypr/scripts/run-ags.sh
Normal file
8
hypr/scripts/run-ags.sh
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
#!/bin/sh
|
||||||
|
CONFIG_FILES="$HOME/dotfiles/ags"
|
||||||
|
while true; do
|
||||||
|
sleep 1.6
|
||||||
|
ags run --gtk4 -d "$CONFIG_FILES" &
|
||||||
|
inotifywait -e create,modify -r "$CONFIG_FILES"
|
||||||
|
killall gjs
|
||||||
|
done
|
||||||
Loading…
Add table
Reference in a new issue