mirror of
https://github.com/roles-ansible/ansible_role_i3wm.git
synced 2024-08-16 10:09:53 +02:00
deal with dmenu becaus fedora is stupid
This commit is contained in:
parent
930e0807be
commit
80c50afd54
3 changed files with 14 additions and 3 deletions
|
@ -20,3 +20,8 @@ i3_applications: []
|
||||||
# name: "firefox"
|
# name: "firefox"
|
||||||
# workspace: 1 # bind application to a specific workspace
|
# workspace: 1 # bind application to a specific workspace
|
||||||
# on_startup: false
|
# on_startup: false
|
||||||
|
|
||||||
|
|
||||||
|
i3:
|
||||||
|
font_size: 9
|
||||||
|
focus_follows_mouse: true
|
||||||
|
|
|
@ -4,8 +4,8 @@ set $term terminator
|
||||||
|
|
||||||
# Font for window titles. Will also be used by the bar unless a different font
|
# Font for window titles. Will also be used by the bar unless a different font
|
||||||
# is used in the bar {} block below.
|
# is used in the bar {} block below.
|
||||||
font pango:monospace 8
|
font pango:monospace {{ i3.font_size }}
|
||||||
focus_follows_mouse no
|
focus_follows_mouse {% if i3.focus_follows_mouse %}yes{% else %}no{% endif %}
|
||||||
|
|
||||||
# Use Mouse+$mod to drag floating windows to their wanted position
|
# Use Mouse+$mod to drag floating windows to their wanted position
|
||||||
floating_modifier $mod
|
floating_modifier $mod
|
||||||
|
@ -17,10 +17,14 @@ bindsym $mod+Shift+Return exec $term -e tmux
|
||||||
# kill focused window
|
# kill focused window
|
||||||
bindsym $mod+Shift+q kill
|
bindsym $mod+Shift+q kill
|
||||||
|
|
||||||
|
{% if ansible_os_family == 'Redhat' %}
|
||||||
|
# bindsym $mod+d exec dmenu_run (a program launcher)
|
||||||
|
bindsym $mod+d exec dmenu_run
|
||||||
|
{% else %}bindsym $mod+d exec rofi -show run
|
||||||
# bindsym $mod+d exec rofi (a program launcher)
|
# bindsym $mod+d exec rofi (a program launcher)
|
||||||
bindsym $mod+d exec rofi -show run
|
|
||||||
bindsym $mod+Shift+d exec rofi -show window
|
bindsym $mod+Shift+d exec rofi -show window
|
||||||
bindsym $mod+Shift+s exec rofi -show ssh
|
bindsym $mod+Shift+s exec rofi -show ssh
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
# change focus
|
# change focus
|
||||||
bindsym $mod+j focus left
|
bindsym $mod+j focus left
|
||||||
|
|
|
@ -6,3 +6,5 @@ __i3_packages:
|
||||||
- tmux
|
- tmux
|
||||||
- terminator
|
- terminator
|
||||||
- i3lock
|
- i3lock
|
||||||
|
- dmenu
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue