diff options
| -rw-r--r-- | .config/mimeapps.list | 3 | ||||
| -rw-r--r-- | .xprofile | 12 |
2 files changed, 7 insertions, 8 deletions
diff --git a/.config/mimeapps.list b/.config/mimeapps.list index a8c3c51..b4020e5 100644 --- a/.config/mimeapps.list +++ b/.config/mimeapps.list @@ -12,8 +12,9 @@ application/x-extension-xht=firefox.desktop; application/x-bittorrent=torrent.desktop; image/png=sxiv.desktop; image/jpeg=sxiv.desktop; -application/pdf=zathura.desktop; +application/pdf=org.pwmt.zathura-pdf-mupdf.desktop; x-scheme-handler/tg=userapp-Telegram Desktop-JNXWX0.desktop; [Added Associations] +application/pdf=org.pwmt.zathura-pdf-mupdf.desktop; x-scheme-handler/tg=userapp-Telegram Desktop-JNXWX0.desktop; @@ -15,11 +15,6 @@ elif [ "$DESKTOP_SESSION" = "xmonad" ]; then compositor_args="-o 0" fi -# Host specific config -if [ "$(hostname -s)" = "laptop1" ]; then - fusuma & -fi - # Setup wallpaper WP_DIR="$HOME/Pictures/Wallpapers/" if [ -d "$WP_DIR" ]; then @@ -32,10 +27,13 @@ if ! [ $(command -v compton) ]; then alias compton="picom" fi -compton -c --config $XDG_CONFIG_HOME/compton/compton.conf $compositor_args & +# Run compositor only in openbox +if [ "$DESKTOP_SESSION" = "openbox-session" ]; then + compton -c --config $XDG_CONFIG_HOME/compton/compton.conf $compositor_args & +fi fi -export TERMINAL="kitty" +export TERMINAL="tabbed -c -r 2 st -w ''" export EDITOR="nvim" export BROWSER="firefox" |