wip: dnsc-machine setup
This commit is contained in:
parent
6a544ebbd1
commit
03d369976a
2 changed files with 70 additions and 4 deletions
|
|
@ -27,6 +27,8 @@
|
||||||
reversal-icon-theme
|
reversal-icon-theme
|
||||||
fnm
|
fnm
|
||||||
libnotify
|
libnotify
|
||||||
|
bluetui
|
||||||
|
iwgtk
|
||||||
];
|
];
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
|
|
|
||||||
|
|
@ -8,15 +8,79 @@
|
||||||
control-center-layer = "top";
|
control-center-layer = "top";
|
||||||
layer-shell = true;
|
layer-shell = true;
|
||||||
cssPriority = "application";
|
cssPriority = "application";
|
||||||
control-center-margin-top = 8;
|
control-center-margin-top = 0;
|
||||||
control-center-margin-bottom = 8;
|
control-center-margin-bottom = 0;
|
||||||
control-center-margin-right = 8;
|
control-center-margin-right = 0;
|
||||||
control-center-margin-left = 8;
|
control-center-margin-left = 0;
|
||||||
notification-2fa-action = true;
|
notification-2fa-action = true;
|
||||||
notification-inline-replies = false;
|
notification-inline-replies = false;
|
||||||
notification-icon-size = 32;
|
notification-icon-size = 32;
|
||||||
notification-body-image-height = 100;
|
notification-body-image-height = 100;
|
||||||
notification-body-image-width = 200;
|
notification-body-image-width = 200;
|
||||||
|
widgets = [
|
||||||
|
"title"
|
||||||
|
"buttons-grid"
|
||||||
|
"volume"
|
||||||
|
"dnd"
|
||||||
|
"notifications"
|
||||||
|
"mpris"
|
||||||
|
];
|
||||||
|
widget-config = {
|
||||||
|
title = {
|
||||||
|
text = "Control Center";
|
||||||
|
clear-all-button = true;
|
||||||
|
button-text = " ";
|
||||||
};
|
};
|
||||||
|
buttons-grid = {
|
||||||
|
buttons-per-row = 3;
|
||||||
|
actions = [
|
||||||
|
{
|
||||||
|
label = " ";
|
||||||
|
command = "iwgtk";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
label = " ";
|
||||||
|
command = "wezterm start -- bluetui";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
label = " ";
|
||||||
|
command = "niri msg action quit"
|
||||||
|
}
|
||||||
|
{
|
||||||
|
label = " ";
|
||||||
|
command = "swaylock"
|
||||||
|
}
|
||||||
|
{
|
||||||
|
label = " ";
|
||||||
|
command = "systemctl reboot"
|
||||||
|
}
|
||||||
|
{
|
||||||
|
label = " ";
|
||||||
|
command = "systemctl poweroff"
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
dnd = {
|
||||||
|
text = "Control Center";
|
||||||
|
clear-all-button = true;
|
||||||
|
button-text = "Do Not Disturb";
|
||||||
|
};
|
||||||
|
mpris = {
|
||||||
|
"blacklist": [],
|
||||||
|
"autohide": false,
|
||||||
|
"show-album-art": "always",
|
||||||
|
"loop-carousel": false
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
style = ''
|
||||||
|
.notification-row {
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.notification {
|
||||||
|
padding: 12px;
|
||||||
|
}
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue