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 &
}
xwallpaper --zoom "${XDG_DATA_HOME:-$HOME/.local/share/}/bg"
xwallpaper --zoom "${XDG_DATA_HOME:-$HOME/.local/share}/bg"
start playerctld daemon
start picom
start unclutter -noevents

View File

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

View File

@ -50,6 +50,7 @@ alias \
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)" \
ahv="export ANSIBLE_VAULT_PASSWORD_FILE=~/.ansible/secrets/ansible-homelab && ansible-vault" \
xgetkeys="xev | sed -ne '/^KeyPress/,/^$/p'"
xpick=" xprop | awk '
/^WM_CLASS/{sub(/.* =/, \"instance:\"); sub(/,/, \"\nclass:\"); print}
/^WM_NAME/{sub(/.* =/, \"title:\"); print}'"

View File

@ -3,8 +3,8 @@ h $HOME
ch ${XDG_CACHE_HOME:-$HOME/.cache}
cf ${XDG_CONFIG_HOME:-$HOME/.config}
dt ${XDG_DATA_HOME:-$HOME/.local/share}
rr $HOME/.local/src
gi $HOME/.local/src/git
sr $HOME/.local/src
it $HOME/.local/src/git
sc $HOME/.local/bin
mn /mnt
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" \
cf="cd /home/luca/.config && tput cuu1;tput el" \
dt="cd /home/luca/.local/share && tput cuu1;tput el" \
rr="cd /home/luca/.local/src && tput cuu1;tput el" \
gi="cd /home/luca/.local/src/git && tput cuu1;tput el" \
sr="cd /home/luca/.local/src && 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" \
mn="cd /mnt && 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 cf=/home/luca/.config
hash -d dt=/home/luca/.local/share
hash -d rr=/home/luca/.local/src
hash -d gi=/home/luca/.local/src/git
hash -d sr=/home/luca/.local/src
hash -d it=/home/luca/.local/src/git
hash -d sc=/home/luca/.local/bin
hash -d mn=/mnt
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
# 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
# clock=$(date '+%I')
# case "$clock" in
# "00") icon="" ;;
# "01") icon="" ;;
# "02") icon="" ;;
# "03") icon="" ;;
# "04") icon="" ;;
# "05") icon="" ;;
# "06") icon="" ;;
# "07") icon="" ;;
# "08") icon="" ;;
# "09") icon="" ;;
# "10") icon="" ;;
# "11") icon="" ;;
# "12") icon="" ;;
# esac
# printf "%s \033[11m%s\033[10m %s\n" "$(date "+%H:%M")" "$icon" "$(date "+%d.%m.%Y")"
date "+%H:%M "
clock=$(date '+%I')
case "$clock" in
"00") icon="" ;;
"01") icon="" ;;
"02") icon="" ;;
"03") icon="" ;;
"04") icon="" ;;
"05") icon="" ;;
"06") icon="" ;;
"07") icon="" ;;
"08") icon="" ;;
"09") icon="" ;;
"10") icon="" ;;
"11") icon="" ;;
"12") icon="" ;;
esac
printf "%s \033[11m%s\033[10m %s\n" "$(date "+%H:%M")" "$icon" "$(date "+%d.%m.%Y")"

6
TODO
View File

@ -1,2 +1,8 @@
TODO: Rework lf icons for audio and video files
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