Merge branch 'master' of github:tiyn/dotfiles

master^2
tiyn 1 day ago
commit 243a7148a8

@ -64,6 +64,8 @@ super + F9
sudo -A systemctl restart NetworkManager ; notify-send -u low 'Network' 'Restartet NM' sudo -A systemctl restart NetworkManager ; notify-send -u low 'Network' 'Restartet NM'
super + F10 super + F10
prompt "Lock computer?" "slock" prompt "Lock computer?" "slock"
super + shift + F10
prompt "Hibernate computer?" "systemctl hibernate"
super + F11 super + F11
prompt "Shutdown computer?" "sudo -A shutdown -h now" prompt "Shutdown computer?" "sudo -A shutdown -h now"
super + F12 super + F12

@ -248,8 +248,8 @@ fileviewer <video/*>
" Web " Web
filextype *.html,*.htm filextype *.html,*.htm
\ {Open with firefox} \ {Open with default browser}
\ firefox %f &, \ $BROWSER %f &,
filetype *.html,*.htm links, lynx filetype *.html,*.htm links, lynx
" Font " Font

@ -10,4 +10,5 @@ sxhkd & # for shortcuts
(sleep 10 ; pkill -RTMIN+4 $STATUSBAR) & # reload volume section of statusbar (sleep 10 ; pkill -RTMIN+4 $STATUSBAR) & # reload volume section of statusbar
dunstctl rule dnd_low disable & # disable dnd for low urgencies dunstctl rule dnd_low disable & # disable dnd for low urgencies
dunstctl rule dnd_normal disable & # disable dnd for normal urgencies dunstctl rule dnd_normal disable & # disable dnd for normal urgencies
xss-lock -- slock & # enable locking the screen upon sleep
easyeffects --gapplication-service & # start audio server easyeffects --gapplication-service & # start audio server

@ -1,5 +1,6 @@
set statusbar-h-padding 0 set statusbar-h-padding 0
set statusbar-v-padding 0 set statusbar-v-padding 0
set guioptions none
set page-padding 1 set page-padding 1
map u scroll full-up map u scroll full-up
map d scroll full-down map d scroll full-down

@ -12,8 +12,8 @@ total=$(echo $acpi | sed 's/.*:\ //')
status="$(echo $total | cut -d',' -f1)" status="$(echo $total | cut -d',' -f1)"
capacity="$(echo $total | cut -d',' -f2 | sed 's/%//')" capacity="$(echo $total | cut -d',' -f2 | sed 's/%//')"
if [ "$status" = "Discharging" ] && [ $capacity -le 15 ] ; then if [ "$status" = "Discharging" ] && [ $capacity -le 20 ] ; then
notify-send -u critical "Battery" "Below 15%" notify-send -u critical "Battery" "Low capacity: $capacity%"
fi fi
if [ $capacity -gt 40 ] if [ $capacity -gt 40 ]

@ -1,4 +1,4 @@
[Desktop Entry] [Desktop Entry]
Type=Application Type=Application
Name=Browser Name=Browser
Exec=zen-browser %u Exec=$BROWSER %u

@ -7,7 +7,7 @@ export PATH="${PATH}:$(du "${HOME}/.local/bin/" | cut -f2 | tr '\n' ':' | sed 's
# Add flatpak to path # Add flatpak to path
export PATH="/var/lib/flatpak/exports/bin:${PATH}" export PATH="/var/lib/flatpak/exports/bin:${PATH}"
export BROWSER="firefox" export BROWSER="zen-browser"
export RTV_BROWSER="qutebrowser" export RTV_BROWSER="qutebrowser"
export EDITOR="nvim" export EDITOR="nvim"
export FILE="vifmrun" export FILE="vifmrun"

Loading…
Cancel
Save