wip: dnsc-machine setup
This commit is contained in:
parent
1bfb6b59a5
commit
57356e100a
2 changed files with 69 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ function M.apply_to_config(config)
|
||||||
config.window_decorations = "NONE"
|
config.window_decorations = "NONE"
|
||||||
config.window_padding = helpers.get_padding(18, 6)
|
config.window_padding = helpers.get_padding(18, 6)
|
||||||
config.window_background_opacity = 0.92
|
config.window_background_opacity = 0.92
|
||||||
-- config.enable_wayland = false;
|
config.enable_wayland = false;
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,68 @@
|
||||||
|
{
|
||||||
|
"control-center-layer": "top",
|
||||||
|
"control-center-margin-bottom": 0,
|
||||||
|
"control-center-margin-left": 0,
|
||||||
|
"control-center-margin-right": 0,
|
||||||
|
"control-center-margin-top": 0,
|
||||||
|
"cssPriority": "application",
|
||||||
|
"layer": "overlay",
|
||||||
|
"layer-shell": true,
|
||||||
|
"notification-2fa-action": true,
|
||||||
|
"notification-body-image-height": 100,
|
||||||
|
"notification-body-image-width": 200,
|
||||||
|
"notification-icon-size": 32,
|
||||||
|
"notification-inline-replies": false,
|
||||||
|
"positionX": "right",
|
||||||
|
"positionY": "top",
|
||||||
|
"widget-config": {
|
||||||
|
"buttons-grid": {
|
||||||
|
"actions": [
|
||||||
|
{
|
||||||
|
"command": "iwgtk",
|
||||||
|
"label": " "
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "wezterm start -- bluetui",
|
||||||
|
"label": " "
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "niri msg action quit",
|
||||||
|
"label": " "
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "swaylock",
|
||||||
|
"label": " "
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "systemctl reboot",
|
||||||
|
"label": " "
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "systemctl poweroff",
|
||||||
|
"label": " "
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"buttons-per-row": 3
|
||||||
|
},
|
||||||
|
"dnd": {
|
||||||
|
"clear-all-button": true,
|
||||||
|
"text": "Do Not Disturb"
|
||||||
|
},
|
||||||
|
"mpris": {
|
||||||
|
"autohide": true,
|
||||||
|
"loop-carousel": false,
|
||||||
|
"show-album-art": "always"
|
||||||
|
},
|
||||||
|
"title": {
|
||||||
|
"clear-all-button": false,
|
||||||
|
"text": "Control Panel"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"widgets": [
|
||||||
|
"title",
|
||||||
|
"dnd",
|
||||||
|
"buttons-grid",
|
||||||
|
"notifications",
|
||||||
|
"mpris"
|
||||||
|
]
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue