From aec591f33e3f93c475c58b914ba4b846eec534a7 Mon Sep 17 00:00:00 2001 From: benjilegeek Date: Sun, 10 May 2026 00:36:48 +0200 Subject: [PATCH] further fix playbooks --- playbooks/rices/40k.yml | 15 +++++++++++++++ playbooks/rices/files/40k-i3 | 26 ++++++++++++++------------ playbooks/rices/files/gruvbox-i3 | 2 +- playbooks/rices/gruvbox.yml | 15 +++++++++++++++ 4 files changed, 45 insertions(+), 13 deletions(-) diff --git a/playbooks/rices/40k.yml b/playbooks/rices/40k.yml index ba961bc..a5e246b 100644 --- a/playbooks/rices/40k.yml +++ b/playbooks/rices/40k.yml @@ -22,6 +22,11 @@ group: vashqlf mode: '0644' + - name: Reload i3 config + ansible.builtin.shell: i3-msg reload + args: + executable: /bin/zsh + - name: Set gruvbox theme in nvim ansible.builtin.lineinfile: path: /home/vashqlf/.config/nvim/lua/chadrc.lua @@ -34,3 +39,13 @@ nvim --server $addr --remote-send ':lua require("nvchad.utils").reload() ' done ignore_errors: true + + - name: Reload NvChad config in case not running + ansible.builtin.shell: nvim --headless "+lua require('nvchad.utils').reload()" +qa + args: + executable: /bin/zsh + + - name: Fix rofi config + ansible.builtin.shell: /home/vashqlf/Code/Shell/rasi-wal-fix.sh + args: + executable: /bin/zsh diff --git a/playbooks/rices/files/40k-i3 b/playbooks/rices/files/40k-i3 index 407436d..aea2593 100644 --- a/playbooks/rices/files/40k-i3 +++ b/playbooks/rices/files/40k-i3 @@ -112,16 +112,17 @@ bindsym $mod+a focus parent # Define names for default workspaces for which we configure key bindings later on. # We use variables to avoid repeating the names in multiple places. -set $ws1 "1 " -set $ws2 "2 " -set $ws3 "3  " -set $ws4 "4 " -set $ws5 "5 " -set $ws6 "6 " -set $ws7 "7 " -set $ws8 "8 " -set $ws9 "9 " -set $ws10 "10 " +# 󱂉 +set $ws1 "1|I" +set $ws2 "2|II" +set $ws3 "3|III" +set $ws4 "4|IV" +set $ws5 "5|V" +set $ws6 "6|VI" +set $ws7 "7|VII" +set $ws8 "8|VIII" +set $ws9 "9|IX" +set $ws10 "10|X" #assigning workspaces to monitors workspace $ws1 output $leftmonitor @@ -230,12 +231,13 @@ bar { status_command i3blocks -c ~/.config/i3/i3blocks.conf tray_output HDMI-0 - position top - font pango:DejaVu Sans Mono, Font Awesome 7 Free Regular 11 + position bottom + font pango: JetBrainsMono NF 14 separator_symbol " " colors{ background $nc separator $bg + statusline $fg # border bg text focused_workspace $nc $fc $nc inactive_workspace $nc $nc $fc diff --git a/playbooks/rices/files/gruvbox-i3 b/playbooks/rices/files/gruvbox-i3 index 380e03f..c3cbd20 100644 --- a/playbooks/rices/files/gruvbox-i3 +++ b/playbooks/rices/files/gruvbox-i3 @@ -231,7 +231,7 @@ bar { tray_output HDMI-0 position top - font pango:DejaVu Sans Mono, Font Awesome 7 Free Regular 11 + font pango:JetBrainsMono NF 11 separator_symbol " " colors{ background $nc diff --git a/playbooks/rices/gruvbox.yml b/playbooks/rices/gruvbox.yml index 365b6d0..b4ed452 100644 --- a/playbooks/rices/gruvbox.yml +++ b/playbooks/rices/gruvbox.yml @@ -22,6 +22,11 @@ group: vashqlf mode: '0644' + - name: Reload i3 config + ansible.builtin.shell: i3-msg reload + args: + executable: /bin/zsh + - name: Set gruvbox theme in nvim ansible.builtin.lineinfile: path: /home/vashqlf/.config/nvim/lua/chadrc.lua @@ -34,3 +39,13 @@ nvim --server $addr --remote-send ':lua require("nvchad.utils").reload() ' done ignore_errors: true + + - name: Reload NvChad config in case not running + ansible.builtin.shell: nvim --headless "+lua require('nvchad.utils').reload()" +qa + args: + executable: /bin/zsh + + - name: Fix rofi config + ansible.builtin.shell: /home/vashqlf/Code/Shell/rasi-wal-fix.sh + args: + executable: /bin/zsh