summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Smith <zsmith@CEN-AVL-03.local>2025-07-09 08:32:34 -0500
committerZach Smith <zsmith@CEN-AVL-03.local>2025-07-09 08:32:34 -0500
commit855ebc2fb11d271ec19dedc3f7dc6b000c59cdf0 (patch)
tree0b41a0e3b1223c7741aeba854f61b671f2af5b69
parent9fe295899b3ef5c66ad00b69de082988a8586465 (diff)
parentd6c382e9a65b98f31543afa604ff5185a467a725 (diff)
Merge branch 'master' into macmac
-rw-r--r--nwg-bar/bar.json22
-rw-r--r--nwg-bar/style.css35
-rw-r--r--zsh/zshrc2
3 files changed, 59 insertions, 0 deletions
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)
+}
diff --git a/zsh/zshrc b/zsh/zshrc
index 6982822..11b66e8 100644
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -95,5 +95,7 @@ fi
autoload -Uz compinit
compinit -d "$XDG_CACHE_HOME"/zsh/zcompdump-"$ZSH_VERSION"
+zstyle ':completion:*' hosts off
+
#zprof
export PATH="/opt/homebrew/opt/rustup/bin:$PATH"