diff --git a/dunst/content/dunstdaemon b/dunst/content/dunstdaemon deleted file mode 100755 index 0089a96..0000000 --- a/dunst/content/dunstdaemon +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -killall -q dunst -while pgrep -x dunst >/dev/null; do sleep 1; done -dunst & diff --git a/dunst/install.sh b/dunst/install.sh deleted file mode 100755 index fb1742c..0000000 --- a/dunst/install.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh - -DIR=$(dirname "$(readlink -f "$0")") -. "$DIR/../env.sh" - -# install nvim -case "$PM" in - apt) - sudo apt install -y dunst - ;; - pacman) - sudo pacman -S --needed dunst - ;; -esac - -# symlink configuration -lnsf "$DIR/content/dunstrc" "$XDG_CONFIG_HOME/dunst/dunstrc" -sudo cp -f "$DIR/content/dunstdaemon" "$PREFIX/bin" -sudo chmod +x "$PREFIX/bin/dunstdaemon" diff --git a/dunst/content/dunstrc b/gui/content/dunstrc similarity index 97% rename from dunst/content/dunstrc rename to gui/content/dunstrc index e70cd7b..ef82502 100644 --- a/dunst/content/dunstrc +++ b/gui/content/dunstrc @@ -29,7 +29,7 @@ # the top and down respectively. # The width can be negative. In this case the actual width is the # screen width minus the width defined in within the geometry option. - geometry = "400x5-30+50" + geometry = "400x20+30+50" # Show how many messages are currently hidden (because of geometry). indicate_hidden = yes @@ -51,7 +51,7 @@ # Draw a line of "separator_height" pixel height between two # notifications. # Set to 0 to disable. - separator_height = 2 + separator_height = 0 # Padding between text and separator. padding = 8 @@ -61,10 +61,10 @@ # Defines width in pixels of frame around the notification window. # Set to 0 to disable. - frame_width = 0 + frame_width = 1 # Defines color of the frame around the notification window. - frame_color = "#aaaaaa" + frame_color = "#666666" # Define a color for the separator. # possible values are: @@ -85,7 +85,7 @@ ### Text ### - font = Hermit 9 + font = sans 9 # The spacing between lines. If the height is smaller than the # font height, it will get raised to the font height. @@ -211,6 +211,12 @@ # layout changes. force_xinerama = false + mouse_left_click = do_action + mouse_middle_click = close_all + mouse_right_click = close_current + + dmenu = /usr/local/bin/dmenu + # Experimental features that may or may not work correctly. Do not expect them # to have a consistent behaviour across releases. [experimental] diff --git a/gui/freetype2.sh b/gui/content/freetype2.sh similarity index 100% rename from gui/freetype2.sh rename to gui/content/freetype2.sh diff --git a/gui/local.conf b/gui/content/local.conf similarity index 100% rename from gui/local.conf rename to gui/content/local.conf diff --git a/gui/nerdfonticons b/gui/content/nerdfonticons similarity index 100% rename from gui/nerdfonticons rename to gui/content/nerdfonticons diff --git a/gui/install.sh b/gui/install.sh index ef66b9d..2f3ecf3 100755 --- a/gui/install.sh +++ b/gui/install.sh @@ -13,6 +13,7 @@ case "$PM" in fonts-wqy-microhei \ fonts-symbola \ fonts-dejavu-core \ + dunst \ gucharmap # network manager sudo apt install \ @@ -36,6 +37,7 @@ case "$PM" in gsfonts \ ttf-cascadia-code \ ttf-dejavu \ + dunst \ gucharmap # official wqy-microhei package doesn't fix the Korean Glyphs stacking bug # https://code.google.com/p/chromium/issues/detail?id=233851 @@ -104,5 +106,6 @@ sudo systemctl start NetworkManager sudo ln -sf /etc/fonts/conf.avail/70-no-bitmaps.conf /etc/fonts/conf.d sudo ln -sf /etc/fonts/conf.avail/10-sub-pixel-rgb.conf /etc/fonts/conf.d sudo ln -sf /etc/fonts/conf.avail/11-lcdfilter-default.conf /etc/fonts/conf.d -sudo cp "$DIR/freetype2.sh" "/etc/profile.d/freetype2.sh" -sudo cp "$DIR/local.conf" "/etc/fonts/local.conf" +sudo cp "$DIR/content/freetype2.sh" "/etc/profile.d/freetype2.sh" +sudo cp "$DIR/content/local.conf" "/etc/fonts/local.conf" +lnsf "$DIR/content/dunstrc" "$XDG_CONFIG_HOME/dunst/dunstrc" diff --git a/suckless/config/dwm/autostart b/suckless/config/dwm/autostart index 698ad69..830ef47 100755 --- a/suckless/config/dwm/autostart +++ b/suckless/config/dwm/autostart @@ -3,9 +3,6 @@ # start compositor daemon picomdaemon -# start desktop notification daemon -dunstdaemon - # start dwmbar daemon statusbar