🢀︎ archlinux :: 944dba6


commit 944dba6baa08401c3e3cfe1f4bd09627414378ce
Author: acidvegas <acid.vegas@acid.vegas>
Date:   Mon Jul 22 04:53:35 2019 -0400

    updated dunst stuff

diff --git a/home/acidvegas/.config/compton.conf b/home/acidvegas/.config/compton.conf
index 117f63a..58a010d 100644
--- a/home/acidvegas/.config/compton.conf
+++ b/home/acidvegas/.config/compton.conf
@@ -11,24 +11,10 @@ shadow-offset-y = 3;
 shadow-opacity = 0.5;
 shadow-ignore-shaped = false;
 shadow-exclude = [
-	#"! name~=''",
 	"name = 'Notification'",
-	"name = 'Plank'",
-	"name = 'Docky'",
-	"name = 'Kupfer'",
-	"name = 'xfce4-notifyd'",
-	"name *= 'VLC'",
 	"name *= 'compton'",
-	"name *= 'Chromium'",
-	"name *= 'Chrome'",
-	"class_g = 'Firefox' && argb",
-	"class_g = 'Conky'",
-	"class_g = 'Kupfer'",
-	"class_g = 'Synapse'",
+	"name = 'Dunst'",
 	"class_g ?= 'Notify-osd'",
-	"class_g ?= 'Cairo-dock'",
-	"class_g ?= 'Xfce4-notifyd'",
-	"class_g ?= 'Xfce4-power-manager'",
 	"_GTK_FRAME_EXTENTS@:c",
 	"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
 ];
@@ -37,21 +23,14 @@ inactive-opacity = 1;
 active-opacity = 1;
 frame-opacity = 1;
 inactive-opacity-override = false;
-#inactive-dim = 0.2; (0.0 - 1.0)
-#inactive-dim-fixed = true;
-#blur-background = true;
-#blur-background-frame = true;
 blur-background-fixed = false;
-blur-background-exclude = [
-	"window_type = 'dock'",
-	"window_type = 'desktop'"
-];
+blur-background-exclude = [ ];
 
 fading = true;
 fade-delta = 10;
 fade-in-step = 0.03;
 fade-out-step = 0.03;
-#no-fading-openclose = true;
+##no-fading-openclose = true;
 fade-exclude = [ ];
 
 mark-wmwin-focused = true;
@@ -62,7 +41,6 @@ detect-client-opacity = true;
 refresh-rate = 0;
 vsync = "opengl";
 dbe = false;
-#sw-opti = true;
 unredir-if-possible = false;
 focus-exclude = [ ];
 detect-transient = true;
diff --git a/home/acidvegas/.config/dunst/dunstrc b/home/acidvegas/.config/dunst/dunstrc
new file mode 100644
index 0000000..97f8b48
--- /dev/null
+++ b/home/acidvegas/.config/dunst/dunstrc
@@ -0,0 +1,71 @@
+[global]
+	monitor              = 0
+	follow               = none
+	geometry             = "-x1"
+	indicate_hidden      = yes
+	shrink               = no
+	transparency         = 0
+	notification_height  = 0
+	separator_height     = 0
+	padding              = 1
+	horizontal_padding   = 0
+	frame_width          = 0
+	frame_color          = "#000000"
+	separator_color      = frame
+	sort                 = yes
+	idle_threshold       = 120
+	font                 = "Misc Ohsnapu 11"
+	line_height          = 0
+	markup               = no
+	format               = "%s"
+	alignment            = center
+	show_age_threshold   = -1
+	word_wrap            = no
+	ellipsize            = end
+	ignore_newline       = yes
+	stack_duplicates     = true
+	hide_duplicate_count = false
+	show_indicators      = no
+	icon_position        = none
+	max_icon_size        = 32
+	icon_path            = /usr/share/icons/Adwaita/16x16/status/:/usr/share/icons/Adwaita/16x16/devices/
+	sticky_history       = no
+	history_length       = 10
+	dmenu                = /usr/bin/dmenu -p dunst:
+	browser              = /usr/bin/firefox -new-tab
+	always_run_script    = false
+	title                = Dunst
+	class                = Dunst
+	startup_notification = false
+	verbosity            = mesg
+	corner_radius        = 0
+	force_xinerama       = false
+	mouse_left_click     = close_current
+	mouse_middle_click   = do_action
+	mouse_right_click    = close_all
+
+[experimental]
+	per_monitor_dpi = false
+
+#todo: use mod4 (windows key)
+[shortcuts]
+	close     = ctrl+space
+	close_all = ctrl+shift+space
+	history   = ctrl+grave
+	context   = ctrl+shift+period
+
+[urgency_low]
+	background = "#000000"
+	foreground = "#888888"
+	timeout	   = 10
+
+[urgency_normal]
+	background = "#111111"
+	foreground = "#ffffff"
+	timeout	   = 10
+
+[urgency_critical]
+	background  = "#000000"
+	foreground  = "#ffffff"
+	frame_color = "#ff0000"
+	timeout	    = 0
\ No newline at end of file
diff --git a/scripts/acidvegas.sh b/scripts/acidvegas.sh
index 6337593..e9df87c 100644
--- a/scripts/acidvegas.sh
+++ b/scripts/acidvegas.sh
@@ -3,11 +3,12 @@ set -xev
 
 GIT_URL="https://raw.githubusercontent.com/acidvegas/archlinux/master"
 
-mkdir -p $HOME/.config/cmus $HOME/.config/procps $HOME/.gnupg $HOME/.mozilla/firefox/profile.default/chrome $HOME/.scripts $HOME/.ssh $HOME/dev/build $HOME/i $HOME/music
+mkdir -p $HOME/.config/cmus $HOME/.config/dunst $HOME/.config/procps $HOME/.gnupg $HOME/.mozilla/firefox/profile.default/chrome $HOME/.scripts $HOME/.ssh $HOME/dev/build $HOME/i $HOME/music
 
 wget -O $HOME/.bashrc $GIT_URL/home/acidvegas/.bashrc
 wget -O $HOME/.config/compton.conf $GIT_URL/home/acidvegas/.config/compton.conf
 wget -O $HOME/.config/cmus/autosave $GIT_URL/home/acidvegas/.config/cmus/autosave
+wget -O $HOME/.config/dunst/dunstrc $GIT_URL/home/acidvegas/.config/dunst/dunstrc
 wget -O $HOME/.config/procps/toprc $GIT_URL/home/acidvegas/.config/procps/toprc
 wget -O $HOME/.config/menu $GIT_URL/home/acidvegas/.config/menu
 wget -O $HOME/.config/wallpaper.jpg $GIT_URL/home/acidvegas/.config/wallpaper.jpg
@@ -51,6 +52,7 @@ sudo make -C $HOME/dev/build/slstatus clean install
 
 git clone --depth 1 git://git.suckless.org/st $HOME/dev/build/st
 wget -O $HOME/dev/build/st/config.h $GIT_URL/home/acidvegas/dev/build/st/config.h
+wget -O $HOME/dev/build/st/patch_boxdraw.diff $GIT_URL/home/acidvegas/dev/build/st/patch_boxdraw.diff
 wget -O $HOME/dev/build/st/patch_scrollback.diff $GIT_URL/home/acidvegas/dev/build/st/patch_scrollback.diff
 # TODO: APPLY PATCHES
 sudo make -C $HOME/dev/build/st clean install
diff --git a/scripts/root.sh b/scripts/root.sh
index 7aef120..8a4e87e 100644
--- a/scripts/root.sh
+++ b/scripts/root.sh
@@ -30,7 +30,7 @@ pacman -Rns logrotate
 pacman -S --needed base-devel
 pacman -S abduco acpi dash exa git gnupg fbida go imagemagick iotop links mlocate mps-youtube ncdu pass powertop profanity python weechat yotube-dl # imagemagick ?
 pacman -S adapta-gtk-theme dmenu dunst feh firefox lxappearance slock surf unclutter xclip # run lxappearence to change theme
-pacman -S alsa-oss alsa-utils cmus id3v2 mplayer python-eyed3
+pacman -S alsa-utils cmus id3v2 mplayer python-eyed3
 pacman -S mesa lib32-mesa xf86-video-amdgpu xf86-video-fbdev xorg-server xorg-xrdb xorg-xsetroot # revamp
 
 ln -sfT dash /usr/bin/sh
@@ -57,7 +57,6 @@ wget -O /root/.config/procps/toprc $GIT_URL/home/acidvegas/.config/procps/toprc
 # echo -e "gpu_mem=16" > /boot/config.txt
 echo "noarp" >> /etc/dhcpcd.conf # required?
 echo "blacklist pcspkr" > /etc/modprobe.d/nobeep.conf
-echo -e "snd-seq-oss\nsnd-pcm-oss\nsnd-mixer-oss" > /etc/modules-load.d/alsa.conf # required?
 echo -e "set boldtext\nset emptyline\nset morespace\nset nohelp\nset nonewlines\nset nowrap\nset quickblank\nset tabsize 4\nunbind ^J main\ninclude \"/usr/share/nano/*.nanorc\"" > /etc/nanorc
 sed -i '/#auth		required	pam_wheel.so use_uid/s/^#//g' /etc/pam.d/su   # tabs handled ?
 sed -i '/#auth		required	pam_wheel.so use_uid/s/^#//g' /etc/pam.d/su-l