Commit 42384e5

Ansari <ping@ansari.wtf>
2026-03-06 15:33:30
tldr and ufWall
1 parent 23c64c0
Changed files (5)
.assets
.local
.wraith
.assets/icons/firewall.png
Binary file
.assets/icons/tldr.png
Binary file
.local/share/applications/firewall.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=Firewall
+Exec=smart-launch --tui "firewall" "ufWall"
+Terminal=false
+Type=Application
+StartupNotify=true
+Icon=/home/robin/.assets/icons/firewall.png
+
.local/share/applications/tldr.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=TLDR
+Exec=smart-launch --web -n "chrome-tldr.inbrowser.app" "https://tldr.inbrowser.app"
+Terminal=false
+Type=Application
+StartupNotify=true
+Icon=/home/robin/.assets/icons/tldr.png
+
.wraith/scripts/butt-out.sh
@@ -119,15 +119,16 @@ echo "$TARGET_TIME" > "$TIME_FILE"
 (
   sleep "$SECONDS_TO_WAIT" || exit
 
-  zenity --question \
-    --title="Have To Go" \
-    --text="Time's up.\n\nShutdown now?\n\nCancel = 3 min delay"
-
-  if (( $? == 0 )); then
-    shutdown now
-  else
-    shutdown +$GRACE_MINUTES &>/dev/null
-  fi
+	shutdown now
+  # zenity --question \
+  #   --title="Have To Go" \
+  #   --text="Time's up.\n\nShutdown now?\n\nCancel = 3 min delay"
+  #
+  # if (( $? == 0 )); then
+  #   shutdown now
+  # else
+  #   shutdown +$GRACE_MINUTES &>/dev/null
+  # fi
 
   rm -f "$PID_FILE" "$TIME_FILE"
 ) &