use default user-dirs.dirs and set sway to use light instead of

brightnessctl
master
alex 2023-06-02 21:15:50 -05:00
parent 20ed10606e
commit cd1e5c59b2
2 changed files with 10 additions and 11 deletions

View File

@ -236,8 +236,8 @@ bindsym $mod+r mode "resize"
bindsym XF86AudioRaiseVolume exec ~/.local/scripts/vol.sh -i 0.02
bindsym XF86AudioLowerVolume exec ~/.local/scripts/vol.sh -d 0.02
bindsym XF86AudioMute exec ~/.local/scripts/vol.sh --toggle-mute
bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%-
bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+
bindsym --locked XF86MonBrightnessDown exec light -U 10
bindsym --locked XF86MonBrightnessUp exec light -A 10
#bindsym $mod+p exec fixscr.sh --menu
bindsym $mod+p exec ~/.local/scripts/get-pass.sh -c
bindsym $mod+o exec ~/.local/scripts/browser.sh

View File

@ -5,12 +5,11 @@
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DESKTOP_DIR="$HOME/.local/share/desktop"
XDG_DOWNLOAD_DIR="$HOME/dl"
XDG_TEMPLATES_DIR="$HOME/.local/share/templates/"
XDG_PUBLICSHARE_DIR="$HOME/.local/share/public"
XDG_DOCUMENTS_DIR="$HOME/docs"
XDG_MUSIC_DIR="$HOME/.files/media/audio"
XDG_PICTURES_DIR="$HOME/.files/media/img"
XDG_VIDEOS_DIR="$HOME/.files/media/video"
XDG_DOWNLOADS_DIR="$HOME/dl"
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_VIDEOS_DIR="$HOME/Videos"