From 3abe59af50ee618a46c504863952d1032d231f0a Mon Sep 17 00:00:00 2001 From: Quentin Duchemin Date: Sun, 13 Mar 2022 16:45:18 +0100 Subject: [PATCH] [i3] remove unused mark/goto and add obsidian --- .config/Cadence/GlobalSettings.conf | 2 +- .config/dunst/dunstrc | 4 ++-- .config/i3/config_common | 9 +++------ 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.config/Cadence/GlobalSettings.conf b/.config/Cadence/GlobalSettings.conf index c524bbc..9c7cc7f 100644 --- a/.config/Cadence/GlobalSettings.conf +++ b/.config/Cadence/GlobalSettings.conf @@ -6,7 +6,7 @@ ExportHW=true [ALSA-Audio] BridgeChannels=2 BridgeIndexType=1 -BridgeTool=alsa_in +BridgeTool=zita [JACK] AutoLoadLadishStudio=true diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc index 06b812c..8ab14a0 100644 --- a/.config/dunst/dunstrc +++ b/.config/dunst/dunstrc @@ -62,7 +62,7 @@ # for longer than idle_threshold seconds. # Set to 0 to disable. # Transient notifications ignore this setting. - idle_threshold = 0 + idle_threshold = 60 ### Text ### @@ -115,7 +115,7 @@ # Show age of message if message is older than show_age_threshold # seconds. # Set to -1 to disable. - show_age_threshold = -1 + show_age_threshold = 120 # Split notifications into multiple lines if they don't fit into # geometry. diff --git a/.config/i3/config_common b/.config/i3/config_common index f95493d..9ed0bea 100644 --- a/.config/i3/config_common +++ b/.config/i3/config_common @@ -78,6 +78,7 @@ exec --no-startup-id i3-msg 'workspace 3; exec firefox' exec thunderbird exec signal-desktop exec telegram-desktop +exec obsidian exec --no-startup-id i3-msg 'workspace number 1; exec i3-sensible-terminal' @@ -119,12 +120,6 @@ mode "$film_mode" { # toggle film mode bindsym $mod+Shift+f mode "$film_mode" -# read 1 character and mark the current window with this character -bindsym $mod+n exec i3-input -F 'mark %s' -l 1 -P 'Mark: ' - -# read 1 character and go to the window with the character -bindsym $mod+Shift+n exec i3-input -F '[con_mark="%s"] focus' -l 1 -P 'Goto: ' - # pass bindsym $mod+p exec passmenu bindsym $mod+Shift+p exec picamenu @@ -241,12 +236,14 @@ for_window [class="Thunderbird"] move position center # scratchpad for_window [class="Signal"] move scratchpad +for_window [class="obsidian"] move scratchpad for_window [class="Telegram"] move scratchpad # we don't use class="Thunderbird" to not move windows like "MsgCompose" to scratchpad : only the main window will be in scratchpad for_window [instance="Mail"] move scratchpad bindsym $mod+Shift+m [instance="Mail"] scratchpad show, move position center bindsym $mod+Shift+s [class="Signal"] scratchpad show, move position center bindsym $mod+Shift+t [class="Telegram"] scratchpad show, move position center +bindsym $mod+Shift+n [class="obsidian"] scratchpad show, move position center # automatic workspace assign [class="(?i)Standard Notes"] → number 4