From ccc7ad50c5d7a17a8346a166f67f35cea3d218f2 Mon Sep 17 00:00:00 2001 From: doryan Date: Fri, 11 Oct 2024 01:08:18 +0400 Subject: [PATCH] feat(zathura + mime): add mimeapps list and zathura config --- install.sh | 2 +- mimeapps.list | 17 +++++++++++++++++ picom/picom.conf | 13 ++----------- polybar/config.ini | 4 +++- rofi/power/launch.sh | 1 - zathura/zathurarc | 7 +++++++ 6 files changed, 30 insertions(+), 14 deletions(-) create mode 100644 mimeapps.list create mode 100644 zathura/zathurarc diff --git a/install.sh b/install.sh index c49e28e..3537c83 100755 --- a/install.sh +++ b/install.sh @@ -1,6 +1,6 @@ #!/bin/bash -configs=("bspwm" "btop" "cava" "lvim" "picom" "polybar" "rofi" "yazi" "sxhkd" "dunst", "fontconfig") +configs=("bspwm" "btop" "cava" "lvim" "picom" "polybar" "rofi" "yazi" "sxhkd" "dunst") betterlockscreen -u ~/.bg/bg_3.jpg --fx blur --blur 0.25 diff --git a/mimeapps.list b/mimeapps.list new file mode 100644 index 0000000..79b536d --- /dev/null +++ b/mimeapps.list @@ -0,0 +1,17 @@ +[Default Applications] +x-scheme-handler/tonsite=io.github.kukuruzka165.materialgram.desktop +x-scheme-handler/tg=io.github.kukuruzka165.materialgram.desktop +x-scheme-handler/mailto=userapp-Thunderbird-9B2JV2.desktop +message/rfc822=userapp-Thunderbird-9B2JV2.desktop +x-scheme-handler/mid=userapp-Thunderbird-9B2JV2.desktop +application/pdf=org.pwmt.zathura-pdf-poppler.desktop +image/jpg=feh.desktop +image/jpeg=feh.desktop +image/png=feh.desktop +image/webm=feh.desktop + +[Added Associations] +x-scheme-handler/tonsite=org.telegram.desktop.desktop;io.github.kukuruzka165.materialgram.desktop; +x-scheme-handler/tg=io.github.kukuruzka165.materialgram.desktop; +x-scheme-handler/mailto=userapp-Thunderbird-9B2JV2.desktop; +x-scheme-handler/mid=userapp-Thunderbird-9B2JV2.desktop; diff --git a/picom/picom.conf b/picom/picom.conf index 285e8a5..c00747f 100644 --- a/picom/picom.conf +++ b/picom/picom.conf @@ -142,7 +142,7 @@ corner-radius = 5; # Specify the backend to use: `xrender`, `glx`, `egl` or `xr_glx_hybrid`. # `xrender` is the default one. # -backend = "glx" +backend = "egl" dithered-present = false; vsync = true; detect-client-opacity = true; @@ -435,16 +435,7 @@ animations = ({ end = "window-raw-opacity"; }; shadow-opacity = "opacity"; -}, -# { -# triggers = [ "geometry" ]; -# crop-width = { -# curve = "cubic-bezier(0.24, 0.64, 0.79, 0.98)"; -# duration = 0.5; -# start = "window-width-before"; -# end = "window-width"; -# }; -# } +} # Full Opaque Desktop Switch #{ diff --git a/polybar/config.ini b/polybar/config.ini index 180b31c..f7610ad 100644 --- a/polybar/config.ini +++ b/polybar/config.ini @@ -43,7 +43,7 @@ module-margin = 1 separator-foreground = ${colors.disabled} -font-0 = "JetBrainsMonoNL Nerd Font:size=10;2" +font-0 = "FiraCode Nerd Font Propo:size=10;2" modules-left = xworkspaces modules-center = xwindow @@ -348,3 +348,5 @@ content = " " content-foreground = ${colors.primary} click-left = ~/.config/rofi/power/launch.sh + + diff --git a/rofi/power/launch.sh b/rofi/power/launch.sh index fac181f..ea089bd 100755 --- a/rofi/power/launch.sh +++ b/rofi/power/launch.sh @@ -90,7 +90,6 @@ case ${chosen} in ;; $suspend) run_cmd --suspend - betterlockscreen -l blur ;; $logout) run_cmd --logout diff --git a/zathura/zathurarc b/zathura/zathurarc new file mode 100644 index 0000000..d19e4c1 --- /dev/null +++ b/zathura/zathurarc @@ -0,0 +1,7 @@ +set selection-clipboard clipboard +map p print +map r reload +map D toggle_page_mode + +set default-bg "#474747" #00 +set default-fg "#F7F7F6" #01