From ec689ee70e49c6026b7f2cb20731f06d5d7a568f Mon Sep 17 00:00:00 2001 From: Shubham Saini Date: Mon, 1 Jun 2020 15:52:42 +0530 Subject: nicer shadows --- alacritty/.config/alacritty/alacritty.yml | 11 ++++------- bin/.local/bin/shut | 2 +- dunst/.config/dunst/dunstrc | 2 +- picom/.config/picom.conf | 21 +++++++-------------- spectrwm/.config/spectrwm/spectrwm.conf | 4 ++-- zathura/.config/zathura/zathurarc | 2 +- 6 files changed, 16 insertions(+), 26 deletions(-) diff --git a/alacritty/.config/alacritty/alacritty.yml b/alacritty/.config/alacritty/alacritty.yml index b66a33f..162fd9c 100644 --- a/alacritty/.config/alacritty/alacritty.yml +++ b/alacritty/.config/alacritty/alacritty.yml @@ -30,20 +30,17 @@ background_opacity: 1.0 font: normal: - family: "JetBrainsMono Nerd Font Mono" + family: "Hermit" style: Regular bold: - family: "JetBrainsMono Nerd Font Mono" + family: "Hermit" style: Bold italic: - family: "JetBrainsMono Nerd Font Mono" + family: "Hermit" style: Italic - bold_italic: - family: "JetBrainsMono Nerd Font Mono" - style: Bold Italic # Point size - size: 9 + size: 8.5 antialias: true autohint: true lcdfiler: lcddefault diff --git a/bin/.local/bin/shut b/bin/.local/bin/shut index 90be4e0..1fb1295 100755 --- a/bin/.local/bin/shut +++ b/bin/.local/bin/shut @@ -1,6 +1,6 @@ #!/bin/bash -RET=$(echo -e "shutdown\nreboot\nsleep\nlock\ncancel" | dmenu -l 5 -p "Sayonara" -nb "#000000" -nf "#bfbfbf" -sb "#84a0c6" -sf "#000000" -fn "JetBrainsMono Nerd Font Mono:size=10:antialias=true:autohint=true") +RET=$(echo -e "shutdown\nreboot\nsleep\nlock\ncancel" | dmenu -l 5 -p "Sayonara" -nb "#000000" -nf "#bfbfbf" -sb "#84a0c6" -sf "#000000" -fn "Hermit:size=10:antialias=true:autohint=true") case $RET in shutdown) doas poweroff ;; diff --git a/dunst/.config/dunst/dunstrc b/dunst/.config/dunst/dunstrc index 06224ad..4cf3972 100644 --- a/dunst/.config/dunst/dunstrc +++ b/dunst/.config/dunst/dunstrc @@ -28,7 +28,7 @@ # Font and typography settings icon_path = /usr/share/icons/Adwaita/48x48/status/:/usr/share/icons/Adwaita/48x48/devices/:/usr/share/icons/Adwaita/48x48/apps - font = JetBrainsMono Nerd Font Mono 10 + font = Hermit 10 alignment = center show_age_threshold = 60 ellipsize = middle diff --git a/picom/.config/picom.conf b/picom/.config/picom.conf index 858d87e..a155b63 100644 --- a/picom/.config/picom.conf +++ b/picom/.config/picom.conf @@ -1,20 +1,15 @@ ## SHADOWS -shadow = true; -shadow-radius = 0.5; -shadow-offset-x = 3; -shadow-offset-y = 3; -shadow-opacity = 0.65; -log-level = "warn"; +shadow = true; +shadow-radius = 25; +shadow-offset-x = -20; +shadow-offset-y = -15; shadow-exclude = [ "name = 'Notification'", - "class_g = 'conky'", "class_g ?= 'Notify-osd'", - "class_g = 'Cairo-clock'", - "class_g ?= 'slop'", "name = 'polybar'", "name = 'Polybar tray window'", - "class_g ?= 'dmenu'", "class_g ?= 'dwm'", + "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'", "class_g = 'Firefox' && argb", "_GTK_FRAME_EXTENTS@:c" ]; @@ -26,10 +21,8 @@ blur-background = true; blur-strength = 3; blur-kern = "3x3box"; blur-background-exclude = [ - "class_g ?= 'slop'", "name = 'polybar'", "name = 'Polybar tray window'", - "class_g = 'conky'", "class_g ?= 'Rofi'", "class_g ?= 'zoom'", "window_type = 'dock'", @@ -37,8 +30,8 @@ blur-background-exclude = [ ]; opacity-rule = [ "40:class_g = 'Bspwm' && class_i = 'presel_feedback'", - "100:class_g = 'Alacritty' && focused", - "95:class_g = 'Alacritty' && !focused" + "100:class_g = 'st-256color' && focused", + "95:class_g = 'st-256color' && !focused" ]; ## FADING diff --git a/spectrwm/.config/spectrwm/spectrwm.conf b/spectrwm/.config/spectrwm/spectrwm.conf index 0197f84..ce93d43 100644 --- a/spectrwm/.config/spectrwm/spectrwm.conf +++ b/spectrwm/.config/spectrwm/spectrwm.conf @@ -38,7 +38,7 @@ bar_color[1] = black bar_color_selected[1] = rgb:00/80/80 bar_font_color[1] = rgb:b5/b5/b5, rgb:73/73/73 bar_font_color_selected = black -bar_font = JetBrainsMono Nerd Font Mono:size=9.5:antialias=true:autohint=true:autohint=true:lcdfilter=lcddefault:rgba=rgb +bar_font = Hermit:size=9.5:antialias=true:autohint=true:autohint=true:lcdfilter=lcddefault:rgba=rgb bar_action = ~/.config/spectrwm/statusbar bar_action_expand = 1 bar_justify = left @@ -100,7 +100,7 @@ keyboard_mapping = ~/.config/spectrwm/keybindings.conf # Validated default programs: program[lock] = xset s activate -program[term] = alacritty +program[term] = st program[menu] = ~/bin/menu program[bup] = doas bash -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)+5*$(<$f/max_brightness)/100)) > $f/brightness; done' program[bdown] = doas bash -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)-5*$(<$f/max_brightness)/100)) > $f/brightness; done' diff --git a/zathura/.config/zathura/zathurarc b/zathura/.config/zathura/zathurarc index 02c516d..b37446e 100644 --- a/zathura/.config/zathura/zathurarc +++ b/zathura/.config/zathura/zathurarc @@ -3,7 +3,7 @@ # NOTE: This file is automatically generated by pywal. Do not edit it by hand. -set font "JetBrainsMono Nerd Font 8" # Use Hack as our font of choice +set font "Hermit 8" # Use Hack as our font of choice #set guioptions "v" # Show a "progress bar" when scrolling up/down set adjust-open "width" # Make documents take up all the available space by default set statusbar-basename "true" # When using the status bar, show the basename only -- cgit v1.2.3