From 261834ead7a66d52256b3d1173870ab07dc7569b Mon Sep 17 00:00:00 2001 From: Pablu23 Date: Fri, 24 May 2024 14:29:41 +0200 Subject: [PATCH] Added spotify --- .config/hypr/config/binds.conf | 3 ++- .config/hypr/config/programs.conf | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.config/hypr/config/binds.conf b/.config/hypr/config/binds.conf index a5cfa53..40eee63 100644 --- a/.config/hypr/config/binds.conf +++ b/.config/hypr/config/binds.conf @@ -5,7 +5,7 @@ $mainMod = SUPER # Sets "Windows" key as main modifier # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = $mainMod, T, exec, $terminal bind = $mainMod, Q, killactive, -bind = $mainMod, M, exit, +bind = $mainMod Control_L, Q, exit, bind = $mainMod, E, exec, $fileManager bind = $mainMod, V, togglefloating, bind = $mainMod, R, exec, $menu @@ -15,6 +15,7 @@ bind = $mainMod, J, togglesplit, # dwindle bind = $mainMod, D, exec, $discord bind = $mainMod, B, exec, $browser bind = $mainMod, L, exec, $hyprlock +bind = $mainMod, M, exec, $spotify # also make sure you created a directory called screenshots in Pictures/ otherwise the screenshots won't appear anywhere bind = $mainMod, S, exec, grim -o DP-3 "${HOME}/Pictures/screenshots/screenshot-$(date +%F-%T).png" # screenshot + crop keybind diff --git a/.config/hypr/config/programs.conf b/.config/hypr/config/programs.conf index 8dc354d..32d9fb5 100644 --- a/.config/hypr/config/programs.conf +++ b/.config/hypr/config/programs.conf @@ -4,9 +4,13 @@ $menu = wofi --show drun $browser = firefox $discord = LIBVA_DRIVER_NAME=nvidia discord --ignore-gpu-blocklist --disable-features=UseOzonePlatform --enable-features=VaapiVideoDecoder --use-gl=desktop --enable-gpu-rasterization --enable-zero-copy $hyprlock = hyprlock +$spotify = LIBVA_DRIVER_NAME=nvidia spotify-launcher +# --enable-features=UseOzonePlatform --ozone-platform=wayland # exec-once = hyprctl dispatch workspace 1 exec-once = [workspace 1 silent] $terminal -exec-once = [workspace 6 silend] $discord +exec-once = [workspace 6 silent] $discord +exec-once = [workspace 6 silent] $spotify exec-once = waybar exec-once = hyprpaper +exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP