diff --git a/sway-home/.config/nwg-bar/preset-0.css b/sway-home/.config/nwg-bar/preset-0.css new file mode 100644 index 00000000..44d062ed --- /dev/null +++ b/sway-home/.config/nwg-bar/preset-0.css @@ -0,0 +1,35 @@ +window { + background-color: rgba (0, 0, 0, 0.0) +} + +/* Outer bar container, takes all the window width/height */ +#outer-box { + margin: 0px +} + +/* Inner bar container, surrounds buttons */ +#inner-box { + 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); + padding: 5px; + margin: 5px +} + +button, image { + background: none; + border: none; + box-shadow: none +} + +button { + padding-left: 10px; + padding-right: 10px; + margin: 5px +} + +button:hover { + background-color: rgba (255, 255, 255, 0.1) +} diff --git a/sway-home/.config/nwg-bar/preset-1.css b/sway-home/.config/nwg-bar/preset-1.css new file mode 100644 index 00000000..a6410556 --- /dev/null +++ b/sway-home/.config/nwg-bar/preset-1.css @@ -0,0 +1,35 @@ +window { + background-color: rgba (0, 0, 0, 0.0) +} + +/* Outer bar container, takes all the window width/height */ +#outer-box { + margin: 0px +} + +/* Inner bar container, surrounds buttons */ +#inner-box { + background: #31373A; + border-radius: 10px; + border-style: none; + border-width: 1px; + border-color: rgba (156, 142, 122, 0.7); + padding: 5px; + margin: 5px +} + +button, image { + background: none; + border: none; + box-shadow: none +} + +button { + padding-left: 5px; + padding-right: 5px; + margin: 5px +} + +button:hover { + background-color: rgba (255, 255, 255, 0.1) +} diff --git a/sway-home/.config/nwg-bar/preset-2.css b/sway-home/.config/nwg-bar/preset-2.css new file mode 100644 index 00000000..ef4475a7 --- /dev/null +++ b/sway-home/.config/nwg-bar/preset-2.css @@ -0,0 +1,35 @@ +window { + background-color: rgba (0, 0, 0, 0.0) +} + +/* Outer bar container, takes all the window width/height */ +#outer-box { + margin: 0px +} + +/* Inner bar container, surrounds buttons */ +#inner-box { + background-color: rgba (23, 53, 63, 0.95); + border-radius: 0px; + border-style: none; + border-width: 1px; + border-color: rgba (156, 142, 122, 0.7); + padding: 5px; + margin: 5px +} + +button, image { + background: none; + border: none; + box-shadow: none +} + +button { + padding-left: 10px; + padding-right: 10px; + margin: 5px +} + +button:hover { + background-color: rgba (255, 255, 255, 0.1) +} diff --git a/sway-home/.config/nwg-bar/preset-3.css b/sway-home/.config/nwg-bar/preset-3.css new file mode 100644 index 00000000..a1c0c598 --- /dev/null +++ b/sway-home/.config/nwg-bar/preset-3.css @@ -0,0 +1,31 @@ +window { + background-color: rgba (0, 0, 0, 0.0) +} + +/* Outer bar container, takes all the window width/height */ +#outer-box { + margin: 0px +} + +/* Inner bar container, surrounds buttons */ +#inner-box { + background: #27132e; + padding: 0px; + margin: 0px +} + +button, image { + background: none; + border: none; + box-shadow: none +} + +button { + padding-left: 10px; + padding-right: 10px; + margin: 5px +} + +button:hover { + background-color: rgba (255, 255, 255, 0.1) +} diff --git a/sway-home/.config/nwg-dock/preset-0.css b/sway-home/.config/nwg-dock/preset-0.css new file mode 100644 index 00000000..dece1f3b --- /dev/null +++ b/sway-home/.config/nwg-dock/preset-0.css @@ -0,0 +1,35 @@ +window { + background-color: rgba (37, 37, 37, 0.95); + border-style: none; + border-width: 1px; + border-color: rgba (0, 0, 0, 1.0); +} + +#box { + /* Define attributes of the box surrounding icons here */ + padding: 10px +} + +button, image { + background: none; + border-style: none; + box-shadow: none; + color: #999 +} + +button { + padding: 4px; + margin-left: 4px; + margin-right: 4px; + color: #eee; + font-size: 12px +} + +button:hover { + background-color: rgba (255, 255, 255, 0.15); + border-radius: 2px; +} + +button:focus { + box-shadow: 0 0 2px; +} diff --git a/sway-home/.config/nwg-dock/preset-1.css b/sway-home/.config/nwg-dock/preset-1.css new file mode 100644 index 00000000..1bd1ad7a --- /dev/null +++ b/sway-home/.config/nwg-dock/preset-1.css @@ -0,0 +1,37 @@ +window { + /*background-color: rgba (0, 0, 0, 0.8);*/ + background: #31373A; + border-radius: 10px; + border-style: none; + border-width: 1px; + border-color: rgba (156, 142, 122, 0.7) +} + +#box { + /* Define attributes of the box surrounding icons here */ + padding: 10px +} + +button, image { + background: none; + border-style: none; + box-shadow: none; + color: #999 +} + +button { + padding: 4px; + margin-left: 4px; + margin-right: 4px; + color: #eee; + font-size: 12px +} + +button:hover { + background-color: rgba (255, 255, 255, 0.15); + border-radius: 2px; +} + +button:focus { + box-shadow: 0 0 2px; +} diff --git a/sway-home/.config/nwg-dock/preset-2.css b/sway-home/.config/nwg-dock/preset-2.css new file mode 100644 index 00000000..ac5502e6 --- /dev/null +++ b/sway-home/.config/nwg-dock/preset-2.css @@ -0,0 +1,35 @@ +window { + background: #27132e; + border-style: none; + border-width: 1px; + border-color: rgba (156, 142, 122, 0.7) +} + +#box { + /* Define attributes of the box surrounding icons here */ + padding: 10px +} + +button, image { + background: none; + border-style: none; + box-shadow: none; + color: #999 +} + +button { + padding: 4px; + margin-left: 4px; + margin-right: 4px; + color: #eee; + font-size: 12px +} + +button:hover { + background-color: rgba (255, 255, 255, 0.15); + border-radius: 2px; +} + +button:focus { + box-shadow: 0 0 2px; +} diff --git a/sway-home/.config/nwg-dock/preset-3.css b/sway-home/.config/nwg-dock/preset-3.css new file mode 100644 index 00000000..ac5502e6 --- /dev/null +++ b/sway-home/.config/nwg-dock/preset-3.css @@ -0,0 +1,35 @@ +window { + background: #27132e; + border-style: none; + border-width: 1px; + border-color: rgba (156, 142, 122, 0.7) +} + +#box { + /* Define attributes of the box surrounding icons here */ + padding: 10px +} + +button, image { + background: none; + border-style: none; + box-shadow: none; + color: #999 +} + +button { + padding: 4px; + margin-left: 4px; + margin-right: 4px; + color: #eee; + font-size: 12px +} + +button:hover { + background-color: rgba (255, 255, 255, 0.15); + border-radius: 2px; +} + +button:focus { + box-shadow: 0 0 2px; +} diff --git a/sway-home/.config/nwg-drawer/preset-0.css b/sway-home/.config/nwg-drawer/preset-0.css new file mode 100644 index 00000000..ba177cf7 --- /dev/null +++ b/sway-home/.config/nwg-drawer/preset-0.css @@ -0,0 +1,34 @@ +window { + background-color: rgba (20, 20, 20, 0.95); + color: #eeeeee +} + +/* search entry */ +entry { + background-color: rgba (0, 0, 0, 0.2) +} + +button, image { + background: none; + border: none +} + +button:hover { + background-color: rgba (255, 255, 255, 0.1) +} + +/* in case you wanted to give category buttons a different look */ +#category-button { + margin: 0 10px 0 10px +} + +#pinned-box { + padding-bottom: 5px; + border-bottom: 1px dotted gray +} + +#files-box { + padding: 5px; + border: 1px dotted gray; + border-radius: 15px +} diff --git a/sway-home/.config/nwg-drawer/preset-1.css b/sway-home/.config/nwg-drawer/preset-1.css new file mode 100644 index 00000000..ca4b0311 --- /dev/null +++ b/sway-home/.config/nwg-drawer/preset-1.css @@ -0,0 +1,34 @@ +window { + background: #282828; + color: #eeeeee +} + +/* search entry */ +entry { + background-color: rgba (0, 0, 0, 0.2) +} + +button, image { + background: none; + border: none +} + +button:hover { + background-color: rgba (255, 255, 255, 0.1) +} + +/* in case you wanted to give category buttons a different look */ +#category-button { + margin: 0 10px 0 10px +} + +#pinned-box { + padding-bottom: 5px; + border-bottom: 1px dotted gray +} + +#files-box { + padding: 5px; + border: 1px dotted gray; + border-radius: 15px +} diff --git a/sway-home/.config/nwg-drawer/preset-2.css b/sway-home/.config/nwg-drawer/preset-2.css new file mode 100644 index 00000000..ab209730 --- /dev/null +++ b/sway-home/.config/nwg-drawer/preset-2.css @@ -0,0 +1,28 @@ +window { + background-color: rgba (20, 1, 21, 0.9); + color: #eeeeee +} + +entry { + background-color: rgba (0, 0, 0, 0.2) +} + +button { + background: none; + border: none +} + +button:hover { + background-color: rgba (255, 255, 255, 0.1) +} + +#pinned-box { + padding-bottom: 5px; + border-bottom: 1px dotted gray +} + +#files-box { + padding: 5px; + border: 1px dotted gray; + border-radius: 15px +} diff --git a/sway-home/.config/nwg-drawer/preset-3.css b/sway-home/.config/nwg-drawer/preset-3.css new file mode 100644 index 00000000..ab209730 --- /dev/null +++ b/sway-home/.config/nwg-drawer/preset-3.css @@ -0,0 +1,28 @@ +window { + background-color: rgba (20, 1, 21, 0.9); + color: #eeeeee +} + +entry { + background-color: rgba (0, 0, 0, 0.2) +} + +button { + background: none; + border: none +} + +button:hover { + background-color: rgba (255, 255, 255, 0.1) +} + +#pinned-box { + padding-bottom: 5px; + border-bottom: 1px dotted gray +} + +#files-box { + padding: 5px; + border: 1px dotted gray; + border-radius: 15px +} diff --git a/sway-home/.config/nwg-panel/menu-start.css b/sway-home/.config/nwg-panel/menu-start.css new file mode 100644 index 00000000..ae4d719f --- /dev/null +++ b/sway-home/.config/nwg-panel/menu-start.css @@ -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) +} \ No newline at end of file diff --git a/sway-home/.config/nwg-panel/preset-0 b/sway-home/.config/nwg-panel/preset-0 new file mode 100644 index 00000000..64a120a8 --- /dev/null +++ b/sway-home/.config/nwg-panel/preset-0 @@ -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": {} + } +] \ No newline at end of file diff --git a/sway-home/.config/nwg-panel/preset-0.css b/sway-home/.config/nwg-panel/preset-0.css new file mode 100644 index 00000000..66917ef2 --- /dev/null +++ b/sway-home/.config/nwg-panel/preset-0.css @@ -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 +} \ No newline at end of file diff --git a/sway-home/.config/nwg-panel/preset-1 b/sway-home/.config/nwg-panel/preset-1 new file mode 100644 index 00000000..c182957c --- /dev/null +++ b/sway-home/.config/nwg-panel/preset-1 @@ -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 + } + } +] \ No newline at end of file diff --git a/sway-home/.config/nwg-panel/preset-1.css b/sway-home/.config/nwg-panel/preset-1.css new file mode 100644 index 00000000..21f61d14 --- /dev/null +++ b/sway-home/.config/nwg-panel/preset-1.css @@ -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 +} \ No newline at end of file diff --git a/sway-home/.config/nwg-panel/preset-2 b/sway-home/.config/nwg-panel/preset-2 new file mode 100644 index 00000000..21989824 --- /dev/null +++ b/sway-home/.config/nwg-panel/preset-2 @@ -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 + } + } +] \ No newline at end of file diff --git a/sway-home/.config/nwg-panel/preset-2.css b/sway-home/.config/nwg-panel/preset-2.css new file mode 100644 index 00000000..cfb4d7c1 --- /dev/null +++ b/sway-home/.config/nwg-panel/preset-2.css @@ -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 +} \ No newline at end of file diff --git a/sway-home/.config/nwg-panel/preset-3 b/sway-home/.config/nwg-panel/preset-3 new file mode 100644 index 00000000..0358ae86 --- /dev/null +++ b/sway-home/.config/nwg-panel/preset-3 @@ -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": {} + } +] \ No newline at end of file diff --git a/sway-home/.config/nwg-panel/preset-3.css b/sway-home/.config/nwg-panel/preset-3.css new file mode 100644 index 00000000..c49adfb8 --- /dev/null +++ b/sway-home/.config/nwg-panel/preset-3.css @@ -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 +} diff --git a/sway-home/.config/nwg-shell/custom b/sway-home/.config/nwg-shell/custom new file mode 100644 index 00000000..3f1c5b13 --- /dev/null +++ b/sway-home/.config/nwg-shell/custom @@ -0,0 +1,30 @@ +{ + "panel-css": "", + "launcher-columns": 6, + "launcher-icon-size": 64, + "launcher-file-search-columns": 2, + "launcher-search-files": true, + "launcher-categories": true, + "launcher-resident": false, + "launcher-overlay": false, + "launcher-css": "", + "launcher-on": true, + "exit-position": "center", + "exit-full": false, + "exit-alignment": "middle", + "exit-margin": 0, + "exit-icon-size": 48, + "exit-css": "", + "exit-on": true, + "dock-position": "bottom", + "dock-output": "", + "dock-full": false, + "dock-autohide": false, + "dock-permanent": false, + "dock-exclusive": false, + "dock-alignment": "center", + "dock-margin": 0, + "dock-icon-size": 48, + "dock-css": "", + "dock-on": false +} \ No newline at end of file diff --git a/sway-home/.config/nwg-shell/preset-0 b/sway-home/.config/nwg-shell/preset-0 new file mode 100644 index 00000000..9c15742f --- /dev/null +++ b/sway-home/.config/nwg-shell/preset-0 @@ -0,0 +1,30 @@ +{ + "panel-css": "preset-0.css", + "launcher-columns": 6, + "launcher-icon-size": 64, + "launcher-file-search-columns": 2, + "launcher-search-files": true, + "launcher-categories": true, + "launcher-resident": false, + "launcher-overlay": false, + "launcher-css": "preset-0.css", + "launcher-on": true, + "exit-position": "center", + "exit-full": false, + "exit-alignment": "middle", + "exit-margin": 0, + "exit-icon-size": 48, + "exit-css": "preset-0.css", + "exit-on": true, + "dock-position": "bottom", + "dock-output": "", + "dock-full": false, + "dock-autohide": false, + "dock-permanent": false, + "dock-exclusive": false, + "dock-alignment": "center", + "dock-margin": 0, + "dock-icon-size": 48, + "dock-css": "preset-0.css", + "dock-on": false +} \ No newline at end of file diff --git a/sway-home/.config/nwg-shell/preset-1 b/sway-home/.config/nwg-shell/preset-1 new file mode 100644 index 00000000..e6221105 --- /dev/null +++ b/sway-home/.config/nwg-shell/preset-1 @@ -0,0 +1,30 @@ +{ + "panel-css": "preset-1.css", + "launcher-columns": 6, + "launcher-icon-size": 64, + "launcher-file-search-columns": 2, + "launcher-search-files": true, + "launcher-categories": true, + "launcher-resident": false, + "launcher-overlay": false, + "launcher-css": "preset-1.css", + "launcher-on": true, + "exit-position": "center", + "exit-full": false, + "exit-alignment": "middle", + "exit-margin": 0, + "exit-icon-size": 48, + "exit-css": "preset-1.css", + "exit-on": true, + "dock-position": "bottom", + "dock-output": "", + "dock-full": false, + "dock-autohide": true, + "dock-permanent": false, + "dock-exclusive": false, + "dock-alignment": "center", + "dock-margin": 0, + "dock-icon-size": 48, + "dock-css": "preset-1.css", + "dock-on": true +} \ No newline at end of file diff --git a/sway-home/.config/nwg-shell/preset-2 b/sway-home/.config/nwg-shell/preset-2 new file mode 100644 index 00000000..b0367e2b --- /dev/null +++ b/sway-home/.config/nwg-shell/preset-2 @@ -0,0 +1,30 @@ +{ + "panel-css": "preset-2.css", + "launcher-columns": 6, + "launcher-icon-size": 64, + "launcher-file-search-columns": 2, + "launcher-search-files": true, + "launcher-categories": true, + "launcher-resident": false, + "launcher-overlay": false, + "launcher-css": "preset-2.css", + "launcher-on": true, + "exit-position": "center", + "exit-full": false, + "exit-alignment": "middle", + "exit-margin": 0, + "exit-icon-size": 48, + "exit-css": "preset-2.css", + "exit-on": true, + "dock-position": "bottom", + "dock-output": "", + "dock-full": false, + "dock-autohide": false, + "dock-permanent": false, + "dock-exclusive": false, + "dock-alignment": "center", + "dock-margin": 0, + "dock-icon-size": 48, + "dock-css": "preset-2.css", + "dock-on": false +} \ No newline at end of file diff --git a/sway-home/.config/nwg-shell/preset-3 b/sway-home/.config/nwg-shell/preset-3 new file mode 100644 index 00000000..2c8a259f --- /dev/null +++ b/sway-home/.config/nwg-shell/preset-3 @@ -0,0 +1,30 @@ +{ + "panel-css": "preset-3.css", + "launcher-columns": 6, + "launcher-icon-size": 64, + "launcher-file-search-columns": 2, + "launcher-search-files": true, + "launcher-categories": true, + "launcher-resident": false, + "launcher-overlay": false, + "launcher-css": "preset-3.css", + "launcher-on": true, + "exit-position": "center", + "exit-full": false, + "exit-alignment": "middle", + "exit-margin": 0, + "exit-icon-size": 48, + "exit-css": "preset-3.css", + "exit-on": true, + "dock-position": "left", + "dock-output": "", + "dock-full": true, + "dock-autohide": false, + "dock-permanent": true, + "dock-exclusive": true, + "dock-alignment": "start", + "dock-margin": 0, + "dock-icon-size": 42, + "dock-css": "preset-3.css", + "dock-on": true +} \ No newline at end of file diff --git a/sway-home/.config/nwg-shell/settings b/sway-home/.config/nwg-shell/settings new file mode 100644 index 00000000..42519e39 --- /dev/null +++ b/sway-home/.config/nwg-shell/settings @@ -0,0 +1,19 @@ +{ + "keyboard-layout": "us", + "autotiling-workspaces": "1 2 3 4 5 6 7 8", + "autotiling-on": true, + "night-lat": -1, + "night-long": -1, + "night-temp-low": 4500, + "night-temp-high": 6500, + "night-gamma": 1.0, + "night-on": true, + "terminal": "", + "file-manager": "", + "editor": "", + "browser": "", + "panel-preset": "preset-0", + "panel-custom": "", + "show-on-startup": true, + "show-help": false +} \ No newline at end of file diff --git a/sway-home/.config/nwg-wrapper/help-sway.css b/sway-home/.config/nwg-wrapper/help-sway.css new file mode 100644 index 00000000..4858f546 --- /dev/null +++ b/sway-home/.config/nwg-wrapper/help-sway.css @@ -0,0 +1,17 @@ +window { + background-color: rgba (0, 0, 0, 0.0); +} + +#box-outer { + /* Define attributes of the box surrounding icons here */ + background-color: rgba (255, 255, 255, 0.0) +} + +#box-inner { + background-color: rgba (0, 0, 0, 0.4); + /*border-radius: 0px; + border-style: solid; + border-width: 1px; + border-color: rgba (204, 204, 204, 0.5);*/ + padding: 20px +} diff --git a/sway-home/.config/nwg-wrapper/help-sway.pango b/sway-home/.config/nwg-wrapper/help-sway.pango new file mode 100644 index 00000000..a469184e --- /dev/null +++ b/sway-home/.config/nwg-wrapper/help-sway.pango @@ -0,0 +1,35 @@ +Terminal emulator Mod+t +Web browser Mod+w +Text editor Mod+e +File manager Mod+f +Application launcher Alt+F1|Ctrl+Space +Dock show/hide Mod+d + +Kill task Alt+q +Exit menu Mod+x +Reload sway Mod+Shift+C + +Switch workspace Mod+number +Move to workspace Mod+Shift+number +Move focus Mod+arrow +Move container Mod+Shift+arrow +Previous workspace Mod+Alt+left +Next workspace Mod+Alt+rigth +Focus parent Mod+p + +Toggle split Mod+Tab +Toggle layout Alt+Tab +Toggle floating Mod+Shift+Space +Toggle layout Alt+Tab +Fullscreen Mod+Shift+F +Resize container Alt+arrow +Start resize mode Mod+r +Return to default mode Return|Esc +Change inner gaps Mod+plus/minus +Change outer gaps Mod+Shift+plus/minus + +Move to scratchpad Mod+Shift+Z +Show scratchpad Mod+Z + +Show/hide help Alt+h +Move help to front/back Alt+Shift+H \ No newline at end of file