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

Compare commits

..

No commits in common. "0e16cd0dcdb4a6c8abc8d79aa8421442d0834d39" and "6e06ed101d5ab00f9fa076578dda139f0f971165" have entirely different histories.

2 changed files with 44 additions and 46 deletions

View File

@ -1,47 +1,46 @@
{
"layer": "top", // Waybar at top layer
"height": 24, // Waybar height (to be removed for auto height)
// Choose the order of the modules
"modules-left": ["sway/workspaces", "sway/window"],
"modules-center": [],
"modules-right": ["tray","custom/player","custom/weather","network","battery","clock"],
"tray": {
"spacing": 10
},
"clock": {
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{:%Y-%m-%d}"
},
"battery": {
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"format": "{capacity}% {icon}",
"format-charging": "{capacity}% ",
"format-plugged": "{capacity}% ",
"format-alt": "{time} {icon}",
"format-icons": ["", "", "", "", ""]
},
"battery#bat2": {
"bat": "BAT2"
},
"network": {
"format-wifi": "{essid} ({signalStrength}%) ",
"format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
"format-linked": "{ifname} (No IP) ",
"format-disconnected": "Disconnected ",
"format-alt": "{ifname}: {ipaddr}/{cidr}"
},
"custom/weather": {
"exec": "sleep 10 && curl 'https://wttr.in/?format=%t+(%f)+%c'",
"interval": 1800
},
"custom/player": {
"escape": true,
"exec": "playerctl metadata --format '{{uc(playerName)}}: {{ artist }} - {{ album }} - {{ title }} {{emoji(status)}}' || echo 'Stopped  '",
"interval": 15,
"on-click": "playerctl play-pause && notify-send `playerctl status` -t 1000"
}
"layer": "top", // Waybar at top layer
"height": 24, // Waybar height (to be removed for auto height)
// Choose the order of the modules
"modules-left": ["sway/workspaces", "sway/window"],
"modules-center": [],
"modules-right": ["tray","custom/player","custom/weather","network","battery","clock"],
"tray": {
"spacing": 10
},
"clock": {
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{:%Y-%m-%d}"
},
"battery": {
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"format": "{capacity}% {icon}",
"format-charging": "{capacity}% ",
"format-plugged": "{capacity}% ",
"format-alt": "{time} {icon}",
"format-icons": ["", "", "", "", ""]
},
"battery#bat2": {
"bat": "BAT2"
},
"network": {
"format-wifi": "{essid} ({signalStrength}%) ",
"format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
"format-linked": "{ifname} (No IP) ",
"format-disconnected": "Disconnected ",
"format-alt": "{ifname}: {ipaddr}/{cidr}"
},
"custom/weather": {
"exec": "sleep 10 && curl 'wttr.in/?format=%t+(%f)+%c'",
"interval": 1800
},
"custom/player": {
"exec": "playerctl metadata --format '{{uc(playerName)}}: {{ artist }} - {{ album }} - {{ title }} {{emoji(status)}}' || echo 'Stopped  '",
"interval": 15,
"on-click": "playerctl play-pause && notify-send `playerctl status` -t 1000"
}
}

1
.zshrc
View File

@ -152,7 +152,6 @@ alias se='doas emerge'
alias sp='doas pacman'
alias ssh='TERM="xterm-256color" ssh'
alias sv='doasedit.sh'
alias t='task'
alias v='nvim'
alias vw='nvim -c VimwikiIndex'
alias yt-dl='youtube-dl --sub-lang en,zh-Hant --audio-format best'