configs  Check-in [efacb3d49a]

Overview
Comment:sway: Change bar transparency
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: efacb3d49aa4a489263a34202d768e62a03a7c7c3947fa61ae0b38f630d5d25f
User & Date: js 2022-12-10 19:06:25
Context
2022-12-22
00:35
vimrc: Restore compatibility with Vim 7 check-in: ee8d8f37b0 user: js tags: trunk
2022-12-10
19:06
sway: Change bar transparency check-in: efacb3d49a user: js tags: trunk
15:15
zshrc: Set --build for DJGPP check-in: 63683cab83 user: js tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to sway/config.

226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
    position bottom

    # When the status_command prints a new line to stdout, swaybar updates.
    # The default just shows the current date and time.
    status_command while echo "$(</sys/class/power_supply/BAT0/capacity)% $(awk '{ printf $1*10^-6 \"W\" }' /sys/class/power_supply/BAT0/power_now) $(date +'%Y-%m-%d %k:%M')"; do sleep 1; done

    colors {
        statusline #ffffff
        background #323232
        inactive_workspace #32323200 #32323200 #5c5c5c
    }
}

exec wlsunset -t 4700 -S 10:00 -s 21:00

include /etc/sway/config.d/*







<
|
<






226
227
228
229
230
231
232

233

234
235
236
237
238
239
    position bottom

    # When the status_command prints a new line to stdout, swaybar updates.
    # The default just shows the current date and time.
    status_command while echo "$(</sys/class/power_supply/BAT0/capacity)% $(awk '{ printf $1*10^-6 \"W\" }' /sys/class/power_supply/BAT0/power_now) $(date +'%Y-%m-%d %k:%M')"; do sleep 1; done

    colors {

        background #000000a0

    }
}

exec wlsunset -t 4700 -S 10:00 -s 21:00

include /etc/sway/config.d/*