Provide for a floating window in i3

- Make any window opened with class `__user_requests_float` float
- Configure qutebrowser to use a script that starts kitty->vim this way
This commit is contained in:
Trysdyn Black 2021-04-10 17:03:13 -07:00
parent c400b9dff3
commit b67755e615
2 changed files with 3 additions and 4 deletions
.config
i3
qutebrowser

View file

@ -191,6 +191,5 @@ hide_edge_borders both
# allow workspace swap keys to toggle back and forth with prior workspace
workspace_auto_back_and_forth yes
# Startup stuff
exec --no-startup-id "xsetroot -solid black"
exec --no-startup-id nextcloud
# Make windows created with a special floating class float
for_window [instance="__user_requests_float"] floating enable

View file

@ -321,7 +321,7 @@ c.tabs.background = True
c.url.default_page = 'https://start.duckduckgo.com'
# Use vim for editing with ^E
c.editor.command = ['x-terminal-emulator', 'vim', '{file}']
c.editor.command = ['/home/trysdyn/bin/kitty-float', 'vim', '{file}']
# Custom bindings
config.bind(',m', 'spawn mpv {url}')