From 8fa82b7d4bf461bdeb5559214ed51199c945b3da Mon Sep 17 00:00:00 2001 From: zachir Date: Fri, 4 Jul 2025 08:27:47 -0500 Subject: Configure nwg-bar --- nwg-bar/bar.json | 22 ++++++++++++++++++++++ nwg-bar/style.css | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 nwg-bar/bar.json create mode 100644 nwg-bar/style.css diff --git a/nwg-bar/bar.json b/nwg-bar/bar.json new file mode 100644 index 0000000..01a92c3 --- /dev/null +++ b/nwg-bar/bar.json @@ -0,0 +1,22 @@ +[ + { + "label": "Lock", + "exec": "loginctl lock-session", + "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": "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" + } +] diff --git a/nwg-bar/style.css b/nwg-bar/style.css new file mode 100644 index 0000000..023d282 --- /dev/null +++ b/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 (27, 29, 28, 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 (25, 138, 68, 1.0) +} -- cgit v1.2.3 From d6c382e9a65b98f31543afa604ff5185a467a725 Mon Sep 17 00:00:00 2001 From: zachir Date: Tue, 8 Jul 2025 16:02:09 -0500 Subject: Ignore hosts file in zsh completion --- zsh/zshrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zsh/zshrc b/zsh/zshrc index f8fdac5..c25f285 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -91,4 +91,6 @@ fi autoload -Uz compinit compinit -d "$XDG_CACHE_HOME"/zsh/zcompdump-"$ZSH_VERSION" +zstyle ':completion:*' hosts off + #zprof -- cgit v1.2.3