1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-04-04 10:07:45 +02:00

Compare commits

...

8 Commits

Author SHA1 Message Date
tiyn
bac7f7fa66 extended default program list 2025-02-22 07:07:42 +01:00
tiyn
243a7148a8 Merge branch 'master' of github:tiyn/dotfiles 2025-02-22 07:04:55 +01:00
tiyn
a153341f6b list default programs 2025-02-22 07:04:37 +01:00
tiyn
a6547fe26c default program: zen is now default browser 2025-02-22 07:01:12 +01:00
tiyn
35a698dd20 xorg: enable automatically locking on sleep 2025-02-22 06:44:46 +01:00
tiyn
73168a2db4 statusbar: improved battery script to notify with more information 2025-02-22 06:42:48 +01:00
tiyn
d447b87ac1 sxhkd: added hibernation hotkey 2025-02-22 06:40:03 +01:00
tiyn
5429c908c8 zathura: hide bottom bar 2025-02-22 06:29:58 +01:00
8 changed files with 28 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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 ]

View File

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

View File

@ -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"

View File

@ -8,7 +8,24 @@ They were originally based on the dotfiles of
This being some time, hundreds of commits and my personalized version of This being some time, hundreds of commits and my personalized version of
[larbs](https://github.com/Tiyn/larbs) ago, they are now quite different. [larbs](https://github.com/Tiyn/larbs) ago, they are now quite different.
## Required and Recommended Software ## Default Programs
The following are some of the main programs that are installed by using this install script.
- Operating System: `Arch Linux`
- Window Manager: `dwm`
- Audio Server: `pipewire`
- Shell: `zsh`
- Terminal Emulator: `st`
- File Manager: `vifm`
- Application Launcher: `dmenu(_run)`
- Status Bar: `dwmblocks`
- Notification Service: `dunst`
- Text Editor: `neovim`
- Reader: `zathura`
- Browser: `zen-browser`
- Lockscreen: `slock`
- Hotkey Service: `sxhkd`
All requirements and recommendations get installed by my version of LARBS. All requirements and recommendations get installed by my version of LARBS.
To take a look at all the software it installs look at the To take a look at all the software it installs look at the