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
+74 -82

No files matched your search

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