Commit feb999e
Changed files (7)
.assets
icons
.config
hypr
modules
waybar
.local
share
applications
.wraith
scripts
.assets/icons/notion.png
Binary file
.config/hypr/modules/windows.conf
@@ -29,4 +29,9 @@ windowrule = size 460 800, match:class steam, match:title Friends List
#Special Workspaces
windowrule = workspace special:youtube, match:class ^(chrome-youtube\..*)$
-windowrule = workspace special:music, match:class ^(chrome-music\.youtube\..*)$
\ No newline at end of file
+windowrule = workspace special:music, match:class ^(chrome-music\.youtube\..*)$
+
+windowrule = float true,center true, match:class ^(bunnymail)
+
+windowrule = float true,center true, size 1200 800, match:title ^(bunnymail-dev-linux-amd64)
+windowrule = workspace Forge silent, match:class ^(bunnymail-dev-linux-amd64)
.config/waybar/config.jsonc
@@ -10,6 +10,7 @@
"custom/brightness",
"pulseaudio",
"custom/notification",
+ "custom/internet",
"custom/power"
],
@@ -53,7 +54,7 @@
"clock#time": {
"format": "{:%I:%M %p}",
"interval": 1,
- "timezone": "Asia/Kolkata",
+ "timezone": "Asia/Kolkata"
},
"custom/packages": {
"exec": "$HOME/.wraith/scripts/packages.sh details",
@@ -63,6 +64,11 @@
"on-click": "$HOME/.wraith/scripts/packages.sh",
"tooltip": true
},
+ "custom/internet": {
+ "exec": "$HOME/.wraith/scripts/internet-connectivity.sh",
+ "interval": 5,
+ "return-type": "json"
+ },
"custom/power": {
"format": "",
"tooltip": false,
.config/waybar/style.css
@@ -34,6 +34,7 @@ menuitem:hover {
#custom-power,
#custom-brightness,
#custom-notification,
+#custom-internet,
#pulseaudio,
#workspaces.special {
background-color: #241f31;
@@ -60,7 +61,8 @@ menuitem:hover {
min-width: 20px;
}
-#custom-notification{
+#custom-notification,
+#custom-internet {
margin-right: 5px;
}
.wraith/scripts/internet-connectivity.sh
@@ -0,0 +1,22 @@
+#!/usr/bin/zsh
+
+STATE=$(nmcli -t -f STATE g)
+CONNECTIVITY=$(nmcli -t -f CONNECTIVITY g)
+
+
+if [[ "$STATE" != "connected" ]]; then
+ echo " Disconnected"
+ exit 0
+fi
+
+# If connected, check how
+if [[ "$CONNECTIVITY" == "full" ]]; then
+ ICON="" # full connectivity
+elif [[ "$CONNECTIVITY" == "limited" ]]; then
+ ICON="" # limited connectivity
+else
+ ICON="" # no connectivity
+fi
+
+SSID=$(nmcli -t -f ACTIVE,SSID dev wifi | grep '^yes' | cut -d: -f2)
+echo "{\"text\": \"$ICON\", \"tooltip\": \"$SSID\"}"
\ No newline at end of file
.gitconfig
@@ -6,6 +6,6 @@
[alias]
lg = log --oneline --graph --all
[core]
- editor = vim
+ editor = nvim
[fetch]
prune = true