Update to current dots

This commit is contained in:
Trianta 2024-01-24 19:28:47 -06:00
parent 7f0928ddf9
commit c9556bebe0
4 changed files with 63 additions and 8 deletions

View File

@ -2,23 +2,23 @@
# See https://wiki.hyprland.org/Configuring/Monitors/ # See https://wiki.hyprland.org/Configuring/Monitors/
# Day # Day
monitor=DP-2, highres, 0x1080, 1, vrr, 1 #monitor=DP-2, highres, 0x1080, 1, vrr, 1
monitor=DP-3, highres, 760x0, 1, vrr, 1 #monitor=DP-3, highres, 760x0, 1, vrr, 1
workspace = DP-3, 5 #workspace = DP-3, 5
# Night # Night
#monitor=DP-2, highrr, 0x0, 1, bitdepth, 10, vrr, 1 monitor=DP-2, highrr, 0x0, 1, bitdepth, 10, vrr, 1
#monitor=DP-3, disable monitor=DP-3, disable
# Main workspace # Main workspace
workspace = DP-2, 1 workspace = DP-2, 1
# Color: Catppuccin Mocha # Color: Catppuccin Mocha
source=~/.config/hypr/mocha.conf source = ~/.config/hypr/mocha.conf
# Launch applications # Launch applications
exec-once = hyprpaper exec-once = hyprpaper
exec-once = waybar -c ~/.config/waybar/config.json exec-once = ~/.config/waybar/autobar.sh
exec-once = syncthing --no-browser exec-once = syncthing --no-browser
exec-once = hyprctl setcursor Catppuccin-Mocha-Lavender 24 exec-once = hyprctl setcursor Catppuccin-Mocha-Lavender 24
exec-once = xwaylandvideobridge exec-once = xwaylandvideobridge
@ -117,6 +117,8 @@ windowrulev2 = pseudo, title:(Warframe.*)
windowrulev2 = size 2646 1108, title:(Warframe.*) windowrulev2 = size 2646 1108, title:(Warframe.*)
windowrulev2 = pseudo, class:(steam_app_1361210) windowrulev2 = pseudo, class:(steam_app_1361210)
windowrulev2 = size 2646 1108, class:(steam_app_1361210) windowrulev2 = size 2646 1108, class:(steam_app_1361210)
windowrulev2 = pseudo, class:(Mindustry)
windowrulev2 = size 2646 1108, class:(Mindustry)
# Super bind # Super bind
$mainMod = SUPER $mainMod = SUPER

32
waybar/autobar.sh Executable file
View File

@ -0,0 +1,32 @@
#!/bin/bash
# start waybar if not started
if ! pgrep -x "waybar" > /dev/null; then
waybar &
fi
# current checksums
current_checksum_config=$(md5sum ~/.config/waybar/config)
current_checksum_style=$(md5sum ~/.config/waybar/style.css)
# loop forever
while true; do
# new checksums
new_checksum_config=$(md5sum ~/.config/waybar/config)
new_checksum_style=$(md5sum ~/.config/waybar/style.css)
# if checksums are different
if [ "$current_checksum_config" != "$new_checksum_config" ] || [ "$current_checksum_style" != "$new_checksum_style" ]; then
# kill waybar
killall waybar
# start waybar
waybar &
# update checksums
current_checksum_config=$new_checksum_config
current_checksum_style=$new_checksum_style
sleep 1
fi
done

View File

@ -27,7 +27,7 @@
"custom/poweroff" "custom/poweroff"
], ],
"clock": { "clock": {
"interval": 60, "interval": 1,
"format": "<b>{:%H:%M:%S}</b>", "format": "<b>{:%H:%M:%S}</b>",
"format-alt": "{:%Y-%m-%d}", "format-alt": "{:%Y-%m-%d}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>" "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"

View File

@ -51,6 +51,26 @@ window#waybar.hidden {
padding: 0 10px; padding: 0 10px;
} }
/* Left side */
#wireplumber,
#disk,
#memory,
#cpu,
#custom-gpu,
#temperature {
color: @teal;
}
/* Right side */
#clock,
#network,
#tray,
#custom-poweroff,
#custom-weather {
color: @sapphire;
}
/* Old Colors
#wireplumber{ #wireplumber{
color: @sapphire; color: @sapphire;
} }
@ -69,3 +89,4 @@ window#waybar.hidden {
#temperature { #temperature {
color: @sky; color: @sky;
} }
*/