dots

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit a74dfae882384a1ca3a64776dbad054aefd5caae
parent 011d660e21d59f47d3f6b76bc97f13a825484eb6
Author: Gabriel G. de Brito <me@gboncoffee.dev.br>
Date:   Tue, 22 Jul 2025 23:44:53 -0300

jokes haha

Diffstat:
MREADME.md | 1+
Dsway/audio.sh | 23-----------------------
Msway/config | 14+++++++-------
Dsway/i3blocks.conf | 21---------------------
Asway/i3status.conf | 47+++++++++++++++++++++++++++++++++++++++++++++++
5 files changed, 55 insertions(+), 51 deletions(-)

diff --git a/README.md b/README.md @@ -27,6 +27,7 @@ computer): - gvfs-gphoto2 - htop - imv +- i3status - libguestfs - libimobiledevice - libnotify diff --git a/sway/audio.sh b/sway/audio.sh @@ -1,23 +0,0 @@ -#!/usr/bin/env bash - -if [ "$button" = "1" ]; then - wpctl set-mute @DEFAULT_SINK@ toggle > /dev/null - wpctl get-volume @DEFAULT_SINK@ -elif [ "$button" = "4" ]; then - wpctl set-volume @DEFAULT_SINK@ 1%+ > /dev/null - wpctl get-volume @DEFAULT_SINK@ -elif [ "$button" = "5" ]; then - wpctl set-volume @DEFAULT_SINK@ 1%- > /dev/null - wpctl get-volume @DEFAULT_SINK@ -elif [ "$1" = "query" ]; then - wpctl get-volume @DEFAULT_SINK@ -elif [ "$1" = "increase" ]; then - wpctl set-volume @DEFAULT_SINK@ 1%+ - pkill -SIGRTMIN+1 i3blocks -elif [ "$1" = "decrease" ]; then - wpctl set-volume @DEFAULT_SINK@ 1%- - pkill -SIGRTMIN+1 i3blocks -elif [ "$1" = "mute" ]; then - wpctl set-mute @DEFAULT_SINK@ toggle - pkill -SIGRTMIN+1 i3blocks -fi diff --git a/sway/config b/sway/config @@ -123,9 +123,9 @@ mode "resize" { } bindsym $mod+r mode "resize" -bindsym --locked XF86AudioMute exec ~/.config/sway/audio.sh mute -bindsym --locked XF86AudioLowerVolume exec ~/.config/sway/audio.sh decrease -bindsym --locked XF86AudioRaiseVolume exec ~/.config/sway/audio.sh increase +bindsym --locked XF86AudioMute exec wpctl set-mute \@DEFAULT_SINK\@ toggle +bindsym --locked XF86AudioLowerVolume exec wpctl set-volume \@DEFAULT_SINK\@ 1%- +bindsym --locked XF86AudioRaiseVolume exec wpctl set-volume \@DEFAULT_SINK\@ 1%+ bindsym Print exec grim - | tee ~/desktop/$(date -Iseconds).png | wl-copy && notify-send "Screenshot taken" bindsym Shift+Print exec slurp | grim -g - - | tee ~/desktop/$(date -Iseconds).png | wl-copy && notify-send "Screenshot taken" @@ -134,21 +134,21 @@ font pango:sans 12 client.focused #93a1a1 #fdf6e3 #002b36 client.focused_inactive #839496 #93a1a1 #002b36 -client.unfocused #073642 #586e75 #eee8d5 +client.unfocused #586e75 #002b36 #eee8d5 client.urgent #93a1a1 #dc322f #002b36 bar { position bottom pango_markup enabled - status_command i3blocks -c ~/.config/sway/i3blocks.conf + status_command i3status -c ~/.config/sway/i3status.conf colors { statusline #002b36 - background #93a1a1 + background #fdf6e3 focused_workspace #93a1a1 #fdf6e3 #002b36 active_workspace #839496 #93a1a1 #002b36 - inactive_workspace #073642 #586e75 #eee8d5 + inactive_workspace #586e75 #002b36 #eee8d5 urgent_workspace #dc322f #93a1a1 #002b36 binding_mode #b58900 #eee8d5 #000000 } diff --git a/sway/i3blocks.conf b/sway/i3blocks.conf @@ -1,21 +0,0 @@ -separator=true -separator_block_width=15 - -[volume] -command=./audio.sh query -signal=1 -interval=10 - -[time] -command=date '+%Y-%m-%d %H:%M' -interval=10 - -[menu] -full_text="menu" -command=fuzzel & disown; echo $full_text -color=#e6c547 - -[close] -full_text="kill window" -command=swaymsg kill >/dev/null; echo "$full_text" -color=#d54e53 diff --git a/sway/i3status.conf b/sway/i3status.conf @@ -0,0 +1,47 @@ +# i3status configuration file. +# see "man i3status" for documentation. + +# It is important that this file is edited as UTF-8. +# The following line should contain a sharp s: +# ß +# If the above line is not correctly displayed, fix your editor first! + +general { + colors = true + interval = 5 + + color_good = "#859900" + color_degraded = "#b58900" + color_bad = "#dc322f" +} + +order += "ethernet _first_" +order += "disk /" +order += "cpu_temperature 0" +order += "volume master" +order += "tztime local" + +ethernet _first_ { + format_up = "useless doxx: %ip" + format_down = "E: down" +} + +disk "/" { + format = "hentai folder: %used" +} + +cpu_temperature 0 { + format = "waifu: %degrees°C hot" + format_above_threshold = "waifu: %degrees°C TOO hot" + path = "/sys/class/hwmon/hwmon1/temp1_input" + max_threshold = 40 +} + +volume master { + format = "moans: %volume" + format_muted = "moans: muted" +} + +tztime local { + format = "%Y-%m-%d %H:%M (%z from Bastardistan)" +}