Compare commits

...

3 Commits

Author SHA1 Message Date
d4f407e0f6
waybar: actually update config
oops
2024-12-21 12:13:12 -05:00
3a28bee3bf
khal, todoman, vdirsyncer: added 2024-12-21 12:11:30 -05:00
7c61357140
waybar: style changes
more icons, visible date, and font change
2024-12-21 12:09:27 -05:00
7 changed files with 97 additions and 11 deletions

View File

@ -7,6 +7,7 @@ ttf-roboto
inter-font
noto-fonts
noto-fonts-emoji
ttf-font-awesome
gsfonts
git
xwallpaper
@ -80,6 +81,10 @@ tinyxxd
fcitx5
fcitx5-chinese-addons
fcitx5-configtool
# calendaring/todo management
khal
todoman
vdirsyncer
# in the aur
tmsu

View File

@ -1,4 +1,4 @@
font="Roboto"
font="Inter Display"
icons-enabled=no
prompt=""

View File

@ -0,0 +1,15 @@
[calendars]
[[calendar_local]]
path = ~/.local/share/vdirsyncer/cal/*
type = discover
[locale]
timeformat = %H:%M
dateformat = %Y-%m-%d
longdateformat = %Y-%m-%d
datetimeformat = %Y-%m-%d %H:%M
longdatetimeformat = %Y-%m-%d %H:%M
[default]
default_calendar = Personal

View File

@ -3,17 +3,20 @@
"reload_style_on_change": true,
"modules-left": ["niri/workspaces"],
"modules-center": ["niri/window"],
"modules-right": ["mpris", "network", "battery", "clock"],
"modules-right": ["mpris", "pulseaudio", "network", "battery", "clock"],
"niri/window": {
"max-length": 50
},
"niri/workspaces": {
"format": "{icon}",
"format-icons": {
"active": "",
"default": ""
}
},
"battery": {
"format": "{capacity}% {icon}",
"format": "{icon}",
"tooltip-format": "{capacity}%",
"format-icons": ["", "", "", "", ""],
"states": {
"warning": 40,
@ -21,12 +24,13 @@
}
},
"clock": {
"format": "{:%H:%M}",
"format": "{:%a %d %b %H:%M}",
"tooltip-format": "{:%a %b %d, %Y (%Z / UTC%z)}",
"tooltip": true,
},
"network": {
"format-wifi": "{signalStrength}% ",
"format-wifi": "",
"tooltip-format": "{essid} {signalStrength}%",
"format-disconnected": "⚠",
"max-length": 20
},
@ -43,7 +47,16 @@
"album-len": 0,
"dynamic-len": 65,
"dynamic-order": ["artist", "title"],
"format": "{dynamic} ♫",
"format-paused": "{dynamic}",
}
"tooltip-format": "{dynamic}",
"format": "",
"format-paused": "",
},
"pulseaudio": {
"format": "{icon}",
"tooltip-format": "{volume}%",
"format-muted": "",
"format-icons": {
"default": ["", ""]
},
},
}

View File

@ -1,11 +1,12 @@
@import url("file:///etc/xdg/waybar/style.css");
* {
font-family: FontAwesome, Inter Display
}
.modules-left {
padding-left: 0.5em;
}
.modules-right {
padding-right: 0.5em;
}
#network,
#battery,
@ -25,3 +26,29 @@
window#waybar.chromium {
background-color: rgba(43, 48, 59, 0.5);
}
#pulseaudio, #pulseaudio.muted, #pulseaudio:hover {
background-color: inherit;
color: inherit;
}
#workspaces * {
font-size: 0.8em;
}
#workspaces button:hover {
box-shadow: inherit;
}
#workspaces button.focused {
background-color: inherit;
box-shadow: inherit;
}
window#waybar {
border-bottom: none;
}
#window, #workspaces {
margin: 0;
}

View File

@ -0,0 +1,5 @@
path = "~/.local/share/vdirsyncer/cal/*"
date_format = "%Y-%m-%d"
time_format = "%H:%M"
default_list = "Personal"
default_due = 48

View File

@ -0,0 +1,21 @@
[general]
status_path = "~/.local/share/vdirsyncer/status"
[pair calendar]
a = "calendar_local"
b = "calendar_remote"
conflict_resolution = "b wins"
collections = ["from a", "from b"]
metadata = ["color", "displayname"]
[storage calendar_local]
type = "filesystem"
path = "~/.local/share/vdirsyncer/cal/"
fileext=".ics"
[storage calendar_remote]
type = "caldav"
url = ""
username = "user"
password = ""