added nwg-look

main
Your Name 2025-05-07 15:51:10 +02:00
parent 614499c755
commit 49f3e286be
4 changed files with 587 additions and 2 deletions

View File

@ -0,0 +1,8 @@
{
"restart-on-display": true,
"restart-delay": 500,
"processes-background-only": false,
"processes-own-only": true,
"processes-interval-ms": 2000,
"run-through-compositor": true
}

View File

@ -0,0 +1,466 @@
[
{
"name": "",
"output": "",
"run-if-output-exist": [],
"run-if-output-absent": [],
"layer": "bottom",
"position": "top",
"controls": "off",
"menu-start": "off",
"width": "auto",
"height": 0,
"margin-top": 0,
"margin-bottom": 0,
"padding-horizontal": 0,
"padding-vertical": 0,
"spacing": 0,
"icons": "",
"css-name": "",
"modules-left": [],
"modules-center": [],
"modules-right": [],
"controls-settings": {
"components": [
"brightness",
"volume",
"battery"
],
"commands": {
"battery": ""
},
"show-brightness": false,
"show-volume": false,
"show-battery": true,
"interval": 1,
"icon-size": 16,
"hover-opens": false,
"leave-closes": true,
"click-closes": false,
"root-css-name": "controls-overview",
"css-name": "controls-window",
"battery-low-level": 20,
"battery-low-interval": 3,
"custom-items": [
{
"name": "Panel settings",
"icon": "nwg-panel",
"cmd": "nwg-panel-config"
}
],
"menu": {
"name": "unnamed",
"icon": "",
"items": []
}
},
"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": 16,
"margin-bottom": 0,
"margin-left": 0,
"margin-right": 0,
"margin-top": 0,
"padding": 2,
"terminal": "foot",
"width": 0
},
"sway-taskbar": {
"workspace-menu": [
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8"
],
"name-max-len": 20,
"image-size": 16,
"workspaces-spacing": 0,
"task-padding": 0,
"show-app-icon": true,
"show-app-name": true,
"show-layout": true,
"workspace-buttons": true,
"all-workspaces": true,
"mark-autotiling": true,
"mark-xwayland": true,
"all-outputs": false
},
"hyprland-taskbar": {
"name-max-len": 24,
"icon-size": 16,
"workspaces-spacing": 0,
"client-padding": 0,
"show-app-icon": true,
"show-app-name": true,
"show-layout": true,
"all-outputs": false,
"mark-xwayland": true,
"angle": 0.0
},
"sway-workspaces": {
"numbers": [
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8"
],
"show-icon": true,
"image-size": 16,
"show-name": true,
"name-length": 40,
"mark-autotiling": true,
"mark-content": true,
"hide-empty": false,
"show-layout": true
},
"hyprland-workspaces": {
"num-ws": 10,
"show-icon": true,
"image-size": 16,
"show-name": true,
"name-length": 40,
"show-empty": true,
"mark-content": true,
"show-names": true,
"mark-floating": true,
"mark-xwayland": true,
"angle": 0.0
},
"clock": {
"format": "%a, %d. %b %H:%M:%S",
"tooltip-text": "",
"tooltip-date-format": false,
"on-left-click": "",
"on-middle-click": "",
"on-right-click": "",
"on-scroll-up": "",
"on-scroll-down": "",
"root-css-name": "root-clock",
"css-name": "clock",
"interval": 1,
"angle": 0.0
},
"playerctl": {
"buttons-position": "left",
"icon-size": 16,
"chars": 30,
"scroll": false,
"button-css-name": "",
"label-css-name": "",
"interval": 1
},
"scratchpad": {
"css-name": "",
"icon-size": 16
},
"dwl-tags": {
"tag-names": "1 2 3 4 5 6 7 8 9",
"title-limit": 55
},
"openweather": {
"appid": "",
"weatherbit-api-key": "",
"lat": null,
"long": null,
"lang": "en",
"units": "metric",
"interval": 1800,
"loc-name": "",
"weather-icons": "color",
"on-right-click": "",
"on-middle-click": "",
"on-scroll": "",
"icon-placement": "start",
"icon-size": 24,
"css-name": "weather",
"show-name": false,
"angle": 0.0,
"ow-popup-icons": "light",
"popup-icon-size": 24,
"popup-text-size": "medium",
"popup-css-name": "weather-forecast",
"popup-placement": "right",
"popup-margin-horizontal": 0,
"popup-margin-top": 0,
"popup-margin-bottom": 0,
"show-humidity": true,
"show-wind": true,
"show-pressure": true,
"show-cloudiness": true,
"show-visibility": true,
"show-pop": true,
"show-volume": true
},
"brightness-slider": {
"show-values": true,
"icon-size": 16,
"interval": 10,
"hover-opens": false,
"leave-closes": false,
"root-css-name": "brightness-module",
"css-name": "brightness-popup",
"angle": 0.0,
"icon-placement": "start",
"backlight-device": "",
"backlight-controller": "brightnessctl",
"slider-orientation": "horizontal",
"slider-inverted": false,
"popup-icon-placement": "start",
"popup-horizontal-alignment": "left",
"popup-vertical-alignment": "top",
"popup-width": 256,
"popup-height": 64,
"popup-horizontal-margin": 0,
"popup-vertical-margin": 0,
"step-size": 1
}
},
{
"name": "",
"output": "",
"run-if-output-exist": [],
"run-if-output-absent": [],
"layer": "bottom",
"position": "top",
"controls": "off",
"menu-start": "off",
"width": "auto",
"height": 0,
"margin-top": 0,
"margin-bottom": 0,
"padding-horizontal": 0,
"padding-vertical": 0,
"spacing": 0,
"icons": "",
"css-name": "",
"modules-left": [],
"modules-center": [],
"modules-right": [],
"controls-settings": {
"components": [
"brightness",
"volume",
"battery"
],
"commands": {
"battery": ""
},
"show-brightness": false,
"show-volume": false,
"show-battery": true,
"interval": 1,
"icon-size": 16,
"hover-opens": false,
"leave-closes": true,
"click-closes": false,
"root-css-name": "controls-overview",
"css-name": "controls-window",
"battery-low-level": 20,
"battery-low-interval": 3,
"custom-items": [
{
"name": "Panel settings",
"icon": "nwg-panel",
"cmd": "nwg-panel-config"
}
],
"menu": {
"name": "unnamed",
"icon": "",
"items": []
}
},
"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": 16,
"margin-bottom": 0,
"margin-left": 0,
"margin-right": 0,
"margin-top": 0,
"padding": 2,
"terminal": "foot",
"width": 0
},
"sway-taskbar": {
"workspace-menu": [
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8"
],
"name-max-len": 20,
"image-size": 16,
"workspaces-spacing": 0,
"task-padding": 0,
"show-app-icon": true,
"show-app-name": true,
"show-layout": true,
"workspace-buttons": true,
"all-workspaces": true,
"mark-autotiling": true,
"mark-xwayland": true,
"all-outputs": false
},
"hyprland-taskbar": {
"name-max-len": 24,
"icon-size": 16,
"workspaces-spacing": 0,
"client-padding": 0,
"show-app-icon": true,
"show-app-name": true,
"show-layout": true,
"all-outputs": false,
"mark-xwayland": true,
"angle": 0.0
},
"sway-workspaces": {
"numbers": [
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8"
],
"show-icon": true,
"image-size": 16,
"show-name": true,
"name-length": 40,
"mark-autotiling": true,
"mark-content": true,
"hide-empty": false,
"show-layout": true
},
"hyprland-workspaces": {
"num-ws": 10,
"show-icon": true,
"image-size": 16,
"show-name": true,
"name-length": 40,
"show-empty": true,
"mark-content": true,
"show-names": true,
"mark-floating": true,
"mark-xwayland": true,
"angle": 0.0
},
"clock": {
"format": "%a, %d. %b %H:%M:%S",
"tooltip-text": "",
"tooltip-date-format": false,
"on-left-click": "",
"on-middle-click": "",
"on-right-click": "",
"on-scroll-up": "",
"on-scroll-down": "",
"root-css-name": "root-clock",
"css-name": "clock",
"interval": 1,
"angle": 0.0
},
"playerctl": {
"buttons-position": "left",
"icon-size": 16,
"chars": 30,
"scroll": false,
"button-css-name": "",
"label-css-name": "",
"interval": 1
},
"scratchpad": {
"css-name": "",
"icon-size": 16
},
"dwl-tags": {
"tag-names": "1 2 3 4 5 6 7 8 9",
"title-limit": 55
},
"openweather": {
"appid": "",
"weatherbit-api-key": "",
"lat": null,
"long": null,
"lang": "en",
"units": "metric",
"interval": 1800,
"loc-name": "",
"weather-icons": "color",
"on-right-click": "",
"on-middle-click": "",
"on-scroll": "",
"icon-placement": "start",
"icon-size": 24,
"css-name": "weather",
"show-name": false,
"angle": 0.0,
"ow-popup-icons": "light",
"popup-icon-size": 24,
"popup-text-size": "medium",
"popup-css-name": "weather-forecast",
"popup-placement": "right",
"popup-margin-horizontal": 0,
"popup-margin-top": 0,
"popup-margin-bottom": 0,
"show-humidity": true,
"show-wind": true,
"show-pressure": true,
"show-cloudiness": true,
"show-visibility": true,
"show-pop": true,
"show-volume": true
},
"brightness-slider": {
"show-values": true,
"icon-size": 16,
"interval": 10,
"hover-opens": false,
"leave-closes": false,
"root-css-name": "brightness-module",
"css-name": "brightness-popup",
"angle": 0.0,
"icon-placement": "start",
"backlight-device": "",
"backlight-controller": "brightnessctl",
"slider-orientation": "horizontal",
"slider-inverted": false,
"popup-icon-placement": "start",
"popup-horizontal-alignment": "left",
"popup-vertical-alignment": "top",
"popup-width": 256,
"popup-height": 64,
"popup-horizontal-margin": 0,
"popup-vertical-margin": 0,
"step-size": 1
}
}
]

View File

@ -0,0 +1,111 @@
/***** 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: #101010;
color: #eeeeee
}
/* Controls window in sample config uses this name */
#controls-window {
border-radius: 15px;
background: #36364f;
color: #eeeeee
}
#controls-window scale value {
color: #eeeeee
}
/* Brightness slider popup window in sample config uses this name */
#brightness-popup {
border-radius: 15px;
background: #36364f;
color: #eeeeee
}
#brightness-popup box {
padding: 15px;
}
/* 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
}

View File

@ -1,9 +1,9 @@
#!/bin/bash
echo "Installing required Packages"
sudo pacman -Syu --noconfirm hyprland hyprcursor hyprpaper hyprlock kitty alacritty
sudo pacman -Syu --noconfirm hyprland hyprcursor hyprpaper hyprlock kitty alacritty dunst nwg-dock-hyprland nwg-drawer nwg-menu nwg-look
echo "Installing AUR packages"
yay -Syu --answerdiff None --answerclean All nwg-dock-hyprland nwg-drawer nwg-menu hyprland-workspaces bluetuith
yay -Syu --answerdiff None --answerclean All hyprland-workspaces bluetuith
#eww compilation