diff --git a/README.md b/README.md index a5f5beb..8813c17 100644 --- a/README.md +++ b/README.md @@ -33,8 +33,10 @@ For a good overview about possible variables, please have a look into ``defaults ```yaml # User List for i3wm config i3wm_user_list: - - 'alice' - - 'bob' + - user: "alice" + home: "/home/alice" + - user: "bob" + home: "/home/bob" # background image i3_desktop_background: "~/Bilder/wallpaper.jpg" @@ -80,6 +82,21 @@ For a good overview about possible variables, please have a look into ``defaults workspace: 7 on_startup: true - # lock your screen after 3 hours + # lock your screen after 90 min enable_lock_after_time: true + + files/rofi/dracula_dark.rasi + + # enable multiple i3blocks options + i3_i3blocks_options: + weather: true + audio_volume: true + wifisignal: true + ipaddress: true + clock: true + battery: true + ddate: true + + # choose rofi theme + i3_rofi_config_file: 'files/rofi/dracula_dark.rasi' ``` diff --git a/defaults/main.yml b/defaults/main.yml index d52dfb2..12aa8c0 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -34,7 +34,7 @@ i3wm_user_list: home: "{{ ansible_env.HOME | default('/home/{{ ansible_user_id }}') }}" ## set default font size -i3_font_size: 10 +i3_font_size: 11 i3_focus_follows_mouse: true # set i3lock options @@ -60,6 +60,7 @@ i3_terminal: "terminator" # install additional packages i3_packages_extra: - ranger + - fonts-fork-awesome i3wm_copy_wallpapers: true diff --git a/tasks/config.yml b/tasks/config.yml index 47a3c3c..2961b57 100644 --- a/tasks/config.yml +++ b/tasks/config.yml @@ -18,6 +18,7 @@ group: "{{ i3wm_usr.user }}" - name: Copy multiple images + become: true ansible.builtin.copy: src: "{{ item.src }}" dest: "{{ item.dest }}" diff --git a/templates/config.j2 b/templates/config.j2 index 6040bd8..deb0955 100644 --- a/templates/config.j2 +++ b/templates/config.j2 @@ -10,6 +10,13 @@ focus_follows_mouse {% if i3_focus_follows_mouse | bool %}yes{% else %}no{% endi # Use Mouse+$mod to drag floating windows to their wanted position floating_modifier $mod +# startup apps and window decs +default_orientation horizontal +workspace_layout tabbed + +# Hide borders +hide_edge_borders smart + # start a terminal bindsym $mod+Return exec $term bindsym $mod+Shift+Return exec $term -e tmux