This file contains 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 | |
export DISPLAY=":0" | |
export XDG_RUNTIME_DIR=/run/user/$(id -u) | |
while true; do free | grep Mem | awk '{print $3/$2 * 100.0}'; sleep 1; done | osd_cat --align right --pos bottom -o 50 --lines 1 --delay 2 -f '-*-envy code r-*-*-*-*-24-*-*-*-*-*-*-*' -c orange & while true; do top -b -n1 | grep "Cpu(s)" | awk '{print $2 + $4}'; sleep 1; done | osd_cat --align right --pos bottom --lines 1 --delay 2 -f '-*-envy code r-*-*-*-*-24-*-*-*-*-*-*-*' -o 20 -c orange |
This file contains 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/sh | |
###################################### | |
#> https://github.com/pystardust/ytfzf | |
###################################### | |
YTFZF_VERSION="1.1.5" | |
############################ | |
# Defaults # |
This file contains 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/zsh | |
export DISPLAY=":0" | |
export XDG_RUNTIME_DIR=/run/user/$(id -u) | |
id=$(curl -ns https://chunk.io/cirrus | sed 's/http/https/g' ) | |
IFS=$'\n' | |
out=("$(curl -ns https://chunk.io/cirrus | sed 's/http/https/g' | fzf -m --color dark,hl:172,hl+:46,fg+:46,bg+:235 --color info:150,prompt:46,spinner:150,pointer:46,marker:7,border:46 --border=sharp --prompt='➤ ' --pointer='➤ ' --marker='➤' --height 60% --expect=ctrl-o,ctrl-e | cut -d" " -f1 )") | |
key=$(head -1 <<< "$out") | |
file=$(head -2 <<< "$out" | tail -1) | |
if [ -n "$file" ] | |
then |
This file contains 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/zsh | |
export DISPLAY=":0" | |
export XDG_RUNTIME_DIR=/run/user/$(id -u) | |
id=$(curl -ns https://chunk.io/cirrus | sed 's/http/https/g' ) | |
IFS=$'\n' | |
out=("$(curl -ns https://chunk.io/cirrus | sed 's/http/https/g' | fzf -m --color dark,hl:172,hl+:46,fg+:46,bg+:235 --color info:150,prompt:46,spinner:150,pointer:46,marker:7,border:46 --border=sharp --prompt='➤ ' --pointer='➤ ' --marker='➤' --height 60% --expect=ctrl-o,ctrl-e | cut -d" " -f1 )") | |
key=$(head -1 <<< "$out") | |
file=$(head -2 <<< "$out" | tail -1) | |
if [ -n "$file" ] | |
then |
This file contains 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/zsh | |
export DISPLAY=":0" | |
export XDG_RUNTIME_DIR=/run/user/$(id -u) | |
IFS=$'\n' | |
out=("$(gist -l | fzf -m --color dark,hl:172,hl+:46,fg+:26,bg+:235 --color info:150,prompt:26,spinner:150,pointer:26,marker:7,border:26 --border=sharp --prompt='➤ ' --pointer='➤ ' --marker='➤' --height 60% --expect=ctrl-o,ctrl-e | cut -d" " -f1 )") | |
key=$(head -1 <<< "$out") | |
file=$(head -2 <<< "$out" | tail -1) | |
if [ -n "$file" ] | |
then |
This file contains 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 | |
export DISPLAY=":0" | |
export XDG_RUNTIME_DIR=/run/user/$(id -u) | |
icon="/home/cirrus/.icons/play-4-48.png" | |
SERVICE="mpv" | |
MPVNP=$(ponymix list --short | awk -F '\t' '/sink-input/ && $4 == "mpv Media Player" {print $3}' ) ; | |
if pgrep -x "$SERVICE" >/dev/null ; then | |
sleep 3 | |
dunstify -i "$icon" -r 100 "📺 MPV Now Playing " "$MPVNP" && echo -n "$MPVNP" | osd_cat -A left -p bottom -f '-*-envy code r-*-*-*-*-22-*-*-*-*-*-*-*' -o 40 -c '#00ff00' -s2 |
This file contains 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/sh | |
###################################### | |
#> https://github.com/pystardust/ytfzf | |
###################################### | |
############################ | |
# Defaults # | |
############################ |
This file contains 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 "tput reset; tput cnorm; exit" 2 | |
clear | |
tput civis | |
lin=2 | |
col=$(($(tput cols) / 2)) | |
c=$((col-1)) | |
est=$((c-2)) | |
color=0 | |
tput setaf 2; tput bold |
This file contains 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/bash | |
## uncomment lines 4-11 then add to zsh keybinds (default is ctrl+k) | |
#use fzf to kill proccesses | |
## fkill_widget() { | |
## sh $HOME/scripts/fkill # call fkill script locus | |
## zle reset-prompt | |
## } | |
## zle -N fzf-redraw-prompt # give me my $PS1 back | |
## zle -N fkill_widget |
This file contains 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
### MangoHud configuration file | |
### Uncomment any options you wish to enable. Default options are left uncommented | |
### Use some_parameter=0 to disable a parameter (only works with on/off parameters) | |
### Everything below can be used / overridden with the environment variable MANGOHUD_CONFIG instead | |
################ PERFORMANCE ################# | |
#gpu_name | |
### Limit the application FPS. Comma-separated list of one or more FPS values (e.g. 0,30,60). 0 means unlimited (unless v-synced). | |
# fps_limit= |