mirror of
https://github.com/rywng/dotfiles.git
synced 2024-11-24 20:01:49 +08:00
Compare commits
No commits in common. "373839598d6bcd7c4cfa419c7802dfb9571053dd" and "474b90ed44d5a5a53772906e30e13c0507657477" have entirely different histories.
373839598d
...
474b90ed44
@ -11,12 +11,10 @@ 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,7 +4,39 @@
|
|||||||
// 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","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": {
|
"tray": {
|
||||||
"spacing": 10
|
"spacing": 10
|
||||||
},
|
},
|
||||||
@ -35,12 +67,7 @@
|
|||||||
"format-alt": "{ifname}: {ipaddr}/{cidr}"
|
"format-alt": "{ifname}: {ipaddr}/{cidr}"
|
||||||
},
|
},
|
||||||
"custom/weather": {
|
"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
|
"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,
|
||||||
#custom-player,
|
#mpd,
|
||||||
#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;
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-player {
|
#mpd {
|
||||||
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