From 1f521967ffbb63e1a6b76dfbce5abb22f6cbfa82 Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Tue, 26 Jul 2022 16:56:28 +0530 Subject: config changes for alias+sxhkd+sxiv+dunst and addition of xdg --- .config/shell/aliasrc | 2 +- .config/sxhkd/sxhkdrc | 2 +- .config/sxiv/exec/key-handler | 2 +- .config/user-dirs.dirs | 15 +++++++++++++++ .config/wal/templates/dunstrc | 4 ++-- 5 files changed, 20 insertions(+), 5 deletions(-) create mode 100644 .config/user-dirs.dirs (limited to '.config') diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc index ac15b10..b97f35f 100644 --- a/.config/shell/aliasrc +++ b/.config/shell/aliasrc @@ -61,7 +61,7 @@ alias \ dwm="cd .local/src/dwm" \ dwmblocks="cd .local/src/dwmblocks" \ calc="quich" \ - rm="trash" \ + rm="trash -v" \ listdel="trash-list" \ restore="trash-restore" \ empty="trash-empty" \ diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index 5b4bec5..67b1a9c 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -40,7 +40,7 @@ XF86{HomePage,Mail} #super + ; #dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause -super + {F3,F5} +#super + {F3,F5} #spotifyvol{inc,dec}.py diff --git a/.config/sxiv/exec/key-handler b/.config/sxiv/exec/key-handler index 4543963..7460b31 100755 --- a/.config/sxiv/exec/key-handler +++ b/.config/sxiv/exec/key-handler @@ -9,7 +9,7 @@ do "R") convert -rotate 270 "$file" "$file" ;; "c") - xclip -sel c -t image/png -i "$file" ;; + echo -n "$file" | xclip -sel c ;; "s") setbg "$file";; "i") diff --git a/.config/user-dirs.dirs b/.config/user-dirs.dirs new file mode 100644 index 0000000..0d9358c --- /dev/null +++ b/.config/user-dirs.dirs @@ -0,0 +1,15 @@ +# This file is written by xdg-user-dirs-update +# If you want to change or add directories, just edit the line you're +# interested in. All local changes will be retained on the next run. +# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped +# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an +# absolute path. No other format is supported. +# +XDG_DESKTOP_DIR="$HOME/Desktop" +XDG_DOWNLOAD_DIR="$HOME/Downloads" +XDG_TEMPLATES_DIR="$HOME/" +XDG_PUBLICSHARE_DIR="$HOME/" +XDG_DOCUMENTS_DIR="$HOME/" +XDG_MUSIC_DIR="$HOME/" +XDG_PICTURES_DIR="$HOME/" +XDG_VIDEOS_DIR="$HOME/" diff --git a/.config/wal/templates/dunstrc b/.config/wal/templates/dunstrc index 5fc5876..120cdc8 100644 --- a/.config/wal/templates/dunstrc +++ b/.config/wal/templates/dunstrc @@ -11,7 +11,7 @@ indicate_hidden = yes shrink = yes transparency = 10 - notification_height = 0 + #notification_height = 0 # Show multiple notifications in the same box separator_height = 2 @@ -51,7 +51,7 @@ sticky_history = yes history_length = 20 dmenu = /usr/bin/dmenu -p dunst: - browser = /usr/bin/firefox -new-tab + browser = /usr/bin/brave-new-tab # Always run rule-defined scripts, even if the notification is suppressed always_run_script = true -- cgit v1.2.3