mirror of
https://github.com/rywng/dotfiles.git
synced 2024-11-24 11:51:50 +08:00
Compare commits
5 Commits
474b90ed44
...
373839598d
Author | SHA1 | Date | |
---|---|---|---|
|
373839598d | ||
|
c97c766260 | ||
|
fdfcb750e3 | ||
|
1749ca3343 | ||
|
c040ddf813 |
@ -11,10 +11,12 @@ output * bg $(find ~/Pictures/Wallpapers/ -type f | shuf -n1) fill
|
|||||||
|
|
||||||
##starting userspace software
|
##starting userspace software
|
||||||
exec wlsunset -l 30.4 -L 104.0 -T 6500 -t 3500
|
exec wlsunset -l 30.4 -L 104.0 -T 6500 -t 3500
|
||||||
|
exec light -S 70
|
||||||
exec --no-startup-id pipewire
|
exec --no-startup-id pipewire
|
||||||
exec mako
|
exec mako
|
||||||
exec light -S 70
|
|
||||||
exec mpd
|
exec mpd
|
||||||
|
exec ~/.cache/go/bin/mpd-mpris
|
||||||
|
exec playerctld daemon
|
||||||
|
|
||||||
#my keybinds
|
#my keybinds
|
||||||
|
|
||||||
|
@ -4,39 +4,7 @@
|
|||||||
// Choose the order of the modules
|
// Choose the order of the modules
|
||||||
"modules-left": ["sway/workspaces", "sway/window"],
|
"modules-left": ["sway/workspaces", "sway/window"],
|
||||||
"modules-center": [],
|
"modules-center": [],
|
||||||
"modules-right": ["tray","mpd","custom/weather","network","battery","clock"],
|
"modules-right": ["tray","custom/player","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": {
|
"tray": {
|
||||||
"spacing": 10
|
"spacing": 10
|
||||||
},
|
},
|
||||||
@ -67,7 +35,12 @@
|
|||||||
"format-alt": "{ifname}: {ipaddr}/{cidr}"
|
"format-alt": "{ifname}: {ipaddr}/{cidr}"
|
||||||
},
|
},
|
||||||
"custom/weather": {
|
"custom/weather": {
|
||||||
"exec": "sleep 10 && curl 'wttr.in/?format=%t+(%f)+%c' || echo 'No weather data '",
|
"exec": "sleep 10 && curl 'wttr.in/?format=%t+(%f)+%c'",
|
||||||
"interval": 1800
|
"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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -38,7 +38,7 @@ window#waybar {
|
|||||||
#clock,
|
#clock,
|
||||||
#battery,
|
#battery,
|
||||||
#network,
|
#network,
|
||||||
#mpd,
|
#custom-player,
|
||||||
#custom-weather {
|
#custom-weather {
|
||||||
background-color: #161821;
|
background-color: #161821;
|
||||||
padding: 0px 10px;
|
padding: 0px 10px;
|
||||||
@ -70,7 +70,7 @@ window#waybar {
|
|||||||
animation-direction: alternate;
|
animation-direction: alternate;
|
||||||
}
|
}
|
||||||
|
|
||||||
#mpd {
|
#custom-player {
|
||||||
border-radius: 2px 0px 0px 2px;
|
border-radius: 2px 0px 0px 2px;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user