From 7717727bd2b55ebf9092e53371948aaf537b5d18 Mon Sep 17 00:00:00 2001 From: Liam Malone Date: Mon, 24 Nov 2025 13:44:32 +0000 Subject: [PATCH] Update Hyprland windowrules for new syntax --- configs/dms-desktop/settings.json | 134 +++++++++++++++++++----------- configs/hypr/hyprland.conf | 91 ++++++++++---------- 2 files changed, 130 insertions(+), 95 deletions(-) diff --git a/configs/dms-desktop/settings.json b/configs/dms-desktop/settings.json index 44400a6..0fcae51 100644 --- a/configs/dms-desktop/settings.json +++ b/configs/dms-desktop/settings.json @@ -4,11 +4,10 @@ "matugenScheme": "scheme-fidelity", "runUserMatugenTemplates": true, "matugenTargetMonitor": "", - "dankBarTransparency": 0, - "dankBarWidgetTransparency": 1, "popupTransparency": 1, "dockTransparency": 1, "widgetBackgroundColor": "sch", + "widgetColorMode": "default", "cornerRadius": 10, "use24HourClock": true, "showSeconds": false, @@ -36,9 +35,14 @@ "showNotificationButton": true, "showBattery": true, "showControlCenterButton": true, + "showCapsLockIndicator": true, "controlCenterShowNetworkIcon": true, "controlCenterShowBluetoothIcon": true, "controlCenterShowAudioIcon": true, + "showPrivacyButton": true, + "privacyShowMicIcon": false, + "privacyShowCameraIcon": false, + "privacyShowScreenShareIcon": false, "controlCenterWidgets": [ { "id": "volumeSlider", @@ -89,37 +93,11 @@ "clockDateFormat": "", "lockDateFormat": "", "mediaSize": 1, - "dankBarLeftWidgets": [ - "launcherButton", - "workspaceSwitcher", - { - "id": "focusedWindow", - "enabled": true - } - ], - "dankBarCenterWidgets": [ - "music", - "clock", - "weather" - ], - "dankBarRightWidgets": [ - { - "id": "systemTray", - "enabled": true - }, - { - "id": "notificationButton", - "enabled": true - }, - { - "id": "controlCenterButton", - "enabled": true - } - ], - "dankBarWidgetOrder": [], "appLauncherViewMode": "list", "spotlightModalViewMode": "grid", "sortAppsAlphabetically": false, + "appLauncherGridColumns": 4, + "spotlightCloseNiriOverview": true, "weatherLocation": "Dublin, Leinster", "weatherCoordinates": "53.3493795,-6.2605593", "useAutoLocation": true, @@ -138,7 +116,6 @@ "monoFontFamily": "Kelmscott Mono", "fontWeight": 400, "fontScale": 1, - "dankBarFontScale": 1, "notepadUseMonospace": true, "notepadFontFamily": "", "notepadFontSize": 14, @@ -163,9 +140,14 @@ "loginctlLockIntegration": true, "launchPrefix": "", "brightnessDevicePins": {}, + "wifiNetworkPins": {}, + "bluetoothDevicePins": {}, + "audioInputDevicePins": {}, + "audioOutputDevicePins": {}, "gtkThemingEnabled": false, "qtThemingEnabled": false, "syncModeWithPortal": true, + "terminalsAlwaysDark": false, "showDock": false, "dockAutoHide": false, "dockGroupByApp": false, @@ -177,24 +159,6 @@ "dockIconSize": 40, "dockIndicatorStyle": "circle", "notificationOverlayEnabled": false, - "dankBarAutoHide": false, - "dankBarOpenOnOverview": false, - "dankBarVisible": true, - "dankBarSpacing": 3, - "dankBarBottomGap": 0, - "dankBarInnerPadding": 4, - "dankBarPosition": 3, - "dankBarSquareCorners": false, - "dankBarNoBackground": false, - "dankBarGothCornersEnabled": false, - "dankBarGothCornerRadiusOverride": false, - "dankBarGothCornerRadiusValue": 12, - "dankBarBorderEnabled": false, - "dankBarBorderColor": "surfaceText", - "dankBarBorderOpacity": 1, - "dankBarBorderThickness": 1, - "popupGapsAuto": true, - "popupGapsManual": 4, "modalDarkenBackground": true, "lockScreenShowPowerActions": true, "enableFprint": false, @@ -205,6 +169,14 @@ "notificationTimeoutCritical": 0, "notificationPopupPosition": 0, "osdAlwaysShowValue": false, + "osdPosition": 5, + "osdVolumeEnabled": true, + "osdMediaVolumeEnabled": true, + "osdBrightnessEnabled": true, + "osdIdleInhibitorEnabled": true, + "osdMicMuteEnabled": true, + "osdCapsLockEnabled": true, + "osdPowerProfileEnabled": false, "powerActionConfirm": true, "powerMenuActions": [ "reboot", @@ -215,6 +187,7 @@ "restart" ], "powerMenuDefaultAction": "logout", + "powerMenuGridLayout": false, "customPowerActionLock": "", "customPowerActionLogout": "", "customPowerActionSuspend": "", @@ -224,6 +197,7 @@ "updaterUseCustomCommand": false, "updaterCustomCommand": "", "updaterTerminalAdditionalParams": "", + "displayNameMode": "system", "screenPreferences": { "osd": [ "DP-1" @@ -244,5 +218,65 @@ "showOnLastDisplay": { "dankBar": false }, - "configVersion": 1 + "barConfigs": [ + { + "id": "default", + "name": "Main Bar", + "enabled": true, + "position": 3, + "screenPreferences": [ + "all" + ], + "showOnLastDisplay": true, + "leftWidgets": [ + "launcherButton", + "workspaceSwitcher", + { + "id": "focusedWindow", + "enabled": true + } + ], + "centerWidgets": [ + "music", + "clock", + "weather" + ], + "rightWidgets": [ + { + "id": "systemTray", + "enabled": true + }, + { + "id": "notificationButton", + "enabled": true + }, + { + "id": "controlCenterButton", + "enabled": true + } + ], + "spacing": 3, + "innerPadding": 4, + "bottomGap": 0, + "transparency": 0, + "widgetTransparency": 1, + "squareCorners": false, + "noBackground": false, + "gothCornersEnabled": false, + "gothCornerRadiusOverride": false, + "gothCornerRadiusValue": 12, + "borderEnabled": false, + "borderColor": "surfaceText", + "borderOpacity": 1, + "borderThickness": 1, + "fontScale": 1, + "autoHide": false, + "autoHideDelay": 250, + "openOnOverview": false, + "visible": true, + "popupGapsAuto": true, + "popupGapsManual": 4 + } + ], + "configVersion": 2 } \ No newline at end of file diff --git a/configs/hypr/hyprland.conf b/configs/hypr/hyprland.conf index 9c08833..4d2eca5 100644 --- a/configs/hypr/hyprland.conf +++ b/configs/hypr/hyprland.conf @@ -124,54 +124,55 @@ misc { # Window Rules # Rule :: Window -$idleInhibFs = idleinhibit fullscreen -$idleInhibFo = idleinhibit focus +$idleInhibFs = idle_inhibit fullscreen +$idleInhibFo = idle_inhibit focus $ws = workspace - windowrule = $idleInhibFs, class:^(floorp)$ - windowrule = $idleInhibFs, class:^(firefox)$ - windowrule = $idleInhibFs, class:^(ghostty)$ - windowrule = $idleInhibFs, class:^(brave-browser)$ - - windowrule = $idleInhibFo, class:^(mpv)$ - windowrule = $idleInhibFo, class:^(firefox)$ - windowrule = $idleInhibFo, class:^(floorp)$ - windowrule = $idleInhibFo, class:^(spotify)$ - windowrule = $idleInhibFo, class:^(Emacs|emacs)$ - windowrule = $idleInhibFo, class:^(brave-browser)$ - windowrule = $idleInhibFo, class:^(Discord|discord)$ - - windowrule = opacity 0.98 0.90, class:^(Discord|discord)$ - windowrule = opacity 0.96 0.90, class:^(Emacs|emacs)$ - - windowrule = float, class:^(.*desktop-portal.*)$ - windowrule = float, class:^(polkit.*agent.*)$ - windowrule = float, class:^(praat)$ - windowrule = float, class:^(network)$ - windowrule = float, class:^(nm-)$ - windowrule = float, class:^(Network)$ - windowrule = float, class:^(Rofi)$ - windowrule = float, class:^(Gimp)$ - windowrule = float, class:^(thunar)$ - windowrule = float, class:^(Nautilus)$ - windowrule = float, title:^(LmDev-.*)$ - windowrule = float, class:^(notification)$ - windowrule = float, class:^(Genymotion Player)$ - windowrule = float, class:^(launcher)$ - windowrule = float, class:steam, title:^(Friends List)$ - - windowrule = tile, class:^(Spotify)$ - windowrule = tile, title:^(Minecraft)$ - windowrule = $ws $ws_shell, class:^(KeePassXC)$ - windowrule = $ws $ws_web, class:^(firefox)$ - windowrule = $ws $ws_web, class:^(floorp)$ - windowrule = $ws $ws_web, class:^(brave-browser)$ - windowrule = $ws $ws_music, class:^(Spotify)$ - windowrule = $ws $ws_chat, class:^(discord)$ - windowrule = $ws $ws_chat, class:^(signal)$, title:^(Signal)$ - windowrule = $ws $ws_video, class:^(.*obs.*)$ - windowrule = $ws $ws_game, title:^(Minecraft)$ + windowrule = match:class ^(floorp)$, $idleInhibFs + windowrule = match:class ^(firefox)$, $idleInhibFs + windowrule = match:class ^(ghostty)$, $idleInhibFs + windowrule = match:class ^(brave-browser)$, $idleInhibFs + + windowrule = match:class ^(mpv)$, $idleInhibFo + windowrule = match:class ^(firefox)$, $idleInhibFo + windowrule = match:class ^(floorp)$, $idleInhibFo + windowrule = match:class ^(spotify)$, $idleInhibFo + windowrule = match:class ^(Emacs|emacs)$, $idleInhibFo + windowrule = match:class ^(brave-browser)$, $idleInhibFo + windowrule = match:class ^(Discord|discord)$, $idleInhibFo + + windowrule = match:class ^(Discord|discord)$, opacity 0.98 0.90 + windowrule = match:class ^(Emacs|emacs)$, opacity 0.96 0.90 + + windowrule = match:class ^(.*desktop-portal.*)$, float on + windowrule = match:class ^(polkit.*agent.*)$, float on + windowrule = match:class ^(praat)$, float on + windowrule = match:class ^(network)$, float on + windowrule = match:class ^(nm-)$, float on + windowrule = match:class ^(Network)$, float on + windowrule = match:class ^(Rofi)$, float on + windowrule = match:class ^(Gimp)$, float on + windowrule = match:class ^(thunar)$, float on + windowrule = match:class ^(Nautilus)$, float on + windowrule = match:title ^(LmDev-.*)$, float on + windowrule = match:class ^(notification)$, float on + windowrule = match:class ^(Genymotion Player)$, float on + windowrule = match:class ^(launcher)$, float on + windowrule = match:class steam, match:title ^(Friends List)$, float on + + windowrule = match:class ^(Spotify)$, tile on + windowrule = match:title ^(Minecraft)$, tile on + + windowrule = match:class ^(KeePassXC)$, $ws $ws_shell + windowrule = match:class ^(firefox)$, $ws $ws_web + windowrule = match:class ^(floorp)$, $ws $ws_web + windowrule = match:class ^(brave-browser)$, $ws $ws_web + windowrule = match:class ^(Spotify)$, $ws $ws_music + windowrule = match:class ^(discord)$, $ws $ws_chat + windowrule = match:class ^(signal)$, match:title ^(Signal)$, $ws $ws_chat + windowrule = match:class ^(.*obs.*)$, $ws $ws_video + windowrule = match:title ^(Minecraft)$, $ws $ws_game # Commands # :Alias: :Command: