Added spotify

This commit is contained in:
Pablu23
2024-05-24 14:29:41 +02:00
parent 748fe0e25b
commit 261834ead7
2 changed files with 7 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ $mainMod = SUPER # Sets "Windows" key as main modifier
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, T, exec, $terminal bind = $mainMod, T, exec, $terminal
bind = $mainMod, Q, killactive, bind = $mainMod, Q, killactive,
bind = $mainMod, M, exit, bind = $mainMod Control_L, Q, exit,
bind = $mainMod, E, exec, $fileManager bind = $mainMod, E, exec, $fileManager
bind = $mainMod, V, togglefloating, bind = $mainMod, V, togglefloating,
bind = $mainMod, R, exec, $menu bind = $mainMod, R, exec, $menu
@@ -15,6 +15,7 @@ bind = $mainMod, J, togglesplit, # dwindle
bind = $mainMod, D, exec, $discord bind = $mainMod, D, exec, $discord
bind = $mainMod, B, exec, $browser bind = $mainMod, B, exec, $browser
bind = $mainMod, L, exec, $hyprlock 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 # 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" bind = $mainMod, S, exec, grim -o DP-3 "${HOME}/Pictures/screenshots/screenshot-$(date +%F-%T).png"
# screenshot + crop keybind # screenshot + crop keybind

View File

@@ -4,9 +4,13 @@ $menu = wofi --show drun
$browser = firefox $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 $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 $hyprlock = hyprlock
$spotify = LIBVA_DRIVER_NAME=nvidia spotify-launcher
# --enable-features=UseOzonePlatform --ozone-platform=wayland
# exec-once = hyprctl dispatch workspace 1 # exec-once = hyprctl dispatch workspace 1
exec-once = [workspace 1 silent] $terminal 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 = waybar
exec-once = hyprpaper exec-once = hyprpaper
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP