summaryrefslogtreecommitdiffstats
path: root/core/modules/dunst
diff options
context:
space:
mode:
authorJonathan Bauer2016-12-23 13:12:09 +0100
committerJonathan Bauer2016-12-23 13:12:09 +0100
commit6806ae4a850fc7785a8c05304237cf53b5b8f951 (patch)
treeb1dd8413d6c7b9a250251da7f0d49bb52b4ddc57 /core/modules/dunst
parentwrong kernel version variable used (diff)
downloadmltk-6806ae4a850fc7785a8c05304237cf53b5b8f951.tar.gz
mltk-6806ae4a850fc7785a8c05304237cf53b5b8f951.tar.xz
mltk-6806ae4a850fc7785a8c05304237cf53b5b8f951.zip
merge with latest dev version (tm-scripts commit f5a59daf8d70a9027118292cd40b18c221897408)
Diffstat (limited to 'core/modules/dunst')
-rw-r--r--core/modules/dunst/data/etc/xdg/dunst/dunstrc56
-rw-r--r--core/modules/dunst/module.build22
-rw-r--r--core/modules/dunst/module.conf10
-rw-r--r--core/modules/dunst/module.conf.ubuntu9
4 files changed, 97 insertions, 0 deletions
diff --git a/core/modules/dunst/data/etc/xdg/dunst/dunstrc b/core/modules/dunst/data/etc/xdg/dunst/dunstrc
new file mode 100644
index 00000000..a9f661cb
--- /dev/null
+++ b/core/modules/dunst/data/etc/xdg/dunst/dunstrc
@@ -0,0 +1,56 @@
+[global]
+ font = DejaVu-Sans 10
+ allow_markup = yes
+ plain_text = no
+ format = " <b>%s</b>\n%b"
+ sort = yes
+ indicate_hidden = yes
+ alignment = left
+ bounce_freq = 0
+ show_age_threshold = 60
+ word_wrap = yes
+ ignore_newline = no
+ geometry = "320x5-30+20"
+ shrink = no
+ transparency = 0
+ idle_threshold = 120
+ monitor = 0
+ follow = mouse
+ sticky_history = yes
+ history_length = 20
+ show_indicators = yes
+ line_height = 0
+ notification_height = 0
+ separator_height = 2
+ padding = 8
+ horizontal_padding = 8
+ separator_color = frame
+ startup_notification = false
+ icon_position = left
+ icon_folders = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
+
+[frame]
+ width = 2
+ color = "#bbbbbb"
+
+[shortcuts]
+ close = ctrl+mod1+mod4+space
+ close_all = ctrl+mod1+mod4+shift+space
+ history = ctrl+mod1+mod4+grave
+ context = ctrl+mod1+mod4+shift+period
+
+[urgency_low]
+ background = "#222222"
+ foreground = "#dddddd"
+ timeout = 15
+
+[urgency_normal]
+ background = "#184567"
+ foreground = "#ffffff"
+ timeout = 15
+
+[urgency_critical]
+ background = "#c00000"
+ foreground = "#ffff00"
+ timeout = 0
+
diff --git a/core/modules/dunst/module.build b/core/modules/dunst/module.build
new file mode 100644
index 00000000..16e0bb5b
--- /dev/null
+++ b/core/modules/dunst/module.build
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+fetch_source() {
+ :
+}
+
+build() {
+ COPYLIST="list_dpkg_output"
+ [ -e "$COPYLIST" ] && rm "$COPYLIST"
+
+ list_packet_files >> "$COPYLIST"
+ tarcopy "$(cat "$COPYLIST" | sort -u)" "${MODULE_BUILD_DIR}"
+
+ # copy udev rules to correct location
+ [ -d "${MODULE_BUILD_DIR}/lib/udev" ] && mv "${MODULE_BUILD_DIR}/lib/udev" "${MODULE_BUILD_DIR}/usr/lib/"
+}
+
+post_copy() {
+ mkdir -p "${TARGET_BUILD_DIR}/etc/X11"
+ [ ! -e ${TARGET_BUILD_DIR}/etc/X11/X ] && ln -s /usr/bin/Xorg ${TARGET_BUILD_DIR}/etc/X11/X
+}
+
diff --git a/core/modules/dunst/module.conf b/core/modules/dunst/module.conf
new file mode 100644
index 00000000..bf5386db
--- /dev/null
+++ b/core/modules/dunst/module.conf
@@ -0,0 +1,10 @@
+REQUIRED_BINARIES="
+ dunst
+ notify-send
+"
+REQUIRED_DIRECTORIES="
+ /usr/share/dbus-1
+"
+REQUIRED_FILES="
+"
+
diff --git a/core/modules/dunst/module.conf.ubuntu b/core/modules/dunst/module.conf.ubuntu
new file mode 100644
index 00000000..ffbc9295
--- /dev/null
+++ b/core/modules/dunst/module.conf.ubuntu
@@ -0,0 +1,9 @@
+REQUIRED_INSTALLED_PACKAGES="
+ dunst
+ libnotify-bin
+"
+REQUIRED_CONTENT_PACKAGES="
+ dunst
+ libnotify-bin
+"
+REQUIRED_FILES=""