diff options
author | Karel Kočí <cynerd@email.cz> | 2021-12-11 16:33:54 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2021-12-11 16:34:34 +0100 |
commit | a3402e505b26b0c652c20a14075657d8bd42e568 (patch) | |
tree | 9ba2f0338b4294b30ab1eed5142d1879135e0f4f | |
parent | 072bea20ac530d031940069edfa458f503f1100e (diff) | |
download | myconfigs-a3402e505b26b0c652c20a14075657d8bd42e568.tar.gz myconfigs-a3402e505b26b0c652c20a14075657d8bd42e568.tar.bz2 myconfigs-a3402e505b26b0c652c20a14075657d8bd42e568.zip |
i3: update dunst support
The built in keybindings are no longer valid and so we have to bind it
in i3 instead.
-rw-r--r-- | config/dunst/dunstrc | 87 | ||||
-rw-r--r-- | config/i3/config | 6 | ||||
m--------- | private | 0 |
3 files changed, 30 insertions, 63 deletions
diff --git a/config/dunst/dunstrc b/config/dunst/dunstrc index 9c1c33b..c0d5334 100644 --- a/config/dunst/dunstrc +++ b/config/dunst/dunstrc @@ -1,40 +1,30 @@ [global] - font = "Monospace 8" - allow_markup = yes - format = "<b>%s %p</b>\n%b" - sort = yes - indicate_hidden = true - # geometry = "x5" - idle_threshold = 0 - geometry = "280x5-0+19" - alignment = center - show_age_threshold = 60 - sticky_history = yes - follow = mouse - word_wrap = yes - separator_height = 1 - padding = 3 - horizontal_padding = 3 - separator_color = frame - startup_notification = false - dmenu = "/usr/bin/dmenu -p dunst: -nb #FFFFFF -nf #000000 -sb #94DBFF -sf #000000" - browser = surf - - -[frame] - width = 1 - color = "#4c7899" - -[shortcuts] - close = ctrl+space - close_all = ctrl+shift+space - history = ctrl+grave - context = ctrl+shift+period + font = "Monospace 8" + allow_markup = yes + format = "<b>%s %p</b>\n%b" + sort = yes + indicate_hidden = true + idle_threshold = 0 + alignment = center + show_age_threshold = 60 + sticky_history = yes + follow = mouse + word_wrap = yes + separator_height = 1 + padding = 3 + horizontal_padding = 3 + separator_color = frame + startup_notification = false + + dmenu = "/usr/bin/dmenu -p dunst: -nb #FFFFFF -nf #000000 -sb #94DBFF -sf #000000" + + frame_width = 1 + frame_color = "#4c7899" [urgency_low] - background = "#000000" - foreground = "#ffffff" - timeout = 30 + background = "#000000" + foreground = "#ffffff" + timeout = 30 [urgency_normal] background = "#000000" @@ -45,32 +35,3 @@ background = "#000000" foreground = "#ff9999" timeout = 0 - - -[libpurple_signed] - appname = libpurple - summary = *igned* - urgency = low - timeout = 3 - background = "#ccff33" - -[libpurple_came_back] - appname = libpurple - summary = "*came*" - format = "" - -[libpurple_went_away] - appname = libpurple - summary = "*went*" - format = "" - -[libpurple_says] - appname = libpurple - summary = *ays* - urgency = critical - background = "#ccff33" - -[libpurple] - appname = libpurple - urgency = critical - background = "#ccff33" diff --git a/config/i3/config b/config/i3/config index 03e5081..cf22a8f 100644 --- a/config/i3/config +++ b/config/i3/config @@ -100,6 +100,12 @@ bindsym $mod+Shift+r restart # Detect graphics output bindsym $mod+Shift+o exec --no-startup-id autorandr --change +# Notifications +bindsym ctrl+space exec --no-startup-id dunstctl close +bindsym ctrl+Shift+space exec --no-startup-id dunstctl close-all +bindsym ctrl+grave exec --no-startup-id dunstctl history-pop +bindsym ctrl+Shift+grave exec --no-startup-id dunstctl context + set $mode_system System (l) lock, (e) logout, (s) suspend, (r) reboot, (Shift+s) shutdown mode "$mode_system" { bindsym l exec --no-startup-id loginctl lock-session $XDG_SESSION_ID, mode "default" diff --git a/private b/private -Subproject cae05bbab463f0d42517fa1f1684248fdbc702e +Subproject e3482f9b6fb76ab5b18097c23b9887496015575 |