update dotfiles

Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
This commit is contained in:
2024-12-02 19:57:09 +05:30
parent e727130c60
commit 49eed0e56a
20 changed files with 453 additions and 158 deletions
+15 -40
View File
@@ -10,12 +10,10 @@
"modules-left": [
"sway/workspaces",
"sway/mode",
"sway/scratchpad",
"custom/media"
"sway/scratchpad"
],
"modules-center": [
"sway/window",
"privacy"
"sway/window"
],
"modules-right": [
"battery",
@@ -28,11 +26,11 @@
"custom/spacer",
"network",
"custom/spacer",
"group/tray",
"custom/spacer",
"clock",
"custom/spacer",
"custom/dunst",
"custom/spacer",
"group/tray"
"custom/dunst"
],
"group/system": {
"orientation": "inherit",
@@ -72,9 +70,9 @@
"rotate": 270,
// "format": ""
"rewrite": {
"Zellij \\((.*)\\) - .*": "Zellij [$1]",
".* - ([A-Za-z0-9 ]+)": "$1",
".* — ([A-Za-z0-9 ]+)": "$1"
".* — ([A-Za-z0-9 ]+)": "$1",
"^avinal@spacetime:.*": "GNOME Terminal"
}
},
"sway/mode": {
@@ -107,33 +105,10 @@
"icon-size": 20,
"spacing": 10
},
"privacy": {
"icon-spacing": 4,
"icon-size": 18,
"transition-duration": 250,
"modules": [
{
"type": "screenshare",
"tooltip": true,
"tooltip-icon-size": 24
},
{
"type": "audio-out",
"tooltip": true,
"tooltip-icon-size": 24
},
{
"type": "audio-in",
"tooltip": true,
"tooltip-icon-size": 24
}
],
"rotate": 270
},
"clock": {
"rotate": 270,
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format": "{:%a %b %d %R}",
"format": "<span color='#ff6699'>{:%a %b %d %R}</span>",
"calendar": {
"mode": "month",
"mode-mon-col": 3,
@@ -170,10 +145,10 @@
"critical-threshold": 80,
"format": "{icon} {temperatureC}°C",
"format-icons": [
"CHILL",
"WARM",
"HOT",
"BURN"
"Chill",
"Warm",
"Hot",
"Burn"
],
"rotate": 270
},
@@ -201,11 +176,11 @@
"network": {
"interval": 10,
"format-wifi": "{essid} {frequency} ({signalStrength}%)",
"format-ethernet": "Ethernet: {ipaddr}/{cidr}",
"format-linked": "Linked: No Internet!",
"format-ethernet": "Wired {ifname}",
"format-linked": "<span color='red'>No Internet!</span>",
"tooltip-format-disconnected": "Please connect to a network.",
"tooltip-format": "Up: {bandwidthUpBits:4} Down: {bandwidthDownBits:4}",
"format-disconnected": "No Network",
"format-disconnected": "Disconnected!",
"rotate": 270
},
"pulseaudio": {
+1 -1
View File
@@ -13,5 +13,5 @@ else
tooltip+="paused"
fi
if [ $COUNT != 0 ]; then text+=":$COUNT"; fi
if [ "$COUNT" != 0 ]; then status+=":$COUNT"; fi
printf '{"text":"%s","tooltip":"%s","class":"%s"}' "$status" "$tooltip" "$class" | jq --unbuffered --compact-output
+11 -11
View File
@@ -1,6 +1,6 @@
* {
/* `otf-font-awesome` is required to be installed for icons */
font-family: 'Monaspace Argon';
font-family: 'Monaspace Radon';
font-size: 15px;
padding: 2px 0;
margin: 2px 0;
@@ -39,27 +39,27 @@ button:hover {
}
#workspaces button {
padding: 0 0px;
padding: 2px 3px;
background-color: transparent;
/* border-left: 2px solid #3ddbd9; */
color: #ffffff;
/* margin-left: -6px; */
}
#workspaces button:hover {
background: #66cc99;
}
#workspaces button.focused {
/* background-color: #64727D;*/
/* box-shadow: inset -2px -2px #ffffff, inset 2px 2px #ffffff; */
color: palevioletred;
/* outline-offset: 4px; */
}
#workspaces button.urgent {
background-color: #eb4d4b;
}
#workspaces button.focused {
border-top: 2px solid cyan;
border-bottom: 2px solid cyan;
color: palevioletred;
}
#mode {
/* background-color: #64727D; */
animation-name: blink;
@@ -213,7 +213,7 @@ label:focus {
}
#custom-wakatime {
color: turquoise
color: darksalmon;
}
#custom-dunst {