This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
source ~/.config/hypr/scripts/globalcontrol.sh | |
HyprDir="$HOME/.config/hypr/scripts" | |
ScriptDir="$CloneDir/Scripts" | |
help() { | |
grep -P -A1 '^\s*\w+\s*\(\)\s*{' -o $0 | |
#for func in $(declare -F | cut -d " " -f 3); do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How to Sync my configs? | |
+ Not Yet | |
Other distro support? | |
+ | |
Wallpapers: | |
+ How to add my wallpaper? | |
+ live wallpaper? | |
#150 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
"battery": { | |
"bat": "BAT0", | |
"states": { | |
"good": 95, | |
"warning": 30, | |
"critical": 20 | |
}, | |
"format": "{icon} {capacity}%", | |
"format-charging": " {capacity}%", | |
"format-plugged": " {capacity}%", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
#!Declare Some Symbols or Replacements here just to look good | |
declare -A replacements=( | |
["XF86Audio"]="🕪 " | |
["XF86MonBrightnessUp"]="☼ ↑" | |
["XF86MonBrightnessDown"]="☼ ↓" | |
['$mainMod']="[]" | |
["UP"]="↑" | |
["DOWN"]="↓" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
source ~/.config/hypr/scripts/globalcontrol.sh | |
ScrDir="$ConfDir/hypr/scripts" | |
ScriptDir="$CloneDir/Scripts" | |
cd $ScriptDir && echo "Hyprdots: $(git describe)" || exit 1 | |
func="${1}" | |
# Check for updates every 12 Hrs | |
[ ! -f "/tmp/hyprdots_update_check" ] || [[ $(find "/tmp/hyprdots_update_check" -mmin +720) ]] && \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
trap resume_processes SIGINT | |
in_range() { local num=$1 local min=$2 local max=$3 ; [[ $num =~ ^[0-9]+$ ]] && (( num >= min && num <= max )); } | |
mnc=5 mxc=80 mnl=20 mxl=50 mnu=80 mxu=100 mnt=60 mxt=1000 mnf=80 mxf=100 mnn=1 mxn=60 mni=1 mxi=10 verbose=false undock=false #Defaults Ranges | |
while (( "$#" )); do # Parse command-line arguments and defaults | |
case "$1" in | |
"--full"|"-f") if in_range "$2" $mnf $mxf; then battery_full_threshold=$2 ; shift 2 ; else echo "$1 Error: Full Threshold must be $mnf - $mxf." >&2 ; exit 1 ; fi;; | |
"--critical"|"-c") if in_range "$2" $mnc $mxc; then battery_critical_threshold=$2 ; shift 2 ; else echo "$1 ERROR: Critical Threshold must be $mnc - $mxc." >&2 ; exit 1 ; fi;; | |
"--low"|"-l") if in_range "$2" $mnl $mnu; then battery_low_threshold=$2 ; shift 2 ; else echo "$1 ERROR: Low Threshold $mnl - $mnu." >&2 ; exit 1 ; fi;; | |
"--unplug"|"-u") if in_range "$2" $mnu $mxu; then unplug_charger_threshold=$2 ; shift 2 ; else echo "$1 ERROR: Unplug Threshold must be $mnu $mxu." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
gpuQ="/tmp/hyprdots-gpuinfo-query$2" | |
tired=false | |
if [[ " $* " =~ " --tired " ]];then tired=true ; fi | |
query() { | |
nvidia_flag=0 amd_flag=0 intel_flag=0 | |
touch $gpuQ | |
nvidia_gpu=$(nvidia-smi --query-gpu=gpu_name --format=csv,noheader,nounits | head -n 1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
# set variables | |
ScrDir=`dirname "$(realpath "$0")"` | |
source $ScrDir/globalcontrol.sh | |
scol="${XDG_CONFIG_HOME:-$HOME/.config}/spicetify/Themes/Sleek/color.ini" | |
dcol="${XDG_CONFIG_HOME:-$HOME/.config}/spicetify/Themes/Sleek/Wall-Dcol.ini" | |
# regen conf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
❯ hyprpm add https://github.com/DreamMaoMao/hycov -f -v | |
! Using --force, I hope you know what you are doing. | |
[v] version returned: Hyprland, built from branch HEAD at commit 84ab8d11e8951a6551d1e1bf87796a8589da6d47 (props: bump ver to 0.35.0). | |
Date: Mon Feb 5 01:59:02 2024 | |
Tag: v0.35.0 | |
flags: (if any) | |
[v] parsed commit 84ab8d11e8951a6551d1e1bf87796a8589da6d47 at branch HEAD |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* rofi -dump-theme output. | |
* Rofi version: 1.7.5+wayland2-dev | |
**/ | |
* { | |
main-fg: rgba ( 210, 215, 144, 100 % ); | |
select-fg: rgba ( 216, 192, 180, 100 % ); | |
main-bg: rgba ( 39, 63, 75, 90 % ); | |
select-bg: rgba ( 56, 54, 59, 100 % ); | |
main-br: rgba ( 52, 53, 56, 100 % ); |
OlderNewer