dotfiles

:)
git clone https://git.sr.ht/~ashymad/dotfiles
Log | Files | Refs | Submodules | LICENSE

commit f61c418a8b9bfaa7a423423c534dd88c93c61717
parent 3642799f3c49f8a9d2a8dc0c1625ec3587531012
Author: Ashymad <szymon.mikulicz@posteo.net>
Date:   Wed, 25 Mar 2026 21:12:13 +0100

Add i3status-rust instead of waybar

Diffstat:
Mfeh/.fehbg | 2+-
Ai3status-rust/.config/i3status-rust/config.toml | 45+++++++++++++++++++++++++++++++++++++++++++++
Msway/.config/sway/BG | 4++--
Msway/.config/sway/config | 7+------
4 files changed, 49 insertions(+), 9 deletions(-)

diff --git a/feh/.fehbg b/feh/.fehbg @@ -1,6 +1,6 @@ #!/usr/bin/env bash if [[ $1 == "r" ]]; then - WP="$(find /usr/share/backgrounds/ -type f -name '*.jpg' -o -name '*.png' | perl -MList::Util -e 'print List::Util::shuffle <>' | head -1)" + WP="$(find ~/Pictures/Wallpapers/ -type f -name '*.jpg' -o -name '*.png' | perl -MList::Util -e 'print List::Util::shuffle <>' | head -1)" echo "$WP" ln -fs "$WP" ~/.config/sway/BG fi diff --git a/i3status-rust/.config/i3status-rust/config.toml b/i3status-rust/.config/i3status-rust/config.toml @@ -0,0 +1,45 @@ +icons_format = "{icon}" + +[theme] +theme = "space-villain" +[theme.overrides] +idle_bg = "#123456" +idle_fg = "#abcdef" + +[icons] +icons = "awesome4" +[icons.overrides] +bat = ["|E|", "|_|", "|=|", "|F|"] +bat_charging = "|^| " + +[[block]] +block = "cpu" +info_cpu = 20 +warning_cpu = 50 +critical_cpu = 90 + +[[block]] +block = "disk_space" +path = "/" +info_type = "available" +alert_unit = "GB" +interval = 20 +warning = 20.0 +alert = 10.0 +format = " $icon root: $available.eng(w:2) " + +[[block]] +block = "memory" +format = " $icon $mem_total_used_percents.eng(w:2) " +format_alt = " $icon_swap $swap_used_percents.eng(w:2) " + +[[block]] +block = "sound" +[[block.click]] +button = "left" +cmd = "pavucontrol" + +[[block]] +block = "time" +interval = 5 +format = " $timestamp.datetime(f:'%a %d/%m %R') " diff --git a/sway/.config/sway/BG b/sway/.config/sway/BG @@ -1 +1 @@ -/home/shyman/Pictures/Wallpapers/Wallpapers/65.png -\ No newline at end of file +/home/shyman/Pictures/Wallpapers/Wallpapers/46.jpg +\ No newline at end of file diff --git a/sway/.config/sway/config b/sway/.config/sway/config @@ -119,16 +119,12 @@ bindsym XF86AudioStop exec --no-startup-id playerctl stop bindsym XF86AudioNext exec --no-startup-id playerctl next bindsym XF86AudioPrev exec --no-startup-id playerctl prev -bindsym $mod+c exec ymuse - # Screen brightness controls bindsym XF86MonBrightnessDown exec brightnessctl s 10%- bindsym XF86MonBrightnessUp exec brightnessctl s +10% bindsym Ctrl+XF86MonBrightnessDown exec brightnessctl s 1%- bindsym Ctrl+XF86MonBrightnessUp exec brightnessctl s +1% -bindsym $mod+c exec foot --app-id CMUS -- fish -c cmus - # Screen brightness controls bindsym Ctrl+F8 exec brightnessctl s 10%- bindsym Ctrl+F9 exec brightnessctl s 10%+ @@ -177,7 +173,7 @@ exec wlsunset -l 50 -L 20 bar { font pango:DejaVu Sans Mono, FontAwesome 7 position top - status_command $HOME/.instow/bin/i3status-rs $HOME/.config/i3status-rust/config.toml + status_command fish -c i3status-rs colors { separator #666666 background #22222288 @@ -198,7 +194,6 @@ exec swayidle \ exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway -exec_always "pkill waybar; waybar" exec nm-applet for_window [app_id="firefox"] inhibit_idle fullscreen