1
0
Fork 0
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:
L3D 2018-11-15 16:46:33 +01:00
parent 930e0807be
commit 80c50afd54
3 changed files with 14 additions and 3 deletions

View file

@ -20,3 +20,8 @@ i3_applications: []
# name: "firefox"
# workspace: 1 # bind application to a specific workspace
# on_startup: false
i3:
font_size: 9
focus_follows_mouse: true

View file

@ -4,8 +4,8 @@ set $term terminator
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
font pango:monospace 8
focus_follows_mouse no
font pango:monospace {{ i3.font_size }}
focus_follows_mouse {% if i3.focus_follows_mouse %}yes{% else %}no{% endif %}
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
@ -17,10 +17,14 @@ bindsym $mod+Shift+Return exec $term -e tmux
# kill focused window
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 -show run
bindsym $mod+Shift+d exec rofi -show window
bindsym $mod+Shift+s exec rofi -show ssh
{% endif %}
# change focus
bindsym $mod+j focus left

View file

@ -6,3 +6,5 @@ __i3_packages:
- tmux
- terminator
- i3lock
- dmenu