From d9375906f0a76084a698a36dcb190ce0c975ba23 Mon Sep 17 00:00:00 2001 From: _N0x <tf@n0x.io> Date: Sat, 29 Mar 2025 19:37:00 +0100 Subject: [PATCH] FEAT: added nwg dotfiles --- nwg/.config/nwg-bar/bar.json | 22 ++++++++++++++++++++++ nwg/.config/nwg-bar/style.css | 35 +++++++++++++++++++++++++++++++++++ nwg/.config/nwg-look/config | 7 +++++++ 3 files changed, 64 insertions(+) create mode 100644 nwg/.config/nwg-bar/bar.json create mode 100644 nwg/.config/nwg-bar/style.css create mode 100644 nwg/.config/nwg-look/config diff --git a/nwg/.config/nwg-bar/bar.json b/nwg/.config/nwg-bar/bar.json new file mode 100644 index 0000000..6c456e7 --- /dev/null +++ b/nwg/.config/nwg-bar/bar.json @@ -0,0 +1,22 @@ +[ + { + "label": "Lock", + "exec": "swaylock -f -c 000000", + "icon": "/usr/share/nwg-bar/images/system-lock-screen.svg" + }, + { + "label": "Logout", + "exec": "swaymsg exit", + "icon": "/usr/share/nwg-bar/images/system-log-out.svg" + }, + { + "label": "Reboot", + "exec": "systemctl reboot", + "icon": "/usr/share/nwg-bar/images/system-reboot.svg" + }, + { + "label": "Shutdown", + "exec": "systemctl -i poweroff", + "icon": "/usr/share/nwg-bar/images/system-shutdown.svg" + } +] \ No newline at end of file diff --git a/nwg/.config/nwg-bar/style.css b/nwg/.config/nwg-bar/style.css new file mode 100644 index 0000000..50e547d --- /dev/null +++ b/nwg/.config/nwg-bar/style.css @@ -0,0 +1,35 @@ +window { + background-color: rgba (0, 0, 0, 1.0) +} + +/* Outer bar container, takes all the window width/height */ +#outer-box { + margin: 0px +} + +/* Inner bar container, surrounds buttons */ +#inner-box { + background-color: rgba (0, 0, 0, 0.85); + 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: 10px; + padding-right: 10px; + margin: 5px +} + +button:hover { + background-color: rgba (255, 255, 255, 0.1) +} diff --git a/nwg/.config/nwg-look/config b/nwg/.config/nwg-look/config new file mode 100644 index 0000000..3f49ae5 --- /dev/null +++ b/nwg/.config/nwg-look/config @@ -0,0 +1,7 @@ +{ + "export-settings-ini": true, + "export-gtkrc-20": true, + "export-index-theme": true, + "export-xsettingsd": true, + "export-gtk4-symlinks": true +} \ No newline at end of file