Update Hyprland windowrules for new syntax

This commit is contained in:
2025-11-24 13:44:32 +00:00
parent 12b9f60475
commit 7717727bd2
2 changed files with 130 additions and 95 deletions
+84 -50
View File
@@ -4,11 +4,10 @@
"matugenScheme": "scheme-fidelity", "matugenScheme": "scheme-fidelity",
"runUserMatugenTemplates": true, "runUserMatugenTemplates": true,
"matugenTargetMonitor": "", "matugenTargetMonitor": "",
"dankBarTransparency": 0,
"dankBarWidgetTransparency": 1,
"popupTransparency": 1, "popupTransparency": 1,
"dockTransparency": 1, "dockTransparency": 1,
"widgetBackgroundColor": "sch", "widgetBackgroundColor": "sch",
"widgetColorMode": "default",
"cornerRadius": 10, "cornerRadius": 10,
"use24HourClock": true, "use24HourClock": true,
"showSeconds": false, "showSeconds": false,
@@ -36,9 +35,14 @@
"showNotificationButton": true, "showNotificationButton": true,
"showBattery": true, "showBattery": true,
"showControlCenterButton": true, "showControlCenterButton": true,
"showCapsLockIndicator": true,
"controlCenterShowNetworkIcon": true, "controlCenterShowNetworkIcon": true,
"controlCenterShowBluetoothIcon": true, "controlCenterShowBluetoothIcon": true,
"controlCenterShowAudioIcon": true, "controlCenterShowAudioIcon": true,
"showPrivacyButton": true,
"privacyShowMicIcon": false,
"privacyShowCameraIcon": false,
"privacyShowScreenShareIcon": false,
"controlCenterWidgets": [ "controlCenterWidgets": [
{ {
"id": "volumeSlider", "id": "volumeSlider",
@@ -89,37 +93,11 @@
"clockDateFormat": "", "clockDateFormat": "",
"lockDateFormat": "", "lockDateFormat": "",
"mediaSize": 1, "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", "appLauncherViewMode": "list",
"spotlightModalViewMode": "grid", "spotlightModalViewMode": "grid",
"sortAppsAlphabetically": false, "sortAppsAlphabetically": false,
"appLauncherGridColumns": 4,
"spotlightCloseNiriOverview": true,
"weatherLocation": "Dublin, Leinster", "weatherLocation": "Dublin, Leinster",
"weatherCoordinates": "53.3493795,-6.2605593", "weatherCoordinates": "53.3493795,-6.2605593",
"useAutoLocation": true, "useAutoLocation": true,
@@ -138,7 +116,6 @@
"monoFontFamily": "Kelmscott Mono", "monoFontFamily": "Kelmscott Mono",
"fontWeight": 400, "fontWeight": 400,
"fontScale": 1, "fontScale": 1,
"dankBarFontScale": 1,
"notepadUseMonospace": true, "notepadUseMonospace": true,
"notepadFontFamily": "", "notepadFontFamily": "",
"notepadFontSize": 14, "notepadFontSize": 14,
@@ -163,9 +140,14 @@
"loginctlLockIntegration": true, "loginctlLockIntegration": true,
"launchPrefix": "", "launchPrefix": "",
"brightnessDevicePins": {}, "brightnessDevicePins": {},
"wifiNetworkPins": {},
"bluetoothDevicePins": {},
"audioInputDevicePins": {},
"audioOutputDevicePins": {},
"gtkThemingEnabled": false, "gtkThemingEnabled": false,
"qtThemingEnabled": false, "qtThemingEnabled": false,
"syncModeWithPortal": true, "syncModeWithPortal": true,
"terminalsAlwaysDark": false,
"showDock": false, "showDock": false,
"dockAutoHide": false, "dockAutoHide": false,
"dockGroupByApp": false, "dockGroupByApp": false,
@@ -177,24 +159,6 @@
"dockIconSize": 40, "dockIconSize": 40,
"dockIndicatorStyle": "circle", "dockIndicatorStyle": "circle",
"notificationOverlayEnabled": false, "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, "modalDarkenBackground": true,
"lockScreenShowPowerActions": true, "lockScreenShowPowerActions": true,
"enableFprint": false, "enableFprint": false,
@@ -205,6 +169,14 @@
"notificationTimeoutCritical": 0, "notificationTimeoutCritical": 0,
"notificationPopupPosition": 0, "notificationPopupPosition": 0,
"osdAlwaysShowValue": false, "osdAlwaysShowValue": false,
"osdPosition": 5,
"osdVolumeEnabled": true,
"osdMediaVolumeEnabled": true,
"osdBrightnessEnabled": true,
"osdIdleInhibitorEnabled": true,
"osdMicMuteEnabled": true,
"osdCapsLockEnabled": true,
"osdPowerProfileEnabled": false,
"powerActionConfirm": true, "powerActionConfirm": true,
"powerMenuActions": [ "powerMenuActions": [
"reboot", "reboot",
@@ -215,6 +187,7 @@
"restart" "restart"
], ],
"powerMenuDefaultAction": "logout", "powerMenuDefaultAction": "logout",
"powerMenuGridLayout": false,
"customPowerActionLock": "", "customPowerActionLock": "",
"customPowerActionLogout": "", "customPowerActionLogout": "",
"customPowerActionSuspend": "", "customPowerActionSuspend": "",
@@ -224,6 +197,7 @@
"updaterUseCustomCommand": false, "updaterUseCustomCommand": false,
"updaterCustomCommand": "", "updaterCustomCommand": "",
"updaterTerminalAdditionalParams": "", "updaterTerminalAdditionalParams": "",
"displayNameMode": "system",
"screenPreferences": { "screenPreferences": {
"osd": [ "osd": [
"DP-1" "DP-1"
@@ -244,5 +218,65 @@
"showOnLastDisplay": { "showOnLastDisplay": {
"dankBar": false "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
} }
+42 -41
View File
@@ -124,54 +124,55 @@ misc {
# Window Rules # Window Rules
# Rule :: Window # Rule :: Window
$idleInhibFs = idleinhibit fullscreen $idleInhibFs = idle_inhibit fullscreen
$idleInhibFo = idleinhibit focus $idleInhibFo = idle_inhibit focus
$ws = workspace $ws = workspace
windowrule = $idleInhibFs, class:^(floorp)$
windowrule = $idleInhibFs, class:^(firefox)$
windowrule = $idleInhibFs, class:^(ghostty)$
windowrule = $idleInhibFs, class:^(brave-browser)$
windowrule = $idleInhibFo, class:^(mpv)$ windowrule = match:class ^(floorp)$, $idleInhibFs
windowrule = $idleInhibFo, class:^(firefox)$ windowrule = match:class ^(firefox)$, $idleInhibFs
windowrule = $idleInhibFo, class:^(floorp)$ windowrule = match:class ^(ghostty)$, $idleInhibFs
windowrule = $idleInhibFo, class:^(spotify)$ windowrule = match:class ^(brave-browser)$, $idleInhibFs
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 = match:class ^(mpv)$, $idleInhibFo
windowrule = opacity 0.96 0.90, class:^(Emacs|emacs)$ 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 = float, class:^(.*desktop-portal.*)$ windowrule = match:class ^(Discord|discord)$, opacity 0.98 0.90
windowrule = float, class:^(polkit.*agent.*)$ windowrule = match:class ^(Emacs|emacs)$, opacity 0.96 0.90
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 = match:class ^(.*desktop-portal.*)$, float on
windowrule = tile, title:^(Minecraft)$ 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 = $ws $ws_shell, class:^(KeePassXC)$ windowrule = match:class ^(Spotify)$, tile on
windowrule = $ws $ws_web, class:^(firefox)$ windowrule = match:title ^(Minecraft)$, tile on
windowrule = $ws $ws_web, class:^(floorp)$
windowrule = $ws $ws_web, class:^(brave-browser)$ windowrule = match:class ^(KeePassXC)$, $ws $ws_shell
windowrule = $ws $ws_music, class:^(Spotify)$ windowrule = match:class ^(firefox)$, $ws $ws_web
windowrule = $ws $ws_chat, class:^(discord)$ windowrule = match:class ^(floorp)$, $ws $ws_web
windowrule = $ws $ws_chat, class:^(signal)$, title:^(Signal)$ windowrule = match:class ^(brave-browser)$, $ws $ws_web
windowrule = $ws $ws_video, class:^(.*obs.*)$ windowrule = match:class ^(Spotify)$, $ws $ws_music
windowrule = $ws $ws_game, title:^(Minecraft)$ 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 # Commands
# :Alias: :Command: # :Alias: :Command: