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

View file

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

View file

@ -321,7 +321,7 @@ c.tabs.background = True
c.url.default_page = 'https://start.duckduckgo.com' c.url.default_page = 'https://start.duckduckgo.com'
# Use vim for editing with ^E # 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 # Custom bindings
config.bind(',m', 'spawn mpv {url}') config.bind(',m', 'spawn mpv {url}')