From 90457eb573a86d4865b71f2539107083ae8fe7de Mon Sep 17 00:00:00 2001 From: Liam Waldron Date: Mon, 7 Jul 2025 19:46:08 -0400 Subject: [PATCH] init --- bar.json | 22 ++++++++++++++++++++++ style.css | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 bar.json create mode 100644 style.css diff --git a/bar.json b/bar.json new file mode 100644 index 0000000..7b95ec1 --- /dev/null +++ b/bar.json @@ -0,0 +1,22 @@ +[ + { + "label": "_Lock", + "exec": "hyprlock", + "icon": "/usr/share/nwg-bar/images/system-lock-screen.svg" + }, + { + "label": "Logout", + "exec": "hyprctl dispatch exit", + "icon": "/usr/share/nwg-bar/images/system-log-out.svg" + }, + { + "label": "_Reboot", + "exec": "reboot", + "icon": "/usr/share/nwg-bar/images/system-reboot.svg" + }, + { + "label": "_Shutdown", + "exec": "poweroff", + "icon": "/usr/share/nwg-bar/images/system-shutdown.svg" + } +] diff --git a/style.css b/style.css new file mode 100644 index 0000000..e2bdf28 --- /dev/null +++ b/style.css @@ -0,0 +1,35 @@ +window { + background-color: transparent; +} + +/* Outer bar container, takes all the window width/height */ +#outer-box { + margin: 10px; +} + +/* Inner bar container, surrounds buttons */ +#inner-box { + background-color: #232A2E; + border-radius: 10px; + border-style: solid; + border-width: 4px; + border-color: #343f44; + 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: #343f44; +}