1
0
Fork 0

various minor changes

This commit is contained in:
Luca Bilke 2023-03-17 17:00:32 +01:00
parent a43305d350
commit 0418fee519
9 changed files with 34 additions and 28 deletions

View File

@ -4,7 +4,7 @@ start() {
pidof -s $1 || $@ >/dev/null 2>&1 & pidof -s $1 || $@ >/dev/null 2>&1 &
} }
xwallpaper --zoom "${XDG_DATA_HOME:-$HOME/.local/share/}/bg" xwallpaper --zoom "${XDG_DATA_HOME:-$HOME/.local/share}/bg"
start playerctld daemon start playerctld daemon
start picom start picom
start unclutter -noevents start unclutter -noevents

View File

@ -2,8 +2,8 @@ map gh cd "/home/luca"
map gch cd "/home/luca/.cache" map gch cd "/home/luca/.cache"
map gcf cd "/home/luca/.config" map gcf cd "/home/luca/.config"
map gdt cd "/home/luca/.local/share" map gdt cd "/home/luca/.local/share"
map grr cd "/home/luca/.local/src" map gsr cd "/home/luca/.local/src"
map ggi cd "/home/luca/.local/src/git" map git cd "/home/luca/.local/src/git"
map gsc cd "/home/luca/.local/bin" map gsc cd "/home/luca/.local/bin"
map gmn cd "/mnt" map gmn cd "/mnt"
map gdl cd "/home/luca/Downloads" map gdl cd "/home/luca/Downloads"

View File

@ -50,6 +50,7 @@ alias \
wikiup='rclone sync ~/Documents/vimwiki cloud:files/luca/Notes' \ wikiup='rclone sync ~/Documents/vimwiki cloud:files/luca/Notes' \
cam="mpv --untimed --no-cache --no-osc --no-input-default-bindings --profile=low-latency --input-conf=/dev/null --title=webcam $(ls /dev/video[0,2,4,6,8] | tail -n 1)" \ cam="mpv --untimed --no-cache --no-osc --no-input-default-bindings --profile=low-latency --input-conf=/dev/null --title=webcam $(ls /dev/video[0,2,4,6,8] | tail -n 1)" \
ahv="export ANSIBLE_VAULT_PASSWORD_FILE=~/.ansible/secrets/ansible-homelab && ansible-vault" \ ahv="export ANSIBLE_VAULT_PASSWORD_FILE=~/.ansible/secrets/ansible-homelab && ansible-vault" \
xgetkeys="xev | sed -ne '/^KeyPress/,/^$/p'"
xpick=" xprop | awk ' xpick=" xprop | awk '
/^WM_CLASS/{sub(/.* =/, \"instance:\"); sub(/,/, \"\nclass:\"); print} /^WM_CLASS/{sub(/.* =/, \"instance:\"); sub(/,/, \"\nclass:\"); print}
/^WM_NAME/{sub(/.* =/, \"title:\"); print}'" /^WM_NAME/{sub(/.* =/, \"title:\"); print}'"

View File

@ -3,8 +3,8 @@ h $HOME
ch ${XDG_CACHE_HOME:-$HOME/.cache} ch ${XDG_CACHE_HOME:-$HOME/.cache}
cf ${XDG_CONFIG_HOME:-$HOME/.config} cf ${XDG_CONFIG_HOME:-$HOME/.config}
dt ${XDG_DATA_HOME:-$HOME/.local/share} dt ${XDG_DATA_HOME:-$HOME/.local/share}
rr $HOME/.local/src sr $HOME/.local/src
gi $HOME/.local/src/git it $HOME/.local/src/git
sc $HOME/.local/bin sc $HOME/.local/bin
mn /mnt mn /mnt
dl ${XDG_DOWNLOAD_DIR:-$HOME/Downloads} dl ${XDG_DOWNLOAD_DIR:-$HOME/Downloads}

View File

@ -3,8 +3,8 @@ alias h="cd /home/luca && tput cuu1;tput el" \
ch="cd /home/luca/.cache && tput cuu1;tput el" \ ch="cd /home/luca/.cache && tput cuu1;tput el" \
cf="cd /home/luca/.config && tput cuu1;tput el" \ cf="cd /home/luca/.config && tput cuu1;tput el" \
dt="cd /home/luca/.local/share && tput cuu1;tput el" \ dt="cd /home/luca/.local/share && tput cuu1;tput el" \
rr="cd /home/luca/.local/src && tput cuu1;tput el" \ sr="cd /home/luca/.local/src && tput cuu1;tput el" \
gi="cd /home/luca/.local/src/git && tput cuu1;tput el" \ it="cd /home/luca/.local/src/git && tput cuu1;tput el" \
sc="cd /home/luca/.local/bin && tput cuu1;tput el" \ sc="cd /home/luca/.local/bin && tput cuu1;tput el" \
mn="cd /mnt && tput cuu1;tput el" \ mn="cd /mnt && tput cuu1;tput el" \
dl="cd /home/luca/Downloads && tput cuu1;tput el" \ dl="cd /home/luca/Downloads && tput cuu1;tput el" \

View File

@ -2,8 +2,8 @@ hash -d h=/home/luca
hash -d ch=/home/luca/.cache hash -d ch=/home/luca/.cache
hash -d cf=/home/luca/.config hash -d cf=/home/luca/.config
hash -d dt=/home/luca/.local/share hash -d dt=/home/luca/.local/share
hash -d rr=/home/luca/.local/src hash -d sr=/home/luca/.local/src
hash -d gi=/home/luca/.local/src/git hash -d it=/home/luca/.local/src/git
hash -d sc=/home/luca/.local/bin hash -d sc=/home/luca/.local/bin
hash -d mn=/mnt hash -d mn=/mnt
hash -d dl=/home/luca/Downloads hash -d dl=/home/luca/Downloads

View File

@ -3,4 +3,4 @@
# This script is the SUDO_ASKPASS variable, meaning that it will be used as a # This script is the SUDO_ASKPASS variable, meaning that it will be used as a
# password prompt if needed. # password prompt if needed.
dmenu -fn Monospace-18 -P -p "$1" <&- && echo dmenu -P -p "$1" <&- && echo

View File

@ -1,19 +1,18 @@
#!/bin/sh #!/bin/sh
# clock=$(date '+%I') clock=$(date '+%I')
# case "$clock" in case "$clock" in
# "00") icon="" ;; "00") icon="" ;;
# "01") icon="" ;; "01") icon="" ;;
# "02") icon="" ;; "02") icon="" ;;
# "03") icon="" ;; "03") icon="" ;;
# "04") icon="" ;; "04") icon="" ;;
# "05") icon="" ;; "05") icon="" ;;
# "06") icon="" ;; "06") icon="" ;;
# "07") icon="" ;; "07") icon="" ;;
# "08") icon="" ;; "08") icon="" ;;
# "09") icon="" ;; "09") icon="" ;;
# "10") icon="" ;; "10") icon="" ;;
# "11") icon="" ;; "11") icon="" ;;
# "12") icon="" ;; "12") icon="" ;;
# esac esac
# printf "%s \033[11m%s\033[10m %s\n" "$(date "+%H:%M")" "$icon" "$(date "+%d.%m.%Y")" printf "%s \033[11m%s\033[10m %s\n" "$(date "+%H:%M")" "$icon" "$(date "+%d.%m.%Y")"
date "+%H:%M "

6
TODO
View File

@ -1,2 +1,8 @@
TODO: Rework lf icons for audio and video files TODO: Rework lf icons for audio and video files
TODO: Move NVIM config to submodule TODO: Move NVIM config to submodule
TODO: Opaque fullscreen windows
TODO: https://sw.kovidgoyal.net/kitty/kittens/panel/
TODO: Create a better bitwarden integration
TODO: Create a brightness indicator for dunst
TODO: Fix the pyenv indicator for kitty
TODO: Look into nix and their home manager