Improve configs

This commit is contained in:
Tobias Reisinger 2022-12-12 18:43:54 +01:00
parent d0bbb66934
commit 40ca0e9ae4
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
6 changed files with 20 additions and 16 deletions

View file

@ -24,3 +24,7 @@ else
echo "CHECKSERVICES FAILED" echo "CHECKSERVICES FAILED"
exit 1 exit 1
fi fi
echo ""
flatpack update -y

View file

@ -1,17 +1,10 @@
#!/bin/sh #!/bin/sh
action=$(echo -e "Shutdown\nReboot\nLogout" | $MENU) action=$(printf "shutdown\nreboot\nlogout\nautostart" | $MENU)
case "$action" in case "$action" in
"Shutdown") shutdown) systemctl poweroff -i ;;
systemctl poweroff -i reboot) systemctl reboot ;;
;; logout) systemctl --user exit ;;
"Reboot") autostart) autostart-manage start ;;
systemctl reboot *) ;; esac
;;
"Logout")
systemctl --user exit
;;
*)
;;
esac

View file

@ -48,7 +48,10 @@ export OPENFAAS_URL="https://faas.serguzim.me"
export OSH="$XDG_CONFIG_HOME/bash/oh-my-bash" export OSH="$XDG_CONFIG_HOME/bash/oh-my-bash"
export PASSWORD_STORE_GENERATED_LENGTH='64' export PASSWORD_STORE_GENERATED_LENGTH='64'
export PATH="$HOME/.local/bin:$GOPATH/bin:$HOME/.cargo/bin:$HOME/.bin:$HOME/.local/share/JetBrains/Toolbox/scripts:$PATH" # add my paths
export PATH="$HOME/.local/bin:$HOME/.bin:$PATH"
# add tool paths
export PATH="$GOPATH/bin:$HOME/.cargo/bin:$HOME/.local/share/JetBrains/Toolbox/scripts:$PATH"
export PS1='\$ ' export PS1='\$ '
export QT_QPA_PLATFORM="wayland;xcb" export QT_QPA_PLATFORM="wayland;xcb"

View file

@ -46,6 +46,7 @@
ff = only ff = only
[push] [push]
followTags = true followTags = true
autoSetupRemote = true
[format] [format]
signOff = yes signOff = yes
[filter "lfs"] [filter "lfs"]

View file

@ -18,6 +18,9 @@ super + p
super + Escape super + Escape
pkill -USR1 -x sxhkd pkill -USR1 -x sxhkd
Print
flameshot full
super + Print super + Print
screenshot screenshot
super + ctrl + Print super + ctrl + Print
@ -54,7 +57,7 @@ XF86MonBrightnessDown
backlight -dec 5 backlight -dec 5
super + v super + v
flatpak run io.freetubeapp.FreeTube "$(xclip -o -selection clipboard)" io.freetubeapp.FreeTube "$(xclip -o -selection clipboard)"
super + shift + v super + shift + v
mpv $(xclip -o -selection clipboard); notify-send "mpv media playback finished" mpv $(xclip -o -selection clipboard); notify-send "mpv media playback finished"

View file

@ -23,7 +23,7 @@ ZSH_THEME="serguzim"
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" ) # ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
# Uncomment the following line to use case-sensitive completion. # Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true" CASE_SENSITIVE="true" # zsh 5.9 regression about adjacent letters. This is a workaround.
# Uncomment the following line to use hyphen-insensitive completion. # Uncomment the following line to use hyphen-insensitive completion.
# Case-sensitive completion must be off. _ and - will be interchangeable. # Case-sensitive completion must be off. _ and - will be interchangeable.