summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorShubham Saini <pryr@pryr.xyz>2020-12-19 15:30:26 +0000
committerShubham Saini <pryr@pryr.xyz>2020-12-19 15:30:26 +0000
commit4cf6e4f582831423668c0af152a21190942a58da (patch)
tree522ab2bbb674c9628c181fd1db5f0fba719ddb1c /bin
parentca82b3dea5d4bf35dae6c560370510289e3ce079 (diff)
changes
Diffstat (limited to 'bin')
-rwxr-xr-xbin/.bin/shut8
-rwxr-xr-xbin/.bin/sysinfo2
2 files changed, 5 insertions, 5 deletions
diff --git a/bin/.bin/shut b/bin/.bin/shut
index 1fb1295..2d24299 100755
--- a/bin/.bin/shut
+++ b/bin/.bin/shut
@@ -1,11 +1,11 @@
1#!/bin/bash 1#!/bin/bash
2 2
3RET=$(echo -e "shutdown\nreboot\nsleep\nlock\ncancel" | dmenu -l 5 -p "Sayonara" -nb "#000000" -nf "#bfbfbf" -sb "#84a0c6" -sf "#000000" -fn "Hermit:size=10:antialias=true:autohint=true") 3RET=$(echo -e "shutdown\nreboot\nsleep\nlock\ncancel" | dmenu -p "Sayonara" -fn "JetBrains Mono Nerd Font Mono:style=medium:size=9" -nb "#171a1f" -nf "#f3f4f5" -sb "#c6c8d1" -sf "#171a1f")
4 4
5case $RET in 5case $RET in
6 shutdown) doas poweroff ;; 6 shutdown) systemctl poweroff ;;
7 reboot) doas reboot ;; 7 reboot) systemctl reboot ;;
8 sleep) xset s activate & doas zzz;; 8 sleep) systemctl suspend ;;
9 lock) xset s activate ;; 9 lock) xset s activate ;;
10 *) ;; 10 *) ;;
11esac 11esac
diff --git a/bin/.bin/sysinfo b/bin/.bin/sysinfo
index 4f9f456..b121b97 100755
--- a/bin/.bin/sysinfo
+++ b/bin/.bin/sysinfo
@@ -4,7 +4,7 @@
4 4
5wm="$(echo $XDG_CURRENT_DESKTOP)" 5wm="$(echo $XDG_CURRENT_DESKTOP)"
6distro="$(cat /etc/*-release | grep PRETTY_NAME | cut -d '=' -f2 | tr -d '"')" 6distro="$(cat /etc/*-release | grep PRETTY_NAME | cut -d '=' -f2 | tr -d '"')"
7packages="$(xbps-query -l | wc -l)" 7packages="$(pacman -Q | wc -l)"
8font="jetbrains mono" 8font="jetbrains mono"
9colors="pencil" 9colors="pencil"
10 10