From 800137245deadcb9c9743c17b9f92991ba626171 Mon Sep 17 00:00:00 2001 From: Josh Fabean Date: Tue, 27 Oct 2020 16:51:11 -0500 Subject: [PATCH] added nwg things to dotfiles --- .config/nwg-launchers/nwgbar/bar.json | 22 ++++++++++++ .config/nwg-launchers/nwgbar/images/lock.svg | 8 +++++ .../nwg-launchers/nwgbar/images/logout.svg | 8 +++++ .../nwg-launchers/nwgbar/images/reboot.svg | 10 ++++++ .../nwg-launchers/nwgbar/images/shutdown.svg | 8 +++++ .../nwg-launchers/nwgbar/images/suspend.svg | 10 ++++++ .config/nwg-launchers/nwgbar/style.css | 34 +++++++++++++++++++ 7 files changed, 100 insertions(+) create mode 100644 .config/nwg-launchers/nwgbar/bar.json create mode 100644 .config/nwg-launchers/nwgbar/images/lock.svg create mode 100644 .config/nwg-launchers/nwgbar/images/logout.svg create mode 100644 .config/nwg-launchers/nwgbar/images/reboot.svg create mode 100644 .config/nwg-launchers/nwgbar/images/shutdown.svg create mode 100644 .config/nwg-launchers/nwgbar/images/suspend.svg create mode 100644 .config/nwg-launchers/nwgbar/style.css diff --git a/.config/nwg-launchers/nwgbar/bar.json b/.config/nwg-launchers/nwgbar/bar.json new file mode 100644 index 0000000..4f9d813 --- /dev/null +++ b/.config/nwg-launchers/nwgbar/bar.json @@ -0,0 +1,22 @@ +[ + { + "name": "Lock screen", + "exec": "swaylock", + "icon": "/home/joshfabean/.config/nwg-launchers/nwgbar/images/lock.svg" + }, + { + "name": "Logout", + "exec": "swaymsg exit", + "icon": "/home/joshfabean/.config/nwg-launchers/nwgbar/images/logout.svg" + }, + { + "name": "Reboot", + "exec": "systemctl reboot", + "icon": "/home/joshfabean/.config/nwg-launchers/nwgbar/images/reboot.svg" + }, + { + "name": "Shutdown", + "exec": "systemctl -i poweroff", + "icon": "/home/joshfabean/.config/nwg-launchers/nwgbar/images/shutdown.svg" + } +] diff --git a/.config/nwg-launchers/nwgbar/images/lock.svg b/.config/nwg-launchers/nwgbar/images/lock.svg new file mode 100644 index 0000000..22204e5 --- /dev/null +++ b/.config/nwg-launchers/nwgbar/images/lock.svg @@ -0,0 +1,8 @@ + + + + + + diff --git a/.config/nwg-launchers/nwgbar/images/logout.svg b/.config/nwg-launchers/nwgbar/images/logout.svg new file mode 100644 index 0000000..d5b4746 --- /dev/null +++ b/.config/nwg-launchers/nwgbar/images/logout.svg @@ -0,0 +1,8 @@ + + + + + + diff --git a/.config/nwg-launchers/nwgbar/images/reboot.svg b/.config/nwg-launchers/nwgbar/images/reboot.svg new file mode 100644 index 0000000..c0acea4 --- /dev/null +++ b/.config/nwg-launchers/nwgbar/images/reboot.svg @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/.config/nwg-launchers/nwgbar/images/shutdown.svg b/.config/nwg-launchers/nwgbar/images/shutdown.svg new file mode 100644 index 0000000..87893c2 --- /dev/null +++ b/.config/nwg-launchers/nwgbar/images/shutdown.svg @@ -0,0 +1,8 @@ + + + + + + diff --git a/.config/nwg-launchers/nwgbar/images/suspend.svg b/.config/nwg-launchers/nwgbar/images/suspend.svg new file mode 100644 index 0000000..1c386bc --- /dev/null +++ b/.config/nwg-launchers/nwgbar/images/suspend.svg @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/.config/nwg-launchers/nwgbar/style.css b/.config/nwg-launchers/nwgbar/style.css new file mode 100644 index 0000000..d959377 --- /dev/null +++ b/.config/nwg-launchers/nwgbar/style.css @@ -0,0 +1,34 @@ +#bar { + margin: 30px /* affects top/bottom & left/right alignment */ +} + +button, image { + background: none; + border-style: none; + box-shadow: none; + color:#eceff4; +} + +button { + padding-left: 10px; + padding-right: 10px; + margin: 5px +} + +button:hover { + background-color: #17917a; +} + +button:focus { + background-color: #17917a; +} + +grid { + background-color: #1d2021; + border-radius: 5px; + padding: 5px; + box-shadow: 0 0 5px black; + /* e.g. for common background to all buttons */ +} + +