From faf054256342b7638ef99f7862adfd459ecb498b Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Tue, 3 Dec 2019 23:19:47 +0100 Subject: [PATCH] Make spotify behave, Enable qutebrowser tab reposition --- .config/i3/config | 5 ++++- .config/qutebrowser/config.py | 6 +++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.config/i3/config b/.config/i3/config index b3e09de..321b271 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -208,7 +208,10 @@ exec_always --no-startup-id polybar-launch simple-top # default workspaces for most used apps # assign [class="^qutebrowser$"] → number 1 # spotify needs for_window, see https://i3wm.org/docs/userguide.html#assign_workspace -for_window [class="^spotify$"] number 10 +assign [class="^spotify$"] → 10 +assign [class="^Spotify$"] → 10 +#fix for spotify not moving to workspace 10 +for_window [class="^spotify$"] move to workspace 10 # autostart often used apps # needs to be done like this to both automatically start the apps on correct workspace diff --git a/.config/qutebrowser/config.py b/.config/qutebrowser/config.py index baec09f..6d461f9 100644 --- a/.config/qutebrowser/config.py +++ b/.config/qutebrowser/config.py @@ -88,7 +88,11 @@ c.session.lazy_restore = True leader = "" # toggles ('cycles') between tabs always showing, or only when switching between them -config.bind('tt', 'config-cycle -t tabs.show always switching') +config.bind(leader + 'tt', 'config-cycle -t tabs.show always switching') +config.bind(leader + 'th', 'set tabs.position bottom') +config.bind(leader + 'tH', 'set tabs.position top') +config.bind(leader + 'tv', 'set tabs.position right') +config.bind(leader + 'tV', 'set tabs.position left') # [M]edia shortcuts - watch, queue, download media