add configs & css for shell components
This commit is contained in:
23
sway-home/.config/nwg-panel/menu-start.css
Normal file
23
sway-home/.config/nwg-panel/menu-start.css
Normal file
@ -0,0 +1,23 @@
|
||||
window {
|
||||
background-color: rgba (23, 53, 63, 0.95);
|
||||
color: #eeeeee;
|
||||
border-radius: 0px
|
||||
}
|
||||
|
||||
list {
|
||||
background: none;
|
||||
border-radius: 15px
|
||||
}
|
||||
|
||||
entry {
|
||||
background-color: rgba (0, 0, 0, 0.2)
|
||||
}
|
||||
|
||||
button {
|
||||
background: none;
|
||||
border: none
|
||||
}
|
||||
|
||||
button:hover {
|
||||
background-color: rgba (255, 255, 255, 0.1)
|
||||
}
|
283
sway-home/.config/nwg-panel/preset-0
Normal file
283
sway-home/.config/nwg-panel/preset-0
Normal file
@ -0,0 +1,283 @@
|
||||
[
|
||||
{
|
||||
"name": "top",
|
||||
"output": "",
|
||||
"layer": "bottom",
|
||||
"position": "top",
|
||||
"width": "auto",
|
||||
"height": 30,
|
||||
"homogeneous": true,
|
||||
"margin-top": 0,
|
||||
"margin-bottom": 0,
|
||||
"padding-horizontal": 0,
|
||||
"padding-vertical": 0,
|
||||
"spacing": 2,
|
||||
"items-padding": 0,
|
||||
"css-name": "panel-top",
|
||||
"icons": "light",
|
||||
"menu-start": "off",
|
||||
"modules-left": [
|
||||
"playerctl"
|
||||
],
|
||||
"modules-center": [
|
||||
"clock"
|
||||
],
|
||||
"modules-right": [
|
||||
"scratchpad",
|
||||
"executor-updates"
|
||||
],
|
||||
"controls": "right",
|
||||
"controls-settings": {
|
||||
"alignment": "right",
|
||||
"components": [
|
||||
"brightness",
|
||||
"battery",
|
||||
"volume",
|
||||
"bluetooth",
|
||||
"net"
|
||||
],
|
||||
"commands": {
|
||||
"battery": "",
|
||||
"net": "",
|
||||
"bluetooth": "blueman-manager"
|
||||
},
|
||||
"custom-items": [
|
||||
{
|
||||
"name": "Wallpapers",
|
||||
"icon": "azote",
|
||||
"cmd": "azote"
|
||||
},
|
||||
{
|
||||
"name": "Look & Feel",
|
||||
"icon": "preferences-desktop-theme",
|
||||
"cmd": "lxappearance; import-gsettings gtk-theme:gtk-theme-name icon-theme:gtk-icon-theme-name cursor-theme:gtk-cursor-theme-name"
|
||||
},
|
||||
{
|
||||
"name": "Outputs",
|
||||
"icon": "display",
|
||||
"cmd": "wdisplays && sway-save-outputs"
|
||||
},
|
||||
{
|
||||
"name": "Panel settings",
|
||||
"icon": "nwg-panel",
|
||||
"cmd": "nwg-panel-config"
|
||||
},
|
||||
{
|
||||
"name": "Shell settings",
|
||||
"icon": "nwg-shell",
|
||||
"cmd": "nwg-shell-config"
|
||||
}
|
||||
],
|
||||
"menu": {
|
||||
"name": "Exit",
|
||||
"icon": "system-shutdown-symbolic",
|
||||
"items": [
|
||||
{
|
||||
"name": "Lock",
|
||||
"cmd": "swaylock -f -c 000000"
|
||||
},
|
||||
{
|
||||
"name": "Logout",
|
||||
"cmd": "swaymsg exit"
|
||||
},
|
||||
{
|
||||
"name": "Restart",
|
||||
"cmd": "systemctl reboot"
|
||||
},
|
||||
{
|
||||
"name": "Shutdown",
|
||||
"cmd": "systemctl -i poweroff"
|
||||
}
|
||||
]
|
||||
},
|
||||
"show-values": false,
|
||||
"interval": 1,
|
||||
"icon-size": 18,
|
||||
"hover-opens": false,
|
||||
"leave-closes": true,
|
||||
"css-name": "controls-window",
|
||||
"net-interface": "wlo1",
|
||||
"Exit": "Exittt",
|
||||
"system-shutdown-symbolic": "system-shutdown",
|
||||
"output-switcher": true,
|
||||
"window-width": 320,
|
||||
"window-margin": 0,
|
||||
"root-css-name": "controls-overview"
|
||||
},
|
||||
"playerctl": {
|
||||
"interval": 1,
|
||||
"buttons": true,
|
||||
"buttons-position": "left",
|
||||
"chars": 50,
|
||||
"css-name": "button-grid",
|
||||
"icon-size": 16,
|
||||
"button-css-name": "button-custom",
|
||||
"label-css-name": "panel-top"
|
||||
},
|
||||
"clock": {
|
||||
"format": "%a, %d. %b %H:%M:%S",
|
||||
"interval": 1,
|
||||
"on-right-click": "",
|
||||
"tooltip-text": "",
|
||||
"on-left-click": "/home/piotr/PycharmProjects/swayinfo/calendar.py",
|
||||
"on-middle-click": "",
|
||||
"on-scroll-up": "",
|
||||
"on-scroll-down": "",
|
||||
"css-name": "clock",
|
||||
"root-css-name": "root-clock"
|
||||
},
|
||||
"executor-updates": {
|
||||
"script": "sway-check-updates",
|
||||
"interval": 900,
|
||||
"icon-size": 16,
|
||||
"on-left-click": "foot sway-update",
|
||||
"tooltip-text": "",
|
||||
"on-middle-click": "",
|
||||
"on-right-click": "",
|
||||
"on-scroll-up": "",
|
||||
"on-scroll-down": "",
|
||||
"css-name": "",
|
||||
"root-css-name": "",
|
||||
"icon-placement": "left"
|
||||
},
|
||||
"sway-taskbar": {},
|
||||
"sway-workspaces": {},
|
||||
"scratchpad": {}
|
||||
},
|
||||
{
|
||||
"name": "bottom",
|
||||
"output": "",
|
||||
"layer": "bottom",
|
||||
"position": "bottom",
|
||||
"height": 30,
|
||||
"margin-top": 0,
|
||||
"margin-bottom": 0,
|
||||
"padding-horizontal": 6,
|
||||
"padding-vertical": 0,
|
||||
"spacing": 10,
|
||||
"items-padding": 0,
|
||||
"css-name": "panel-bottom",
|
||||
"icons": "",
|
||||
"menu-start": "off",
|
||||
"width": "auto",
|
||||
"controls": "off",
|
||||
"controls-settings": {},
|
||||
"scratchpad": {},
|
||||
"clock": {},
|
||||
"menu-start-settings": {},
|
||||
"modules-left": [
|
||||
"sway-taskbar"
|
||||
],
|
||||
"modules-center": [],
|
||||
"modules-right": [
|
||||
"executor-cpuav",
|
||||
"executor-cpubar",
|
||||
"executor-temp",
|
||||
"executor-memory",
|
||||
"executor-drives",
|
||||
"executor-uptime"
|
||||
],
|
||||
"sway-taskbar": {
|
||||
"workspace-buttons": false,
|
||||
"show-app-icon": true,
|
||||
"show-layout": true,
|
||||
"show-app-name": true,
|
||||
"name-max-len": 15,
|
||||
"workspaces-spacing": 0,
|
||||
"task-padding": 0,
|
||||
"all-outputs": false,
|
||||
"image-size": 16,
|
||||
"workspace-menu": [
|
||||
"1",
|
||||
"2",
|
||||
"3",
|
||||
"4",
|
||||
"5",
|
||||
"6",
|
||||
"7",
|
||||
"8"
|
||||
],
|
||||
"all-workspaces": true
|
||||
},
|
||||
"executor-cpubar": {
|
||||
"script": "gopsuinfo -c g",
|
||||
"interval": 2,
|
||||
"tooltip-text": "",
|
||||
"on-left-click": "",
|
||||
"on-middle-click": "",
|
||||
"on-right-click": "",
|
||||
"on-scroll-up": "",
|
||||
"on-scroll-down": "",
|
||||
"css-name": "",
|
||||
"icon-size": 16,
|
||||
"icon-placement": "left"
|
||||
},
|
||||
"executor-cpuav": {
|
||||
"script": "gopsuinfo -i a",
|
||||
"interval": 2,
|
||||
"tooltip-text": "CPU average load",
|
||||
"on-left-click": "alacritty -e htop",
|
||||
"on-middle-click": "",
|
||||
"on-right-click": "",
|
||||
"on-scroll-up": "",
|
||||
"on-scroll-down": "",
|
||||
"css-name": "",
|
||||
"icon-size": 16,
|
||||
"icon-placement": "right"
|
||||
},
|
||||
"executor-temp": {
|
||||
"script": "gopsuinfo -i t",
|
||||
"interval": 5,
|
||||
"tooltip-text": "",
|
||||
"on-left-click": "",
|
||||
"on-middle-click": "",
|
||||
"on-right-click": "",
|
||||
"on-scroll-up": "",
|
||||
"on-scroll-down": "",
|
||||
"css-name": "",
|
||||
"icon-size": 16,
|
||||
"icon-placement": "left"
|
||||
},
|
||||
"executor-memory": {
|
||||
"script": "gopsuinfo -i m",
|
||||
"interval": 5,
|
||||
"tooltip-text": "",
|
||||
"on-left-click": "",
|
||||
"on-middle-click": "",
|
||||
"on-right-click": "",
|
||||
"on-scroll-up": "",
|
||||
"on-scroll-down": "",
|
||||
"css-name": "",
|
||||
"icon-size": 16,
|
||||
"icon-placement": "left"
|
||||
},
|
||||
"executor-drives": {
|
||||
"script": "gopsuinfo -i n",
|
||||
"interval": 15,
|
||||
"tooltip-text": "",
|
||||
"on-left-click": "",
|
||||
"on-middle-click": "",
|
||||
"on-right-click": "",
|
||||
"on-scroll-up": "",
|
||||
"on-scroll-down": "",
|
||||
"css-name": "",
|
||||
"icon-size": 16,
|
||||
"icon-placement": "left"
|
||||
},
|
||||
"executor-uptime": {
|
||||
"script": "gopsuinfo -i u",
|
||||
"interval": 60,
|
||||
"tooltip-text": "",
|
||||
"on-left-click": "",
|
||||
"on-middle-click": "",
|
||||
"on-right-click": "",
|
||||
"on-scroll-up": "",
|
||||
"on-scroll-down": "",
|
||||
"css-name": "",
|
||||
"icon-size": 16,
|
||||
"icon-placement": "left"
|
||||
},
|
||||
"playerctl": {},
|
||||
"sway-workspaces": {}
|
||||
}
|
||||
]
|
103
sway-home/.config/nwg-panel/preset-0.css
Normal file
103
sway-home/.config/nwg-panel/preset-0.css
Normal file
@ -0,0 +1,103 @@
|
||||
/***** SUGGESTED TO CHANGE CAREFULLY *****/
|
||||
|
||||
/* Recommended if panel "height" unset or smaller then your theme default button height */
|
||||
button {
|
||||
margin: 2px;
|
||||
background: none;
|
||||
border: none
|
||||
}
|
||||
|
||||
/* SwayTaskBar and SwayWorkspaces use custom widgets, that need this and the next name
|
||||
to highlight currently focused task / workspace. */
|
||||
#task-box {
|
||||
padding-left: 4px;
|
||||
padding-right: 4px
|
||||
}
|
||||
#task-box-focused {
|
||||
background-color: rgba (255, 255, 255, 0.12);
|
||||
padding-left: 4px;
|
||||
padding-right: 4px
|
||||
}
|
||||
|
||||
|
||||
/***** MODIFY TO YOUR TASTE *****/
|
||||
|
||||
/* Sample button in sample config w/ no background nor border */
|
||||
#button-custom {
|
||||
background: rgba (0, 0, 0, 0.0);
|
||||
border: 0
|
||||
}
|
||||
|
||||
/* Top panel in sample config uses this name */
|
||||
#panel-top {
|
||||
background: #030303;
|
||||
color: #eeeeee
|
||||
}
|
||||
|
||||
/* Bottom panel in sample config uses this name */
|
||||
#panel-bottom {
|
||||
background-color: #030303;
|
||||
color: #eeeeee
|
||||
}
|
||||
|
||||
/* Controls window in sample config uses this name */
|
||||
#controls-window {
|
||||
background-color: rgba (37, 37, 37, 0.95);
|
||||
border-radius: 0px;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: rgba (0, 0, 0, 1.0);
|
||||
color: #eeeeee
|
||||
}
|
||||
|
||||
/* Executors usually behave better in monospace fonts */
|
||||
#executor-label {
|
||||
font-family: monospace;
|
||||
font-size: 16px
|
||||
}
|
||||
|
||||
/* and so does the Clock */
|
||||
#clock {
|
||||
font-family: monospace;
|
||||
font-size: 16px
|
||||
}
|
||||
|
||||
/* Sample executor-weather uses "css-name": "weather" */
|
||||
#weather {
|
||||
font-size: 16px
|
||||
}
|
||||
|
||||
/* dwl module */
|
||||
#dwl-tag-box {
|
||||
padding-top: 4px;
|
||||
padding-bottom: 4px
|
||||
}
|
||||
|
||||
#dwl-tag-occupied {
|
||||
font-family: monospace;
|
||||
color: #eee;
|
||||
background-color: #006699;
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
#dwl-tag-free {
|
||||
font-family: monospace;
|
||||
color: #eee;
|
||||
background-color: rgba (32, 50, 90, 1.0);
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
#dwl-tag-urgent {
|
||||
font-family: monospace;
|
||||
color: #eee;
|
||||
background-color: #ee6600;
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
#dwl-tag-selected {
|
||||
border: solid 2px;
|
||||
border-color: #81a1c1
|
||||
}
|
195
sway-home/.config/nwg-panel/preset-1
Normal file
195
sway-home/.config/nwg-panel/preset-1
Normal file
@ -0,0 +1,195 @@
|
||||
[
|
||||
{
|
||||
"name": "top",
|
||||
"output": "",
|
||||
"layer": "bottom",
|
||||
"position": "top",
|
||||
"height": 30,
|
||||
"homogeneous": true,
|
||||
"margin-top": 0,
|
||||
"margin-bottom": 0,
|
||||
"padding-horizontal": 0,
|
||||
"padding-vertical": 0,
|
||||
"spacing": 2,
|
||||
"controls": "right",
|
||||
"items-padding": 0,
|
||||
"css-name": "panel-top",
|
||||
"icons": "light",
|
||||
"modules-left": [
|
||||
"sway-workspaces"
|
||||
],
|
||||
"modules-center": [
|
||||
"clock"
|
||||
],
|
||||
"modules-right": [
|
||||
"executor-cpuav",
|
||||
"executor-cpubar",
|
||||
"scratchpad",
|
||||
"executor-updates"
|
||||
],
|
||||
"sway-taskbar": {},
|
||||
"controls-settings": {
|
||||
"alignment": "right",
|
||||
"components": [
|
||||
"brightness",
|
||||
"battery",
|
||||
"volume",
|
||||
"bluetooth",
|
||||
"net"
|
||||
],
|
||||
"commands": {
|
||||
"battery": "",
|
||||
"net": "nm-connection-editor",
|
||||
"bluetooth": "blueman-manager"
|
||||
},
|
||||
"custom-items": [
|
||||
{
|
||||
"name": "Wallpapers",
|
||||
"icon": "azote",
|
||||
"cmd": "azote"
|
||||
},
|
||||
{
|
||||
"name": "Look & Feel",
|
||||
"icon": "preferences-desktop-theme",
|
||||
"cmd": "lxappearance; import-gsettings"
|
||||
},
|
||||
{
|
||||
"name": "Outputs",
|
||||
"icon": "display",
|
||||
"cmd": "wdisplays && sway-save-outputs"
|
||||
},
|
||||
{
|
||||
"name": "Panel settings",
|
||||
"icon": "nwg-panel",
|
||||
"cmd": "nwg-panel-config"
|
||||
},
|
||||
{
|
||||
"name": "Shell settings",
|
||||
"icon": "nwg-shell",
|
||||
"cmd": "nwg-shell-config"
|
||||
}
|
||||
],
|
||||
"menu": {
|
||||
"name": "Exit",
|
||||
"icon": "system-shutdown-symbolic",
|
||||
"items": [
|
||||
{
|
||||
"name": "Lock",
|
||||
"cmd": "swaylock -f -c 000000"
|
||||
},
|
||||
{
|
||||
"name": "Logout",
|
||||
"cmd": "swaymsg exit"
|
||||
},
|
||||
{
|
||||
"name": "Restart",
|
||||
"cmd": "systemctl reboot"
|
||||
},
|
||||
{
|
||||
"name": "Shutdown",
|
||||
"cmd": "systemctl -i poweroff"
|
||||
}
|
||||
]
|
||||
},
|
||||
"show-values": false,
|
||||
"interval": 1,
|
||||
"icon-size": 18,
|
||||
"hover-opens": false,
|
||||
"leave-closes": true,
|
||||
"css-name": "controls-window",
|
||||
"net-interface": "wlo1",
|
||||
"system-shutdown-symbolic": "system-shutdown",
|
||||
"output-switcher": true,
|
||||
"window-width": 320,
|
||||
"window-margin": 6
|
||||
},
|
||||
"playerctl": {},
|
||||
"clock": {
|
||||
"format": "%a, %d. %b %H:%M:%S",
|
||||
"interval": 1,
|
||||
"on-right-click": "",
|
||||
"tooltip-text": "",
|
||||
"on-left-click": "",
|
||||
"on-middle-click": "",
|
||||
"on-scroll-up": "",
|
||||
"on-scroll-down": "",
|
||||
"css-name": "clock"
|
||||
},
|
||||
"executor-updates": {
|
||||
"script": "sway-check-updates",
|
||||
"interval": 900,
|
||||
"icon-size": 16,
|
||||
"on-left-click": "foot sway-update",
|
||||
"tooltip-text": "",
|
||||
"on-middle-click": "",
|
||||
"on-right-click": "",
|
||||
"on-scroll-up": "",
|
||||
"on-scroll-down": "",
|
||||
"css-name": "",
|
||||
"root-css-name": "",
|
||||
"icon-placement": "left"
|
||||
},
|
||||
"width": "auto",
|
||||
"button-config": {
|
||||
"command": "nwg-panel-config",
|
||||
"icon": "nwg-panel",
|
||||
"label": "",
|
||||
"label-position": "right",
|
||||
"css-name": "button-custom",
|
||||
"icon-size": 16
|
||||
},
|
||||
"sway-workspaces": {
|
||||
"numbers": [
|
||||
"1",
|
||||
"2",
|
||||
"3",
|
||||
"4",
|
||||
"5",
|
||||
"6",
|
||||
"7",
|
||||
"8"
|
||||
],
|
||||
"show-icon": true,
|
||||
"image-size": 16,
|
||||
"show-name": true,
|
||||
"name-length": 20,
|
||||
"mark-autotiling": false,
|
||||
"mark-content": true,
|
||||
"show-layout": true
|
||||
},
|
||||
"scratchpad": {
|
||||
"css-name": "",
|
||||
"icon-size": 20
|
||||
},
|
||||
"menu-start": "off",
|
||||
"menu-start-settings": {},
|
||||
"executor-cpuav": {
|
||||
"script": "gopsuinfo -i a",
|
||||
"tooltip-text": "average CPU load",
|
||||
"on-left-click": "foot htop",
|
||||
"on-middle-click": "",
|
||||
"on-right-click": "",
|
||||
"on-scroll-up": "",
|
||||
"on-scroll-down": "",
|
||||
"root-css-name": "",
|
||||
"css-name": "",
|
||||
"icon-placement": "right",
|
||||
"icon-size": 16,
|
||||
"interval": 3
|
||||
},
|
||||
"executor-cpubar": {
|
||||
"script": "gopsuinfo -c g",
|
||||
"tooltip-text": "",
|
||||
"on-left-click": "",
|
||||
"on-middle-click": "",
|
||||
"on-right-click": "",
|
||||
"on-scroll-up": "",
|
||||
"on-scroll-down": "",
|
||||
"root-css-name": "",
|
||||
"css-name": "",
|
||||
"icon-placement": "left",
|
||||
"icon-size": 16,
|
||||
"interval": 3
|
||||
}
|
||||
}
|
||||
]
|
98
sway-home/.config/nwg-panel/preset-1.css
Normal file
98
sway-home/.config/nwg-panel/preset-1.css
Normal file
@ -0,0 +1,98 @@
|
||||
/***** SUGGESTED TO CHANGE CAREFULLY *****/
|
||||
|
||||
/* Recommended if panel "height" unset or smaller then your theme default button height */
|
||||
button {
|
||||
margin: 2px
|
||||
}
|
||||
|
||||
/* SwayTaskBar and SwayWorkspaces use custom widgets, that need this and the next name
|
||||
to highlight currently focused task / workspace. */
|
||||
#task-box {
|
||||
padding-left: 4px;
|
||||
padding-right: 4px
|
||||
}
|
||||
|
||||
#task-box-focused {
|
||||
background-color: rgba (255, 255, 255, 0.12);
|
||||
padding-left: 4px;
|
||||
padding-right: 4px
|
||||
}
|
||||
|
||||
|
||||
/***** MODIFY TO YOUR TASTE *****/
|
||||
|
||||
/* Sample button in sample config w/ no background nor border */
|
||||
#button-custom {
|
||||
background: rgba (0, 0, 0, 0.0);
|
||||
border: 0
|
||||
}
|
||||
|
||||
/* Top panel in sample config uses this name */
|
||||
#panel-top {
|
||||
background: #101010;
|
||||
color: #eeeeee
|
||||
}
|
||||
|
||||
/* Bottom panel in sample config uses this name */
|
||||
#panel-bottom {
|
||||
background: #3b4559;
|
||||
color: #eeeeee
|
||||
}
|
||||
|
||||
/* Controls window in sample config uses this name */
|
||||
#controls-window {
|
||||
border-radius: 10px;
|
||||
background: #31373A;
|
||||
color: #eeeeee
|
||||
}
|
||||
|
||||
/* Executors usually behave better in monospace fonts */
|
||||
#executor-label {
|
||||
font-family: monospace
|
||||
}
|
||||
|
||||
/* and so does the Clock */
|
||||
#clock {
|
||||
font-family: monospace;
|
||||
font-size: 16px
|
||||
}
|
||||
|
||||
/* Sample executor-weather uses "css-name": "weather" */
|
||||
#weather {
|
||||
font-size: 16px
|
||||
}
|
||||
|
||||
/* dwl-tags module */
|
||||
#dwl-tag-box {
|
||||
padding-top: 4px;
|
||||
padding-bottom: 4px
|
||||
}
|
||||
|
||||
#dwl-tag-occupied {
|
||||
font-family: monospace;
|
||||
color: #eee;
|
||||
background-color: #006699;
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
#dwl-tag-free {
|
||||
font-family: monospace;
|
||||
color: #eee;
|
||||
background-color: rgba (32, 50, 90, 1.0);
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
#dwl-tag-urgent {
|
||||
font-family: monospace;
|
||||
color: #eee;
|
||||
background-color: #ee6600;
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
#dwl-tag-selected {
|
||||
border: solid 2px;
|
||||
border-color: #81a1c1
|
||||
}
|
208
sway-home/.config/nwg-panel/preset-2
Normal file
208
sway-home/.config/nwg-panel/preset-2
Normal file
@ -0,0 +1,208 @@
|
||||
[
|
||||
{
|
||||
"name": "bottom",
|
||||
"output": "",
|
||||
"layer": "bottom",
|
||||
"position": "bottom",
|
||||
"height": 36,
|
||||
"width": "auto",
|
||||
"margin-top": 0,
|
||||
"margin-bottom": 0,
|
||||
"padding-horizontal": 4,
|
||||
"padding-vertical": 0,
|
||||
"spacing": 2,
|
||||
"controls": "right",
|
||||
"items-padding": 0,
|
||||
"css-name": "panel-bottom",
|
||||
"icons": "",
|
||||
"modules-left": [
|
||||
"sway-taskbar"
|
||||
],
|
||||
"modules-center": [],
|
||||
"modules-right": [
|
||||
"executor-cpuavg",
|
||||
"executor-cpubar",
|
||||
"scratchpad",
|
||||
"executor-updates",
|
||||
"clock"
|
||||
],
|
||||
"sway-taskbar": {
|
||||
"workspace-buttons": false,
|
||||
"show-app-icon": true,
|
||||
"show-layout": true,
|
||||
"show-app-name": false,
|
||||
"name-max-len": 20,
|
||||
"workspaces-spacing": 0,
|
||||
"task-spacing": 0,
|
||||
"all-outputs": true,
|
||||
"workspace-menu": [
|
||||
"1",
|
||||
"2",
|
||||
"3",
|
||||
"4",
|
||||
"5",
|
||||
"6",
|
||||
"7",
|
||||
"8"
|
||||
],
|
||||
"image-size": 24,
|
||||
"task-padding": 0,
|
||||
"all-workspaces": true
|
||||
},
|
||||
"controls-settings": {
|
||||
"alignment": "right",
|
||||
"components": [
|
||||
"brightness",
|
||||
"battery",
|
||||
"volume",
|
||||
"bluetooth"
|
||||
],
|
||||
"commands": {
|
||||
"battery": "",
|
||||
"net": "",
|
||||
"bluetooth": "blueman-manager"
|
||||
},
|
||||
"custom-items": [
|
||||
{
|
||||
"name": "Wallpapers",
|
||||
"icon": "azote",
|
||||
"cmd": "azote"
|
||||
},
|
||||
{
|
||||
"name": "Look & Feel",
|
||||
"icon": "preferences-desktop-theme",
|
||||
"cmd": "lxappearance; import-gsettings gtk-theme:gtk-theme-name icon-theme:gtk-icon-theme-name cursor-theme:gtk-cursor-theme-name"
|
||||
},
|
||||
{
|
||||
"name": "Outputs",
|
||||
"icon": "display",
|
||||
"cmd": "wdisplays && sway-save-outputs"
|
||||
},
|
||||
{
|
||||
"name": "Panel settings",
|
||||
"icon": "nwg-panel",
|
||||
"cmd": "nwg-panel-config"
|
||||
},
|
||||
{
|
||||
"name": "Shell settings",
|
||||
"icon": "nwg-shell",
|
||||
"cmd": "nwg-shell-config"
|
||||
}
|
||||
],
|
||||
"menu": {
|
||||
"name": "Exit",
|
||||
"icon": "system-shutdown-symbolic",
|
||||
"items": [
|
||||
{
|
||||
"name": "Lock",
|
||||
"cmd": "swaylock -f -c 000000"
|
||||
},
|
||||
{
|
||||
"name": "Logout",
|
||||
"cmd": "swaymsg exit"
|
||||
},
|
||||
{
|
||||
"name": "Restart",
|
||||
"cmd": "systemctl reboot"
|
||||
},
|
||||
{
|
||||
"name": "Shutdown",
|
||||
"cmd": "systemctl -i poweroff"
|
||||
}
|
||||
]
|
||||
},
|
||||
"show-values": false,
|
||||
"interval": 1,
|
||||
"icon-size": 16,
|
||||
"hover-opens": false,
|
||||
"leave-closes": true,
|
||||
"css-name": "controls-window",
|
||||
"net-interface": "wlan0",
|
||||
"system-shutdown-symbolic": "system-shutdown",
|
||||
"output-switcher": true,
|
||||
"window-width": 320,
|
||||
"window-margin": 0,
|
||||
"root-css-name": "controls-overview"
|
||||
},
|
||||
"playerctl": {},
|
||||
"clock": {
|
||||
"format": "%H:%M:%S",
|
||||
"interval": 1,
|
||||
"on-right-click": "",
|
||||
"tooltip-text": "",
|
||||
"on-left-click": "",
|
||||
"on-middle-click": "",
|
||||
"on-scroll-up": "",
|
||||
"on-scroll-down": "",
|
||||
"css-name": "clock",
|
||||
"root-css-name": "root-clock"
|
||||
},
|
||||
"executor-updates": {
|
||||
"script": "sway-check-updates",
|
||||
"interval": 900,
|
||||
"icon-size": 16,
|
||||
"on-left-click": "foot sway-update",
|
||||
"tooltip-text": "",
|
||||
"on-middle-click": "",
|
||||
"on-right-click": "",
|
||||
"on-scroll-up": "",
|
||||
"on-scroll-down": "",
|
||||
"css-name": "",
|
||||
"root-css-name": "",
|
||||
"icon-placement": "left"
|
||||
},
|
||||
"sway-workspaces": {},
|
||||
"scratchpad": {
|
||||
"css-name": "",
|
||||
"icon-size": 20
|
||||
},
|
||||
"menu-start": "left",
|
||||
"menu-start-settings": {
|
||||
"cmd-lock": "swaylock -f -c 000000",
|
||||
"cmd-logout": "swaymsg exit",
|
||||
"cmd-restart": "systemctl reboot",
|
||||
"cmd-shutdown": "systemctl -i poweroff",
|
||||
"autohide": true,
|
||||
"file-manager": "thunar",
|
||||
"height": 0,
|
||||
"icon-size-large": 32,
|
||||
"icon-size-small": 16,
|
||||
"icon-size-button": 18,
|
||||
"margin-bottom": 0,
|
||||
"margin-left": 0,
|
||||
"margin-right": 8,
|
||||
"margin-top": 8,
|
||||
"padding": 2,
|
||||
"terminal": "foot",
|
||||
"width": 0
|
||||
},
|
||||
"executor-cpubar": {
|
||||
"script": "gopsuinfo -i g",
|
||||
"tooltip-text": "",
|
||||
"on-left-click": "",
|
||||
"on-middle-click": "",
|
||||
"on-right-click": "",
|
||||
"on-scroll-up": "",
|
||||
"on-scroll-down": "",
|
||||
"root-css-name": "",
|
||||
"css-name": "",
|
||||
"icon-placement": "left",
|
||||
"icon-size": 16,
|
||||
"interval": 3
|
||||
},
|
||||
"executor-cpuavg": {
|
||||
"script": "gopsuinfo -i a",
|
||||
"tooltip-text": "",
|
||||
"on-left-click": "",
|
||||
"on-middle-click": "",
|
||||
"on-right-click": "",
|
||||
"on-scroll-up": "",
|
||||
"on-scroll-down": "",
|
||||
"root-css-name": "",
|
||||
"css-name": "",
|
||||
"icon-placement": "right",
|
||||
"icon-size": 14,
|
||||
"interval": 3
|
||||
}
|
||||
}
|
||||
]
|
100
sway-home/.config/nwg-panel/preset-2.css
Normal file
100
sway-home/.config/nwg-panel/preset-2.css
Normal file
@ -0,0 +1,100 @@
|
||||
/***** SUGGESTED TO CHANGE CAREFULLY *****/
|
||||
|
||||
/* Recommended if panel "height" unset or smaller then your theme default button height */
|
||||
button {
|
||||
margin: 2px;
|
||||
background: none;
|
||||
border: none
|
||||
}
|
||||
|
||||
/* SwayTaskBar and SwayWorkspaces use custom widgets, that need this and the next name
|
||||
to highlight currently focused task / workspace. */
|
||||
#task-box {
|
||||
padding-left: 4px;
|
||||
padding-right: 4px
|
||||
}
|
||||
#task-box-focused {
|
||||
background-color: rgba (255, 255, 255, 0.12);
|
||||
padding-left: 4px;
|
||||
padding-right: 4px
|
||||
}
|
||||
|
||||
|
||||
/***** MODIFY TO YOUR TASTE *****/
|
||||
|
||||
/* Sample button in sample config w/ no background nor border */
|
||||
#button-custom {
|
||||
background: rgba (0, 0, 0, 0.0);
|
||||
border: 0
|
||||
}
|
||||
|
||||
/* Top panel in sample config uses this name */
|
||||
#panel-top {
|
||||
background: #030303;
|
||||
color: #eeeeee
|
||||
}
|
||||
|
||||
/* Bottom panel in sample config uses this name */
|
||||
#panel-bottom {
|
||||
background-color: #213540;
|
||||
color: #eeeeee
|
||||
}
|
||||
|
||||
/* Controls window in sample config uses this name */
|
||||
#controls-window {
|
||||
border-radius: 0px;
|
||||
background-color: rgba (23, 53, 63, 0.95);
|
||||
color: #eeeeee
|
||||
}
|
||||
|
||||
/* Executors usually behave better in monospace fonts */
|
||||
#executor-label {
|
||||
font-family: monospace;
|
||||
font-size: 16px
|
||||
}
|
||||
|
||||
/* and so does the Clock */
|
||||
#clock {
|
||||
font-family: monospace;
|
||||
font-size: 16px
|
||||
}
|
||||
|
||||
/* Sample executor-weather uses "css-name": "weather" */
|
||||
#weather {
|
||||
font-size: 16px
|
||||
}
|
||||
|
||||
/* dwl module */
|
||||
#dwl-tag-box {
|
||||
padding-top: 4px;
|
||||
padding-bottom: 4px
|
||||
}
|
||||
|
||||
#dwl-tag-occupied {
|
||||
font-family: monospace;
|
||||
color: #eee;
|
||||
background-color: #006699;
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
#dwl-tag-free {
|
||||
font-family: monospace;
|
||||
color: #eee;
|
||||
background-color: rgba (32, 50, 90, 1.0);
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
#dwl-tag-urgent {
|
||||
font-family: monospace;
|
||||
color: #eee;
|
||||
background-color: #ee6600;
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
#dwl-tag-selected {
|
||||
border: solid 2px;
|
||||
border-color: #81a1c1
|
||||
}
|
155
sway-home/.config/nwg-panel/preset-3
Normal file
155
sway-home/.config/nwg-panel/preset-3
Normal file
@ -0,0 +1,155 @@
|
||||
[
|
||||
{
|
||||
"name": "top",
|
||||
"output": "",
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"height": 30,
|
||||
"width": "auto",
|
||||
"margin-top": 0,
|
||||
"margin-bottom": 0,
|
||||
"padding-horizontal": 0,
|
||||
"padding-vertical": 0,
|
||||
"spacing": 2,
|
||||
"controls": "right",
|
||||
"items-padding": 0,
|
||||
"css-name": "panel-top",
|
||||
"icons": "",
|
||||
"modules-left": [
|
||||
"sway-workspaces"
|
||||
],
|
||||
"modules-center": [
|
||||
"clock"
|
||||
],
|
||||
"modules-right": [
|
||||
"scratchpad",
|
||||
"executor-updates"
|
||||
],
|
||||
"controls-settings": {
|
||||
"alignment": "right",
|
||||
"components": [
|
||||
"brightness",
|
||||
"battery",
|
||||
"volume",
|
||||
"net",
|
||||
"bluetooth"
|
||||
],
|
||||
"commands": {
|
||||
"battery": "",
|
||||
"net": "",
|
||||
"bluetooth": "blueman-manager"
|
||||
},
|
||||
"custom-items": [
|
||||
{
|
||||
"name": "Wallpapers",
|
||||
"icon": "azote",
|
||||
"cmd": "azote"
|
||||
},
|
||||
{
|
||||
"name": "Look & Feel",
|
||||
"icon": "preferences-desktop-theme",
|
||||
"cmd": "lxappearance; import-gsettings gtk-theme:gtk-theme-name icon-theme:gtk-icon-theme-name cursor-theme:gtk-cursor-theme-name"
|
||||
},
|
||||
{
|
||||
"name": "Outputs",
|
||||
"icon": "display",
|
||||
"cmd": "wdisplays && sway-save-outputs"
|
||||
},
|
||||
{
|
||||
"name": "Panel settings",
|
||||
"icon": "nwg-panel",
|
||||
"cmd": "nwg-panel-config"
|
||||
},
|
||||
{
|
||||
"name": "Shell settings",
|
||||
"icon": "nwg-shell",
|
||||
"cmd": "nwg-shell-config"
|
||||
}
|
||||
],
|
||||
"menu": {
|
||||
"name": "Exit",
|
||||
"icon": "system-shutdown-symbolic",
|
||||
"items": [
|
||||
{
|
||||
"name": "Lock",
|
||||
"cmd": "swaylock -f -c 000000"
|
||||
},
|
||||
{
|
||||
"name": "Logout",
|
||||
"cmd": "swaymsg exit"
|
||||
},
|
||||
{
|
||||
"name": "Restart",
|
||||
"cmd": "systemctl reboot"
|
||||
},
|
||||
{
|
||||
"name": "Shutdown",
|
||||
"cmd": "systemctl -i poweroff"
|
||||
}
|
||||
]
|
||||
},
|
||||
"show-values": false,
|
||||
"interval": 1,
|
||||
"icon-size": 18,
|
||||
"hover-opens": false,
|
||||
"leave-closes": true,
|
||||
"css-name": "controls-window",
|
||||
"net-interface": "wlo1",
|
||||
"system-shutdown-symbolic": "system-shutdown",
|
||||
"output-switcher": true,
|
||||
"window-width": 320,
|
||||
"window-margin": 0,
|
||||
"root-css-name": "controls-overview"
|
||||
},
|
||||
"clock": {
|
||||
"format": "%a, %d. %b %H:%M:%S",
|
||||
"interval": 1,
|
||||
"on-right-click": "",
|
||||
"tooltip-text": "",
|
||||
"on-left-click": "",
|
||||
"on-middle-click": "",
|
||||
"on-scroll-up": "",
|
||||
"on-scroll-down": "",
|
||||
"css-name": "clock"
|
||||
},
|
||||
"executor-updates": {
|
||||
"script": "sway-check-updates",
|
||||
"interval": 900,
|
||||
"icon-size": 16,
|
||||
"on-left-click": "foot sway-update",
|
||||
"tooltip-text": "",
|
||||
"on-middle-click": "",
|
||||
"on-right-click": "",
|
||||
"on-scroll-up": "",
|
||||
"on-scroll-down": "",
|
||||
"css-name": "",
|
||||
"root-css-name": "",
|
||||
"icon-placement": "left"
|
||||
},
|
||||
"sway-workspaces": {
|
||||
"numbers": [
|
||||
"1",
|
||||
"2",
|
||||
"3",
|
||||
"4",
|
||||
"5",
|
||||
"6",
|
||||
"7",
|
||||
"8"
|
||||
],
|
||||
"show-icon": true,
|
||||
"image-size": 16,
|
||||
"show-name": true,
|
||||
"name-length": 20,
|
||||
"mark-autotiling": false,
|
||||
"mark-content": true,
|
||||
"show-layout": true
|
||||
},
|
||||
"scratchpad": {
|
||||
"css-name": "",
|
||||
"icon-size": 20
|
||||
},
|
||||
"menu-start": "off",
|
||||
"menu-start-settings": {}
|
||||
}
|
||||
]
|
102
sway-home/.config/nwg-panel/preset-3.css
Normal file
102
sway-home/.config/nwg-panel/preset-3.css
Normal file
@ -0,0 +1,102 @@
|
||||
/***** SUGGESTED TO CHANGE CAREFULLY *****/
|
||||
|
||||
/* Recommended if panel "height" unset or smaller then your theme default button height */
|
||||
button {
|
||||
margin: 2px
|
||||
}
|
||||
|
||||
#button-start {
|
||||
background: none;
|
||||
border: 0px
|
||||
}
|
||||
|
||||
/* WindowBox in SwayTaskBar is a custom widget, that needs this and the next name
|
||||
to highlight currently focused task */
|
||||
#task-box {
|
||||
padding-left: 4px;
|
||||
padding-right: 4px
|
||||
}
|
||||
#task-box-focused {
|
||||
background-color: rgba (255, 255, 255, 0.12);
|
||||
padding-left: 4px;
|
||||
padding-right: 4px
|
||||
}
|
||||
|
||||
|
||||
/***** MODIFY TO YOUR TASTE *****/
|
||||
|
||||
/* Sample button in sample config w/ no background nor border */
|
||||
#button-custom {
|
||||
background: rgba (0, 0, 0, 0.0);
|
||||
border: 0px
|
||||
}
|
||||
|
||||
/* Top panel in sample config uses this name */
|
||||
#panel-top {
|
||||
background-color: rgba (11, 11, 11, 0.9);
|
||||
color: #eeeeee
|
||||
}
|
||||
|
||||
/* Bottom panel in sample config uses this name */
|
||||
#panel-bottom {
|
||||
background-color: rgba (0, 0, 0, 0.9);
|
||||
color: #eeeeee
|
||||
}
|
||||
|
||||
/* Controls window in sample config uses this name */
|
||||
#controls-window {
|
||||
border-radius: 0px;
|
||||
background: #27132e;
|
||||
color: #eeeeee
|
||||
}
|
||||
|
||||
/* Executors usually behave better in monospace fonts */
|
||||
#executor-label {
|
||||
font-family: monospace
|
||||
}
|
||||
|
||||
/* and so does the Clock */
|
||||
#clock {
|
||||
font-family: monospace;
|
||||
font-size: 14px
|
||||
}
|
||||
|
||||
/* Sample executor-weather uses "css-name": "weather" */
|
||||
#weather {
|
||||
font-size: 14px
|
||||
}
|
||||
|
||||
/* dwl-tags */
|
||||
#dwl-tag-box {
|
||||
padding-top: 4px;
|
||||
padding-bottom: 4px
|
||||
}
|
||||
|
||||
#dwl-tag-occupied {
|
||||
font-family: monospace;
|
||||
color: #eee;
|
||||
background-color: #006699;
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
#dwl-tag-free {
|
||||
font-family: monospace;
|
||||
color: #eee;
|
||||
background-color: #333;
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
#dwl-tag-urgent {
|
||||
font-family: monospace;
|
||||
color: #eee;
|
||||
background-color: #ee6600;
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
#dwl-tag-selected {
|
||||
border: solid 2px;
|
||||
border-color: #81a1c1
|
||||
}
|
Reference in New Issue
Block a user