From 2522bb00bfe4394a930aa8591910bdfb52cf8129 Mon Sep 17 00:00:00 2001 From: Daruk Date: Sun, 22 Mar 2026 16:32:10 +0200 Subject: [PATCH] Added monitor settings --- hyprland/.config/hypr/hyprland.conf | 2 +- waybar/.config/waybar/config | 20 ++++++++++++++------ 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/hyprland/.config/hypr/hyprland.conf b/hyprland/.config/hypr/hyprland.conf index 351f1fe..cab8e35 100644 --- a/hyprland/.config/hypr/hyprland.conf +++ b/hyprland/.config/hypr/hyprland.conf @@ -23,7 +23,7 @@ # See https://wiki.hypr.land/Configuring/Monitors/ monitor=,preferred,auto,auto - +source = ~/.config/hypr/monitors.conf ################### ### MY PROGRAMS ### diff --git a/waybar/.config/waybar/config b/waybar/.config/waybar/config index a71f864..11b1846 100644 --- a/waybar/.config/waybar/config +++ b/waybar/.config/waybar/config @@ -6,12 +6,8 @@ // "width": 1280, // Waybar width "spacing": 4, // Gaps between modules (4px) // Choose the order of the modules - "modules-left": [ - "hyprland/workspaces" - ], - "modules-center": [ - "hyprland/window" - ], + "modules-left": ["hyprland/workspaces"], + "modules-center": ["hyprland/window", "mpris"], "modules-right": [ "mpd", // "idle_inhibitor", @@ -213,6 +209,18 @@ "exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder // "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name }, + "mpris": { + "format": "{player_icon} {dynamic}", + "format-paused": "{status_icon} {dynamic}", + "player-icons": { + "default": "▶", + "spotify": "" + }, + "status-icons": { + "paused": "⏸" + }, + "ignored-players": [] + }, "custom/power": { "format" : "⏻ ", "tooltip": false,