From 266e4d22e816c4ef3c0954141edaecf11fbe0d83 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Sun, 24 Oct 2021 17:16:04 +0300 Subject: dunst: shortcuts removed, everything broken --- .config/dunst/dunstrc | 15 ++++++--------- .config/i3/config##h.lowe | 13 +++++++++++-- .config/i3/config##h.luchs | 13 +++++++++++-- .config/i3/config##h.maus | 19 ++++++++++++++----- 4 files changed, 42 insertions(+), 18 deletions(-) diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc index 731f8d9..d368349 100755 --- a/.config/dunst/dunstrc +++ b/.config/dunst/dunstrc @@ -1,19 +1,19 @@ [global] monitor = 0 follow = keyboard - width=248 - height=64 + width=300 + height=180 origin=top-right offset=32x48 indicate_hidden = yes shrink = no transparency = 00 - separator_height = 2 + separator_height = 20 padding = 16 horizontal_padding = 16 frame_width = 0 frame_color = "#79dac8" - separator_color = frame + separator_color = "#00000000" sort = yes idle_threshold = 120 font = Iosevka Aile 9 @@ -28,13 +28,10 @@ hide_duplicate_count = false show_indicators = true icon_position = left - max_icon_size = 64x64 icon_path = "/usr/share/icons/Tela-pink/16/actions:/usr/share/icons/Tela-pink/16/apps:/usr/share/icons/Tela-pink-dark/16/devices:/usr/share/icons/Tela-pink/16/emblems:/usr/share/icons/Tela-pink/16/mimetypes:/usr/share/icons/Tela-pink/16/panel:/usr/share/icons/Tela-pink-dark/16/places:/usr/share/icons/Tela-pink/16/status" sticky_history = yes history_length = 20 - - corner_radius = 15 - + corner_radius = 0 dmenu = /usr/bin/rofi -dmenu browser = /usr/bin/firefox title = Dunst @@ -57,7 +54,7 @@ [Spotify] appname = "Spotify" - format = "now playing\n%s\n%b" + format = "now playing\n🎤 %s\n🎶 %b" set_transient = true [ncmpcpp] diff --git a/.config/i3/config##h.lowe b/.config/i3/config##h.lowe index 0c517ea..ca32cf3 100644 --- a/.config/i3/config##h.lowe +++ b/.config/i3/config##h.lowe @@ -40,6 +40,17 @@ gaps inner 5 gaps outer 0 ## bindings +### dunstctl - dunst shortcuts have been deprecated +# close notifications with mod+x +bindcode $mod+53 exec --no-startup-id dunstctl close +bindcode $mod+shift+53 exec --no-startup-id dunstctl close-all + +# give context menu with mod+o +bindcode $mod+47 exec --no-startup-id dunstctl context + +# show history items with mod+0 (like the old times) +bindcode $mod+19 exec --no-startup-id dunstctl history-pop + # done, {task,time}warrior control suite bindcode $mod+42 exec --no-startup-id ~/.local/bin/done @@ -147,7 +158,6 @@ bindsym $mod+6 workspace $ws6 bindsym $mod+7 workspace $ws7 bindsym $mod+8 workspace $ws8 bindsym $mod+9 workspace $wssteam -bindsym $mod+0 workspace $ws10 bindsym $mod+m workspace $wsmusic bindcode $mod+49 workspace $wszotero bindcode $mod+60 workspace $wsdesktop @@ -163,7 +173,6 @@ bindsym $mod+Shift+6 move container to workspace $ws6 bindsym $mod+Shift+7 move container to workspace $ws7 bindsym $mod+Shift+8 move container to workspace $ws8 bindsym $mod+Shift+9 move container to workspace $wssteam -bindsym $mod+Shift+0 move container to workspace $ws10 bindsym $mod+Shift+m move container to workspace $wsmusic bindcode $mod+Shift+49 move container to workspace $wszotero bindcode $mod+Shift+60 move container to workspace $wsdesktop diff --git a/.config/i3/config##h.luchs b/.config/i3/config##h.luchs index 319844a..081a614 100644 --- a/.config/i3/config##h.luchs +++ b/.config/i3/config##h.luchs @@ -46,6 +46,17 @@ gaps outer 2 font pango:Iosevka 11 ## bindings +### dunstctl - dunst shortcuts have been deprecated +# close notifications with mod+x +bindcode $mod+53 exec --no-startup-id dunstctl close +bindcode $mod+shift+53 exec --no-startup-id dunstctl close-all + +# give context menu with mod+o +bindcode $mod+47 exec --no-startup-id dunstctl context + +# show history items with mod+0 (like the old times) +bindcode $mod+19 exec --no-startup-id dunstctl history-pop + # done, {task,time}warrior control suite bindcode $mod+42 exec --no-startup-id ~/.local/bin/done @@ -169,7 +180,6 @@ bindsym $mod+6 workspace $ws6 bindsym $mod+7 workspace $ws7 bindsym $mod+8 workspace $ws8 bindsym $mod+9 workspace $ws9 -bindsym $mod+0 workspace $ws10 bindcode $mod+49 workspace $wszotero bindcode $mod+60 workspace $wsdesktop bindcode $mod+21 workspace $wsbrowser @@ -184,7 +194,6 @@ bindsym $mod+Shift+6 move container to workspace $ws6 bindsym $mod+Shift+7 move container to workspace $ws7 bindsym $mod+Shift+8 move container to workspace $ws8 bindsym $mod+Shift+9 move container to workspace $ws9 -bindsym $mod+Shift+0 move container to workspace $ws10 bindcode $mod+Shift+49 move container to workspace $wszotero bindcode $mod+Shift+60 move container to workspace $wsdesktop bindcode $mod+Shift+21 move container to workspace $wsbrowser diff --git a/.config/i3/config##h.maus b/.config/i3/config##h.maus index 29830c1..9b2c518 100644 --- a/.config/i3/config##h.maus +++ b/.config/i3/config##h.maus @@ -39,7 +39,18 @@ exec --no-startup-id ~/.fehbg font pango:Iosevka 11 ## bindings -# done, {task,time}warrior control suite +### dunstctl - dunst shortcuts have been deprecated +# close notifications with mod+x +bindcode $mod+53 exec --no-startup-id dunstctl close +bindcode $mod+shift+53 exec --no-startup-id dunstctl close-all + +# give context menu with mod+o +bindcode $mod+47 exec --no-startup-id dunstctl context + +# show history items with mod+0 (like the old times) +bindcode $mod+19 exec --no-startup-id dunstctl history-pop + +# done, {task,time}warrior control suite, mod+d bindcode $mod+42 exec --no-startup-id ~/.local/bin/done # type the contents of the clipboard with mod+p @@ -69,10 +80,10 @@ bindsym XF86AudioPrev exec --no-startup-id playerctl previous bindsym XF86AudioNext exec --no-startup-id playerctl next bindsym XF86Tools exec --no-startup-id mpc toggle # for mpd/ncmpcpp -# make the currently focused window a scratchpad +# make the currently focused window a scratchpad, mod+shift+- bindcode $mod+Shift+20 move scratchpad -# show the first scratchpad window +# show the first scratchpad window, mod+- bindcode $mod+20 scratchpad show # pause notifications for a while with mod+shift+y @@ -159,7 +170,6 @@ bindsym $mod+6 workspace $ws6 bindsym $mod+7 workspace $ws7 bindsym $mod+8 workspace $ws8 bindsym $mod+9 workspace $wssteam -bindsym $mod+0 workspace $ws10 bindsym $mod+m workspace $wsmusic bindcode $mod+49 workspace $wszotero bindcode $mod+60 workspace $wsdesktop @@ -175,7 +185,6 @@ bindsym $mod+Shift+6 move container to workspace $ws6 bindsym $mod+Shift+7 move container to workspace $ws7 bindsym $mod+Shift+8 move container to workspace $ws8 bindsym $mod+Shift+9 move container to workspace $wssteam -bindsym $mod+Shift+0 move container to workspace $ws10 bindsym $mod+Shift+m move container to workspace $wsmusic bindcode $mod+Shift+49 move container to workspace $wszotero bindcode $mod+Shift+60 move container to workspace $wsdesktop -- cgit v1.2.3-70-g09d2