diff --git a/i3blocks.conf b/i3blocks.conf index 8d041cb..f32c5fb 100644 --- a/i3blocks.conf +++ b/i3blocks.conf @@ -7,11 +7,26 @@ # Global properties -separator=true -separator_block_width=25 +separator=false +separator_block_width=40 + +[date] +command=date '+%a, %b %d - %H:%M:%S ' +interval=1 +# color=#c0caf5 +color=#c0caf5 + +[padding] +command=echo ' ' +interval=once + +[weather] +command=curl -Ss 'https://wttr.in?0&T&Q' | cut -c 16- | head -2 | xargs echo +interval=1800 +color=#c0caf5 [brightness] -command=echo "dim: $(brightnessctl get | awk '{print $0 / 24000 * 100}')" +command=echo " $(brightnessctl get | awk '{print $0 / 24000 * 100}')" signal=11 interval=once color=#c0caf5 @@ -29,13 +44,3 @@ color=#c0caf5 # interval=30 # color=#c0caf5 -[weather] -command=curl -Ss 'https://wttr.in?0&T&Q' | cut -c 16- | head -2 | xargs echo -interval=1800 -color=#c0caf5 - -[date] -command=date '+%a, %b %d - %H:%M:%S ' -interval=1 -# color=#c0caf5 -color=#c0caf5 diff --git a/i3blocks_volume b/i3blocks_volume new file mode 100755 index 0000000..787e621 --- /dev/null +++ b/i3blocks_volume @@ -0,0 +1,7 @@ +#!/bin/bash + +if [ "$(pactl get-sink-mute @DEFAULT_SINK@)" = "Mute: yes" ]; then + echo " mute" +else + echo " $(pactl get-sink-volume @DEFAULT_SINK@ | awk '{printf "%s", substr($5, 1, length($5) - 1)}')" +fi diff --git a/i3config b/i3config index e3fe28f..cbbf5c7 100644 --- a/i3config +++ b/i3config @@ -177,6 +177,10 @@ bar { strip_workspace_numbers yes tray_output none + separator_symbol "-" + + padding 5px 15px + colors { background $bg-color separator $text-color diff --git a/picom.conf b/picom.conf index d90b295..db60b5f 100644 --- a/picom.conf +++ b/picom.conf @@ -1,19 +1,19 @@ backend = "xrender" # Disable background blur; search picom.conf for Background-Blurring for details -blur-background = false; +blur-background = true; # Disable background blur; search picom.conf for Shadows for details -shadow = false +shadow = true; # Disable window fading; search picom.conf for Fading for details -fading = false +fading = false; # Disable rounded window corners; search picom.conf for Corners for details -corner-radius = 0 +corner-radius = 15; # Defaults -inactive-opacity = 1; +inactive-opacity = 0.75; active-opacity = 1; opacity-rule = [