mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-03-28 05:57:45 +01:00
Merge branch 'master' of github:tiyn/dotfiles
This commit is contained in:
commit
243a7148a8
@ -64,6 +64,8 @@ super + F9
|
||||
sudo -A systemctl restart NetworkManager ; notify-send -u low 'Network' 'Restartet NM'
|
||||
super + F10
|
||||
prompt "Lock computer?" "slock"
|
||||
super + shift + F10
|
||||
prompt "Hibernate computer?" "systemctl hibernate"
|
||||
super + F11
|
||||
prompt "Shutdown computer?" "sudo -A shutdown -h now"
|
||||
super + F12
|
||||
|
@ -248,8 +248,8 @@ fileviewer <video/*>
|
||||
|
||||
" Web
|
||||
filextype *.html,*.htm
|
||||
\ {Open with firefox}
|
||||
\ firefox %f &,
|
||||
\ {Open with default browser}
|
||||
\ $BROWSER %f &,
|
||||
filetype *.html,*.htm links, lynx
|
||||
|
||||
" Font
|
||||
|
@ -10,4 +10,5 @@ sxhkd & # for shortcuts
|
||||
(sleep 10 ; pkill -RTMIN+4 $STATUSBAR) & # reload volume section of statusbar
|
||||
dunstctl rule dnd_low disable & # disable dnd for low 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
|
||||
|
@ -1,5 +1,6 @@
|
||||
set statusbar-h-padding 0
|
||||
set statusbar-v-padding 0
|
||||
set guioptions none
|
||||
set page-padding 1
|
||||
map u scroll full-up
|
||||
map d scroll full-down
|
||||
|
@ -12,8 +12,8 @@ total=$(echo $acpi | sed 's/.*:\ //')
|
||||
status="$(echo $total | cut -d',' -f1)"
|
||||
capacity="$(echo $total | cut -d',' -f2 | sed 's/%//')"
|
||||
|
||||
if [ "$status" = "Discharging" ] && [ $capacity -le 15 ] ; then
|
||||
notify-send -u critical "Battery" "Below 15%"
|
||||
if [ "$status" = "Discharging" ] && [ $capacity -le 20 ] ; then
|
||||
notify-send -u critical "Battery" "Low capacity: $capacity%"
|
||||
fi
|
||||
|
||||
if [ $capacity -gt 40 ]
|
||||
|
@ -1,4 +1,4 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Browser
|
||||
Exec=zen-browser %u
|
||||
Exec=$BROWSER %u
|
||||
|
2
.profile
2
.profile
@ -7,7 +7,7 @@ export PATH="${PATH}:$(du "${HOME}/.local/bin/" | cut -f2 | tr '\n' ':' | sed 's
|
||||
# Add flatpak to path
|
||||
export PATH="/var/lib/flatpak/exports/bin:${PATH}"
|
||||
|
||||
export BROWSER="firefox"
|
||||
export BROWSER="zen-browser"
|
||||
export RTV_BROWSER="qutebrowser"
|
||||
export EDITOR="nvim"
|
||||
export FILE="vifmrun"
|
||||
|
Loading…
x
Reference in New Issue
Block a user