feat: Adding config files

This commit is contained in:
kar
2025-11-11 22:51:33 -06:00
commit fadace6c45
4 changed files with 274 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/bin/env bash
IFACE=$(ifconfig | grep tun0 | awk '{print $1}' | tr -d ':')
if [[ $IFACE == "tun0" ]]; then
echo "󰆧 HTB Conn"
else
echo "󰆧 HTB Dis"
fi
+3
View File
@@ -0,0 +1,3 @@
uptime --pretty | sed 's/up //' | sed 's/\ minutes\?/m/' | sed 's/\ hours\?/h/' | sed 's/\ weeks\?/m/' | sed 's/\ years\?/m/' | sed 's/\ days\?/d/'
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
HDMI_state=$(xrandr --query | grep HDMI-1 | grep -w connected)
if [[ ! -z $HDMI_state ]]; then
xrandr --output eDP-1 --mode 1920x1080 --rate 75 --right-of HDMI-1 --auto
notify-send "Output HDMI-1"
else
xrandr --output eDP-1 --auto
notify-send "Output eDP-1"
fi