Make super+shift+w bind to firefox if librewolf isn't installed
This commit is contained in:
parent
4b34c6a45e
commit
defe8c6b2d
2 changed files with 8 additions and 1 deletions
|
@ -48,6 +48,10 @@
|
|||
- {repo: 'https://github.com/addy-dclxvi/i3-starterpack.git', dest: '~/.git_clones/i3-starterpack'}
|
||||
- {repo: 'https://github.com/vivien/i3blocks-contrib.git', dest: '~/.git_clones/i3blocks-contrib'}
|
||||
|
||||
- name: Gather installed packages # used for i3 config template
|
||||
package_facts:
|
||||
manager: auto
|
||||
|
||||
- name: Copy i3 config
|
||||
template:
|
||||
src: i3config.j2
|
||||
|
|
|
@ -29,8 +29,11 @@ bindsym $super+BackSpace scratchpad show
|
|||
bindsym $super+Return exec i3-sensible-terminal
|
||||
bindsym Print exec scrot 'Cheese_%Y%m%d_%H:%M.png' -e 'viewnior ~/$f'
|
||||
bindsym $alt+l exec i3lock -i ~/.lock
|
||||
bindsym $super+Shift+f exec firefox
|
||||
{% if 'librewolf' in ansible_facts.packages or 'librewolf-bin' in ansible_facts.packages %}
|
||||
bindsym $super+Shift+w exec librewolf
|
||||
{% else %}
|
||||
bindsym $super+Shift+w exec firefox
|
||||
{% endif %}
|
||||
bindsym $super+Shift+p exec passmenu
|
||||
bindsym $super+Shift+u exec passmenu-user
|
||||
bindsym $super+Shift+y exec passmenu-url
|
||||
|
|
Loading…
Add table
Reference in a new issue