feat: nice stuff
This commit is contained in:
@@ -12,8 +12,8 @@
|
||||
"control-center-margin-bottom": 5,
|
||||
"control-center-margin-right": 5,
|
||||
"control-center-margin-left": 0,
|
||||
"notification-2fa-action": true,
|
||||
"notification-inline-replies": true,
|
||||
"notification-2fa-action": false,
|
||||
"notification-inline-replies": false,
|
||||
"notification-body-image-height": 100,
|
||||
"notification-body-image-width": 200,
|
||||
"timeout": 10,
|
||||
@@ -25,12 +25,12 @@
|
||||
"control-center-height": 600,
|
||||
"notification-window-width": 500,
|
||||
"keyboard-shortcuts": true,
|
||||
"notification-grouping": true,
|
||||
"notification-grouping": false,
|
||||
"image-visibility": "when-available",
|
||||
"transition-time": 200,
|
||||
"hide-on-clear": false,
|
||||
"hide-on-action": true,
|
||||
"text-empty": "No Annoyances",
|
||||
"text-empty": "No nothing",
|
||||
"script-fail-notify": true,
|
||||
"scripts": {
|
||||
"example-script": {
|
||||
@@ -51,13 +51,14 @@
|
||||
}
|
||||
},
|
||||
"widgets": [
|
||||
"title",
|
||||
"menubar",
|
||||
"buttons-grid",
|
||||
"volume",
|
||||
"slider",
|
||||
"inhibitors",
|
||||
"dnd",
|
||||
"title",
|
||||
"notifications",
|
||||
"dnd",
|
||||
"mpris"
|
||||
],
|
||||
"widget-config": {
|
||||
@@ -67,9 +68,9 @@
|
||||
"clear-all-button": true
|
||||
},
|
||||
"title": {
|
||||
"text": "Kolinux v1.0",
|
||||
"text": "Notifications",
|
||||
"clear-all-button": true,
|
||||
"button-text": "Purge notifications"
|
||||
"button-text": "Purge"
|
||||
},
|
||||
"volume": {
|
||||
"label": " ",
|
||||
@@ -100,34 +101,88 @@
|
||||
"loop-carousel": false
|
||||
},
|
||||
"buttons-grid": {
|
||||
"buttons-per-row": 3,
|
||||
"buttons-per-row": 4,
|
||||
"actions": [
|
||||
{
|
||||
"label": "",
|
||||
"label": "",
|
||||
"type": "toggle",
|
||||
"active": true,
|
||||
"command": "sh -c '[[ $SWAYNC_TOGGLE_STATE == true ]] && nmcli radio wifi on || nmcli radio wifi off'",
|
||||
"update-command": "sh -c '[[ $(nmcli radio wifi) == \"enabled\" ]] && echo true || echo false'"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"label": "",
|
||||
"type": "toggle",
|
||||
"command": "sh -c '[[ $SWAYNC_TOGGLE_STATE == true ]] && bluetoothctl power on || bluetoothctl power off'",
|
||||
"update-command": "sh -c \'bluetoothctl show | awk \\\"/Powered/ {print \\$2}\\\" | grep -q yes && echo true || echo false\'"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"label": "",
|
||||
"type": "toggle",
|
||||
"command": "sh -c '[[ $SWAYNC_TOGGLE_STATE == true ]] && mullvad connect || mullvad disconnect'",
|
||||
"update-command": "sh -c '[[ $(mullvad status | grep -e Connected ) == \"Connected\" ]] && echo true || echo false'"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"label": "",
|
||||
"type": "toggle",
|
||||
"command": "echo not implemented",
|
||||
"update-command": "echo not implemented"
|
||||
"command": "sh -c 'nohup ~/.config/bspwm/proxy.sh > /dev/null 2>&1 & disown'",
|
||||
"update-command": "sh -c 'pgrep sslocal > /dev/null && echo true || echo false'"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"type": "toggle",
|
||||
"command": "sh -c 'pactl set-source-mute alsa_input.pci-0000_00_1f.3.analog-stereo toggle'",
|
||||
"update-command": "sh -c '[[ $(pactl get-source-mute alsa_input.pci-0000_00_1f.3.analog-stereo) == \\\"Mute: no\\\" ]] && echo true || echo false'"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"type": "toggle",
|
||||
"command": "[[ $SWAYNC_TOGGLE_STATE == true ]] && ( systemd-inhibit --why='User request via swaync' --what=sleep:handle-lid-switch sh -c 'echo \"$$\" > \"$XDG_RUNTIME_DIR/swaync-idle.pid\"; while true; do sleep 3600; done' ) || kill $(<\"$XDG_RUNTIME_DIR/swaync-idle.pid\")",
|
||||
"update-command": "kill -0 $(<\"$XDG_RUNTIME_DIR/swaync-idle.pid\") && echo true || echo false"
|
||||
}
|
||||
]
|
||||
},
|
||||
"menubar": {
|
||||
"menu#power-buttons": {
|
||||
"label": "",
|
||||
"position": "left",
|
||||
"actions": [
|
||||
{
|
||||
"label": " Reboot",
|
||||
"command": "systemctl reboot"
|
||||
},
|
||||
{
|
||||
"label": " Lock",
|
||||
"command": "swaylock.sh"
|
||||
},
|
||||
{
|
||||
"label": " Logout",
|
||||
"command": "loginctl terminate-session ${XDG_SESSION_ID-}"
|
||||
},
|
||||
{
|
||||
"label": " Shut down",
|
||||
"command": "systemctl poweroff"
|
||||
}
|
||||
]
|
||||
},
|
||||
"menu#powermode-buttons": {
|
||||
"label": "",
|
||||
"position": "right",
|
||||
"actions": [
|
||||
{
|
||||
"label": "Razgonnnn",
|
||||
"command": "powerprofilesctl set performance"
|
||||
},
|
||||
{
|
||||
"label": "Balanced",
|
||||
"command": "powerprofilesctl set balanced"
|
||||
},
|
||||
{
|
||||
"label": "Survival",
|
||||
"command": "powerprofilesctl set power-saver"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user