diff --git a/hyprland.conf b/hyprland.conf index 83535b8..f2f06b3 100644 --- a/hyprland.conf +++ b/hyprland.conf @@ -1,8 +1,8 @@ source=~/.config/hypr/mocha.conf # See https://wiki.hyprland.org/Configuring/Monitors/ -monitor=,preferred,auto,auto -monitor=eDP-1,preferred,0x0,1.566667 +monitor=,highres,auto,auto +monitor=eDP-1,highres,0x0,1.566667 workspace = name:special:magic,monitor:eDP-1,gapsin:10,gapsout:100 @@ -18,6 +18,7 @@ exec-once = blueman-applet exec-once = easyeffects --gapplication-service exec-once = hyprpaper exec-once = kdeconnect-indicator +exec-once = playerctld daemon # Source a file (multi-file configs) # source = ~/.config/hypr/myColors.conf @@ -25,6 +26,7 @@ exec-once = kdeconnect-indicator # Set programs that you use $terminal = kitty $browser = vivaldi-stable --enable-features=UseOzonePlatform --ozone-platform=wayland +$music = tidal-hifi --enable-features=UseOzonePlatform --ozone-platform=wayland $fileManager = thunar $menu = wofi --show drun $powermenu = ~/.config/hypr/power-menu @@ -32,8 +34,13 @@ $lockscreen = swaylock -C ~/.config/swaylock/config # Some default env vars. env = XCURSOR_SIZE,24 +env = GDK_SCALE,2 env = QT_QPA_PLATFORMTHEME,qt5ct # change to qt6ct if you have that +xwayland { + force_zero_scaling = true +} + # For all categories, see https://wiki.hyprland.org/Configuring/Variables/ input { kb_layout = de @@ -169,6 +176,11 @@ $brightness_down = brightnessctl -c backlight set 5%- bind = , XF86AudioMute, exec, $volume_mute binde = , XF86AudioLowerVolume, exec, $volume_down binde = , XF86AudioRaiseVolume, exec, $volume_up + +bind = , XF86AudioPlay, exec, playerctl play-pause +bind = , XF86AudioNext, exec, playerctl next +bind = , XF86AudioPrev, exec, playerctl previous + binde = , XF86MonBrightnessUp, exec, $brightness_up binde = , XF86MonBrightnessDown, exec, $brightness_down bind = , Print, exec, /usr/share/sway/scripts/grimshot --notify save output @@ -177,6 +189,7 @@ bind = Shift, Print, exec, ~/.config/sway/scripts/screenshot.sh # General Keybinds bind = $mainMod, O, exec, $browser +bind = $mainMod, P, exec, $music bind = $mainMod, D, exec, $menu bind = $mainMod, N, exec, $fileManager bind = $mainMod, RETURN, exec, $terminal