Back (Current repo: dotfiles)

my dotfiles to make it easy to transfer my settings
To clone this repository:
git clone https://git.viktor1993.net/dotfiles.git
Log | Download | Files | Refs

commit 6ced9e8ee8c36b0152834bfa91a58708333a7751
parent 41d2789af42634a11bd542716f4d9caaa1b22adf
Author: root <root>
Date:   Wed,  3 Jun 2026 19:23:06 +0200

replace some i3 commands

Diffstat:
Metc/i3/config | 6+++---
Metc/i3blocks.conf | 4++++
Ausr/share/i3blocks/vm | 3+++
3 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/etc/i3/config b/etc/i3/config @@ -66,8 +66,8 @@ bindsym $mod+e exec xdotool type $(cat $HOME/.local/share/bookmarks/bookmarks bindsym $mod+Shift+e exec --no-startup-id $HOME/.local/bin/addbookmark # work and test vms -bindsym $mod+r exec --no-startup-id VBoxManage startvm debian-work; workspace $ws9 -bindsym $mod+Shift+r exec --no-startup-id VBoxManage startvm debian-test; workspace $ws10 +bindsym $mod+r exec --no-startup-id virsh start vm1 && notify-send "VM starting up"; workspace $ws9 +bindsym $mod+Shift+r exec --no-startup-id virt-viewer --connect qemu:///system --wait vm1; workspace $ws10 bindsym $mod+t split toggle bindsym $mod+Shift+t gaps inner current set $ig; gaps outer current set $og @@ -131,7 +131,7 @@ bindsym $mod+c exec $term -e calcurse #vim and virtualbox bindsym $mod+v exec --no-startup-id $term -e $EDITOR -bindsym $mod+Shift+v exec --no-startup-id /usr/bin/virtualbox; workspace $ws9 +bindsym $mod+Shift+v exec --no-startup-id notify-send "$(virsh list --all)" bindsym $mod+b bar mode toggle bindsym $mod+Shift+b floating toggle; sticky toggle; exec --no-startup-id hover left diff --git a/etc/i3blocks.conf b/etc/i3blocks.conf @@ -61,6 +61,10 @@ label=⏳ interval=1 signal=1 +[vm] +command=/usr/share/i3blocks/vm +interval=1 + [cpu_usage] label=CPU label=💻 diff --git a/usr/share/i3blocks/vm b/usr/share/i3blocks/vm @@ -0,0 +1,3 @@ +#!/bin/bash + +virsh list --all | awk '!/^$/' | awk 'BEGIN{ORS=" "}(NR>2){if($3 ~ /running|paused|blocked|crashed|dying/){print "["$2"/"$3"]"}}'