1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-11-24 11:51:50 +08:00

Compare commits

..

No commits in common. "373839598d6bcd7c4cfa419c7802dfb9571053dd" and "474b90ed44d5a5a53772906e30e13c0507657477" have entirely different histories.

3 changed files with 37 additions and 12 deletions

View File

@ -11,12 +11,10 @@ output * bg $(find ~/Pictures/Wallpapers/ -type f | shuf -n1) fill
##starting userspace software
exec wlsunset -l 30.4 -L 104.0 -T 6500 -t 3500
exec light -S 70
exec --no-startup-id pipewire
exec mako
exec light -S 70
exec mpd
exec ~/.cache/go/bin/mpd-mpris
exec playerctld daemon
#my keybinds

View File

@ -4,7 +4,39 @@
// Choose the order of the modules
"modules-left": ["sway/workspaces", "sway/window"],
"modules-center": [],
"modules-right": ["tray","custom/player","custom/weather","network","battery","clock"],
"modules-right": ["tray","mpd","custom/weather","network","battery","clock"],
"mpd": {
"format": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} {stateIcon}",
"format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ",
"format-disconnected": "Disconnected ",
"unknown-tag": "N/A",
"interval": 2,
"consume-icons": {
"on": " "
},
"random-icons": {
"on": " "
},
"repeat-icons": {
"on": " "
},
"single-icons": {
"on": "1 "
},
"state-icons": {
"paused": "",
"playing": ""
},
"tooltip-format": "MPD (connected)",
"tooltip-format-disconnected": "MPD (disconnected)"
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"tray": {
"spacing": 10
},
@ -35,12 +67,7 @@
"format-alt": "{ifname}: {ipaddr}/{cidr}"
},
"custom/weather": {
"exec": "sleep 10 && curl 'wttr.in/?format=%t+(%f)+%c'",
"exec": "sleep 10 && curl 'wttr.in/?format=%t+(%f)+%c' || echo 'No weather data '",
"interval": 1800
},
"custom/player": {
"exec": "playerctl metadata --format '{{uc(playerName)}}: {{ artist }} - {{ album }} - {{ title }} {{emoji(status)}}'",
"interval": 10,
"on-click": "playerctl play-pause && notify-send `playerctl status` -t 1000"
}
}

View File

@ -38,7 +38,7 @@ window#waybar {
#clock,
#battery,
#network,
#custom-player,
#mpd,
#custom-weather {
background-color: #161821;
padding: 0px 10px;
@ -70,7 +70,7 @@ window#waybar {
animation-direction: alternate;
}
#custom-player {
#mpd {
border-radius: 2px 0px 0px 2px;
margin-left: 10px;
}