Update windowrules.conf

This commit is contained in:
wt committed 2025-03-14 14:16:03 +07:00
1 parent f5bc9058d0
commit af4038ef54
3 files changed
+71 -79

No files matched your search

+1
View File
@@ -2,6 +2,7 @@
#--------- animations --------------------------------------- #--------- animations ---------------------------------------
animations { animations {
enabled = true # enabling animations enabled = true # enabling animations
first_launch_animation = true
animation = windows, 1, 2, default animation = windows, 1, 2, default
animation = windowsOut, 1, 2, default, popin 80% animation = windowsOut, 1, 2, default, popin 80%
animation = border, 1, 2, default animation = border, 1, 2, default
+3 -2
View File
@@ -30,6 +30,7 @@ windowrule = workspace 2, firefox # f
#windowrulev2 = workspace 2, class: ^(Google-chrome)$ # google-chrome only on second workspace #windowrulev2 = workspace 2, class: ^(Google-chrome)$ # google-chrome only on second workspace
#---------------------------------------------------------------------------------------------------------------------------------------------------- #----------------------------------------------------------------------------------------------------------------------------------------------------
layerrule = animation popin, rofi # animation rule for rofi layerrule = animation popin, rofi # animation rule for rofi
layerrule = animation slide right, swaync # animation rule for sway notification center layerrule = animation slide right, swaync # animation rule for sway notification center
layerrule = animation slide top, ags # animation rule for gtk shell layerrule = animation slide top, ags # animation rule for gtk shell
layerrule = animations slide top, powermenu
#---------------------------------------------------------------------------------------------------------------------------------------------------- #----------------------------------------------------------------------------------------------------------------------------------------------------
+67 -77
View File
@@ -7,83 +7,73 @@
"layer-shell": true, "layer-shell": true,
"cssPriority": "application", "cssPriority": "application",
"control-center-width": 350, "control-center-width": 350,
"control-center-height": 700, "control-center-height": 700,
"control-center-margin-top": 10, "control-center-margin-top": 10,
"control-center-margin-bottom": 2, "control-center-margin-bottom": 2,
"control-center-margin-right": 10, "control-center-margin-right": 10,
"control-center-margin-left": 0, "control-center-margin-left": 0,
"notification-2fa-action": true, "notification-2fa-action": true,
"notification-inline-replies": true, "notification-inline-replies": true,
"notification-window-width": 350, "notification-window-width": 350,
"notification-icon-size": 50, "notification-icon-size": 50,
"notification-body-image-height": 140, "notification-body-image-height": 140,
"notification-body-image-width": 180, "notification-body-image-width": 180,
"timeout": 6, "timeout": 6,
"timeout-low": 3, "timeout-low": 3,
"timeout-critical": 0, "timeout-critical": 0,
"fit-to-screen": false, "fit-to-screen": false,
"keyboard-shortcuts": true, "keyboard-shortcuts": true,
"image-visibility": "when available", "image-visibility": "when available",
"transition-time": 200, "transition-time": 200,
"hide-on-clear": false, "hide-on-clear": false,
"hide-on-action": true, "hide-on-action": true,
"script-fail-notify": true, "script-fail-notify": true,
"widgets": [ "widgets": ["title", "dnd", "mpris", "volume", "backlight", "notifications"],
"title", "widget-config": {
"dnd", "title": {
"mpris", "text": "Notifications",
"volume", "clear-all-button": true,
"backlight", "button-text": "Clear"
"notifications" },
], "dnd": {
"widget-config": { "text": "Do Not Distrub"
"title": { },
"text": "Notifications", "label": {
"clear-all-button": true, "max-lines": 2,
"button-text": "Clear" "text": "Notification"
}, },
"dnd": { "mpris": {
"text": "Do Not Distrub" "image-size": 60,
}, "image-radius": 10
"label": { },
"max-lines":2, "volume": {
"text": "Notification" "label": "󰕾"
}, },
"mpris": { "backlight": {
"image-size": 60, "label": "󰃟"
"image-radius": 10 },
}, "buttons-grid": {
"volume": { "actions": [
"label": "󰕾" {
}, "label": " Wi-FI",
"backlight": { "command": "nm-connection-editor"
"label": "󰃟" },
}, {
"buttons-grid": { "label": "󰕾 Mute",
"actions": [ "command": "pactl set-sink-mute @DEFAULT_SINK@ toggle"
{ },
"label": " Wi-FI", {
"command": "nm-connection-editor" "label": "󰂯 Bluetooth",
}, "command": "blueman-manager"
{ },
"label": "󰕾 Mute", {
"command": "pactl set-sink-mute @DEFAULT_SINK@ toggle" "label": " Theme",
"command": "/home/alien/.config/hypr/scripts/themechanging"
}, }
{ ]
"label": "󰂯 Bluetooth", }
"command": "blueman-manager"
},
{
"label": " Theme",
"command":"/home/alien/.config/hypr/scripts/themechanging"
}
]
}
}
} }
}