dots

my dotfiles
git clone https://git.awy.one/dots
Log | Files | Refs | Submodules | README | LICENSE

commit 4328c37acd169264c1b8f3eedc252baa0cd4a75c
parent a3619b22c132788f85aec3d474e3513d422d29db
Author: awy <awy@awy.one>
Date:   Sun, 21 Dec 2025 16:01:57 +0300

update

Diffstat:
M.config/i3blocks/config | 98++++++++-----------------------------------------------------------------------
M.config/shell/profile | 1+
M.config/sway/config | 18++++++++++--------
D.config/waybar/config.jsonc | 136-------------------------------------------------------------------------------
D.config/waybar/style.css | 115-------------------------------------------------------------------------------
Mdependencies.txt | 3+--
6 files changed, 22 insertions(+), 349 deletions(-)

diff --git a/.config/i3blocks/config b/.config/i3blocks/config @@ -1,18 +1,8 @@ -#[layout] -#command=sb-kbselect -#interval=once -#signal=30 - [recordingicon] -command=bat /tmp/recordingicon 2> /dev/null +command=cat /tmp/recordingicon interval=once signal=9 -markup=pango - -# [tasks] -# command=sb-tasks -# interval=once -# signal=26 +label= # [music] # command=stmusic @@ -23,104 +13,36 @@ markup=pango command=sb-pacpackages interval=once signal=8 -label=<span color='#b8bb26'>pkgs:</span> +label=📦 markup=pango [news] command=sb-news interval=once signal=6 -label=<span color='#83a598'>rss:</span> +label=📰 markup=pango -# [price-xmr-btc] -# command=sb-price xmr-btc "Monero to Bitcoin" 🔒 25 -# interval=9000 -# signal=25 - -# [price-xmr] -# command=sb-price xmr Monero 🔒 24 -# interval=9000 -# signal=24 - -# [price-eth] -# command=sb-price eth Ethereum 🍸 23 -# interval=9000 -# signal=23 - -# [price-btc] -# command=sb-price btc Bitcoin 💰 21 -# interval=9000 -# signal=21 - [torrent] command=sttorrent interval=20 signal=7 -[memory] -command=stmemory -interval=10 -signal=14 -label=<span color='#83a598'>mem:</span> -markup=pango - -#[cpu] -#command=sb-cpu -#interval=10 -#signal=18 - -[loadavg] -command=stavg -interval=10 -signal=18 -label=<span color='#83a598'>load:</span> -markup=pango - -#[moonphase] -#command=sb-moonphase -#interval=18000 -#signal=17 - -# [doppler] -# command=sb-doppler -# interval=once -# signal=13 -# -# [weather] -# command=sb-forecast -# interval=400 -# signal=5 [mail] command=stmail interval=180 signal=12 -label=<span color='#fabd2f'>mail:</span> +label=📬 markup=pango -# [nettraf] -# command=sb-nettraf -# interval=1 -# signal=16 - -[microphone] -command=sb-microphone -interval=5 -signal=23 -label=<span color='#83a598'>mic:</span> +[memory] +command=stmemory +interval=10 +signal=14 +label= markup=pango -# [volume] -# command=sb-volume -# interval=5 -# signal=10 - -# [battery] -# command=sb-battery -# interval=5 -# signal=3 - [clock] command=stclock interval=1 diff --git a/.config/shell/profile b/.config/shell/profile @@ -15,6 +15,7 @@ export TERMINAL="footclient" export TERMINAL_PROG="footclient" export TERMCMD="footclient" export BROWSER="icecat" +export STATUSBAR="i3blocks" unset SSH_AGENT_PID if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then diff --git a/.config/sway/config b/.config/sway/config @@ -23,6 +23,7 @@ exec swayidle output DP-3 resolution 3840x2160@165Hz position 2560 0 scale 1.5 render_bit_depth 10 hdr off output DP-2 resolution 2560x1440@165Hz position 0 0 scale 1 +font pango:monospace 10 exec swaybg -c 1d2021 # COLORS client.focused #fabd2f #fabd2f #282828 #fabd2f #fabd2f @@ -81,15 +82,15 @@ floating_modifier $mod normal bindsym $mod+Return exec $term bindsym $mod+q kill bindsym $mod+Shift+w exec icecat -bindsym $mod+Shift+e exec sh -c '$term -T neomutt -e neomutt; pkill -RTMIN+12 ".*blocks|waybar"' +bindsym $mod+Shift+e exec sh -c '$term -T neomutt -e neomutt; pkill -RTMIN+12 $STATUSBAR' # bindsym $mod+r exec $term -e yazi # bindsym $mod+e exec 'sh -c "$term -e neomutt; pkill -RTMIN+12 i3blocks"' bindsym $mod+d exec $menu bindsym $mod+Shift+d exec tessen # bindsym $mod+minus exec 'wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-; kill -44 $(pidof i3blocks)' -bindsym $mod+underscore exec 'wpctl set-volume @DEFAULT_AUDIO_SINK@ 15%-; kill -44 $(pidof i3blocks)' -bindsym $mod+equal exec 'wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+; kill -44 $(pidof i3blocks)' -bindsym $mod+plus exec 'wpctl set-volume @DEFAULT_AUDIO_SINK@ 15%+; kill -44 $(pidof i3blocks)' +bindsym $mod+underscore exec 'wpctl set-volume @DEFAULT_AUDIO_SINK@ 15%-; kill -44 $(pidof $STATUSBAR)' +bindsym $mod+equal exec 'wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+; kill -44 $(pidof $STATUSBAR)' +bindsym $mod+plus exec 'wpctl set-volume @DEFAULT_AUDIO_SINK@ 15%+; kill -44 $(pidof $STATUSBAR)' bindsym $mod+backspace exec sysact bindsym $mod+Shift+backspace exec sysact # bindsym $mod+Shift+q exec sysact @@ -99,16 +100,16 @@ bindsym $mod+Shift+Print exec 'dmenurecord kill' bindsym $mod+Tab exec chooseprofile bindsym $mod+grave exec bookmarks bindsym $mod+Shift+grave exec define -bindsym $mod+Shift+n exec sh -c '$term -T newsraft -e newsraft; pkill -RTMIN+6 ".*blocks|waybar"' +bindsym $mod+Shift+n exec sh -c '$term -T newsraft -e newsraft; pkill -RTMIN+6 $STATUSBAR' bindsym $mod+m exec $term -e rmpc -bindsym $mod+Shift+m exec 'wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle; kill -44 $(pidof i3blocks)' +bindsym $mod+Shift+m exec 'wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle; kill -44 $(pidof $STATUSBAR)' bindsym $mod+comma exec mpc prev bindsym $mod+Shift+comma exec mpc seek 0% bindsym $mod+period exec mpc next bindsym $mod+Shift+period exec mpc repeat bindsym $mod+insert exec wtype $(rg -v '^#' ~/.local/share/larbs/snippets | mew -i -l 50 | cut -d' ' -f1) bindsym $mod+f1 exec singboxwrap menu -bindsym $mod+f4 exec '$term -e pulsemixer; kill -44 $(pidof i3blocks)' +bindsym $mod+f4 exec '$term -e pulsemixer; kill -44 $(pidof $STATUSBAR)' bindsym $mod+f6 exec torwrap bindsym $mod+f7 exec td-toggle bindsym $mod+f8 exec mailup @@ -124,7 +125,7 @@ bindsym $mod+bracketleft exec mpc seek -10 bindsym $mod+Shift+bracketleft exec mpc seek -60 bindsym $mod+bracketright exec mpc seek +10 bindsym $mod+Shift+bracketright exec mpc seek +60 -bindsym --whole-window BTN_EXTRA exec 'wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle; kill -57 $(pidof i3blocks)' +bindsym --whole-window BTN_EXTRA exec 'wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle; kill -57 $(pidof $STATUSBAR)' bindsym Print exec 'grim pic-full-$(date '+%y%m%d-%H%M-%S').png' bindsym Shift+Print exec maimpick bindsym $mod+Scroll_Lock exec killall showmethekey-gtk || showmethekey-gtk -A @@ -274,6 +275,7 @@ input "type:keyboard" { bar { swaybar_command waybar position top + status_command i3blocks colors { background #282828 diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc @@ -1,136 +0,0 @@ -// -*- mode: jsonc -*- -{ - "spacing": 10, // Gaps between modules (4px) - "modules-left": [ - "sway/workspaces", - "sway/mode" - // "sway/scratchpad" - ], - "modules-right": [ - // "pulseaudio", - // "network#wifi", - // "network#ethernet", - "custom/recording", - "custom/pacman", - "custom/news", - "custom/mail", - "memory", - "clock", - "tray" - ], - "sway/mode": { - "format": "<span style=\"italic\">{}</span>" - }, - "sway/scratchpad": { - "format": "{icon} {count}", - "show-empty": false, - "format-icons": [ - "", - "" - ], - "tooltip": true, - "tooltip-format": "{app}: {title}" - }, - "custom/recording": { - "cursor": false, - "tooltip": false, - "format": "🔴{}", - "signal": 9, - "exec": "cat /tmp/recordingicon 2> /dev/null" - }, - "custom/news": { - "cursor": false, - "tooltip": false, - "format": "📰{}", - "signal": 6, - "exec": "sb-news", - "on-click": "BLOCK_BUTTON=1 sb-news; pkill -RTMIN+6 waybar", - "on-click-right": "BLOCK_BUTTON=3 sb-news", - "on-click-middle": "BLOCK_BUTTON=2 sb-news", - "on-click-backward": "BLOCK_BUTTON=8 sb-news" - }, - "custom/mail": { - "cursor": false, - "tooltip": false, - "format": "📬{}", - "signal": 12, - "exec": "stmail", - "interval": 180, - "on-click": "BLOCK_BUTTON=1 stmail", - "on-click-middle": "BLOCK_BUTTON=2 stmail" - }, - "cpu": { - "format": " {usage}%", - "tooltip": false - }, - "clock": { - "tooltip": false, - "format": "{:%F %T}", - "interval": 1 - }, - "tray": { - "spacing": 0 - }, - "custom/pacman": { - "tooltip": false, - "cursor": false, - "signal": 8, - "format": "📦{}", - "exec": "sb-pacpackages", - "on-click": "BLOCK_BUTTON=1 sb-pacpackages", - "on-click-right": "BLOCK_BUTTON=3 sb-pacpackages" - }, - "memory": { - "interval": 5, - "format": "{used:0.2f}GiB" - }, - "network#wifi": { - "interface": "wlan*", - "tooltip": false, - "format-wifi": "W: ({signalStrength}%) {ipaddr}", - "format-linked": "{ifname} (No IP)", - "format-disconnected": "W: down" - }, - "network#ethernet": { - "interface": "eth*", - "tooltip": false, - "format-ethernet": "E: {ipaddr}", - "format-linked": "{ifname} (No IP)", - "format-disconnected": "E: down" - }, - "pulseaudio": { - // "format": "{icon} {volume}% {format_source}", - "format": "{format_source}", - "format-bluetooth": "{volume}% {icon} {format_source}", - "format-bluetooth-muted": " {icon} {format_source}", - "format-muted": " {format_source}", - "format-source": "mic: {volume}%", - "format-source-muted": "", - "format-icons": { - "headphone": "", - "hands-free": "", - "headset": "", - "phone": "", - "portable": "", - "car": "", - "default": [ - "", - "", - "" - ] - }, - "on-click": "pavucontrol" - }, - "custom/power": { - "format": "⏻ ", - "tooltip": false, - "menu": "on-click", - "menu-file": "$HOME/.config/waybar/power_menu.xml", // Menu file in resources folder - "menu-actions": { - "shutdown": "shutdown", - "reboot": "reboot", - "suspend": "systemctl suspend", - "hibernate": "systemctl hibernate" - } - } -} diff --git a/.config/waybar/style.css b/.config/waybar/style.css @@ -1,115 +0,0 @@ -* { - font-family: monospace; - font-size: 14px; -} - -window#waybar { - background-color: #282828; - color: #ebdbb2; -} - -button { - border: none; - border-radius: 0; -} - -#workspaces button { - all: initial; - color: #ebdbb2; - padding: 1 4px; - min-width: 0; -} - -#workspaces button.focused { - color: #282828; - background-color: #fabd2f; -} - -#workspaces button.urgent { - background-color: #fb4934; - color: #282828; -} - -#mode { - color: #282828; - background-color: #fb4934; -} - -#window, -#workspaces { - margin: 0 0px; -} - -/* If workspaces is the leftmost module, omit left margin */ -.modules-left>widget:first-child>#workspaces { - margin-left: 0; -} - -/* If workspaces is the rightmost module, omit right margin */ -.modules-right>widget:last-child>#workspaces { - margin-right: 0; -} - -label:focus { - background-color: #000000; -} - -#network { - color: #b8bb26; -} - -#network.disconnected { - color: #fb4934; -} - -/* #pulseaudio { - background-color: #f1c40f; - color: #000000; -} - -#pulseaudio.muted { - background-color: #90b1b1; - color: #2a5c45; -} */ - -#wireplumber { - background-color: #fff0f5; - color: #000000; -} - -#wireplumber.muted { - background-color: #f53c3c; -} - -menu, -menuitem { - all: initial; - color: #ebdbb2; - padding: 0px; -} - -menuitem:hover { - color: #282828; - background-color: #fabd2f; -} - -#tray { - all: initial; -} - -#tray>.passive { - -gtk-icon-effect: dim; -} - -#tray>.needs-attention { - -gtk-icon-effect: highlight; - background-color: #eb4d4b; -} - -#scratchpad { - background: rgba(0, 0, 0, 0.2); -} - -#scratchpad.empty { - background-color: transparent; -} diff --git a/dependencies.txt b/dependencies.txt @@ -11,8 +11,7 @@ fnott foot xdg-desktop-portal-wlr xdg-desktop-portal-termfilechooser -#i3blocks -waybar +i3blocks mew # PROGRAMS #