mirror of
https://github.com/Cian-H/dotfiles.git
synced 2026-08-14 20:53:22 +01:00
Changed . token to _dot
This change allows the dotfiles to work with chezmoi (e.g: on windows) and improves grepability with neovim/telescope
This commit is contained in:
@@ -0,0 +1,227 @@
|
||||
[{
|
||||
"output": "!DP-6",
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"height": 43,
|
||||
"margin-top": 6,
|
||||
"margin-left": 6,
|
||||
"margin-right": 6,
|
||||
"margin-bottom": 0,
|
||||
"modules-left": ["hyprland/workspaces", "hyprland/window"],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": ["wireplumber", "temperature", "cpu", "memory", "hyprland/language", "battery", "network", "custom/notification"],
|
||||
"hyprland/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"all-outputs": false,
|
||||
"disable-markup": false,
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"1": "<b>1</b> ",
|
||||
"2": "<b>2</b> ",
|
||||
"3": "<b>3</b> ",
|
||||
"4": "<b>4</b> ",
|
||||
"5": "<b>5</b> ",
|
||||
"6": "<b>6</b> ",
|
||||
"7": "<b>7</b> ",
|
||||
"8": "<b>8</b> ",
|
||||
"9": "<b>9</b> ",
|
||||
"10": "<b>0</b> "
|
||||
}
|
||||
},
|
||||
"hyprland/window": {
|
||||
"max-length": 60,
|
||||
"tooltip": false
|
||||
},
|
||||
"hyprland/language": {
|
||||
"format": {},
|
||||
"format-en": "",
|
||||
"format-ie": "",
|
||||
"on-click": "$HOME/.config/hypr/utils/cycle_kb_layout -c ../inputs.conf -l ../kb_layouts.txt"
|
||||
},
|
||||
"clock": {
|
||||
"format": "<b>{:%a %d %b - %H:%M}</b>",
|
||||
"tooltip": true,
|
||||
"tooltip-format": "<tt><small>{calendar}</small></tt>",
|
||||
"calendar": {
|
||||
"mode": "year",
|
||||
"mode-mon-col": 3,
|
||||
"weeks-pos": "right",
|
||||
"on-scroll": 1,
|
||||
"format": {
|
||||
"months": "<span color='#ffead3'><b>{}</b></span>",
|
||||
"days": "<span color='#ecc6d9'><b>{}</b></span>",
|
||||
"weeks": "<span color='#99ffdd'><b>W{}</b></span>",
|
||||
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
|
||||
"today": "<span color='#ff6699'><b><u>{}</u></b></span>"
|
||||
}
|
||||
},
|
||||
"actions": {
|
||||
"on-click-right": "mode",
|
||||
"on-click-forward": "tz_up",
|
||||
"on-click-backward": "tz_down",
|
||||
"on-scroll-up": "shift_up",
|
||||
"on-scroll-down": "shift_down"
|
||||
}
|
||||
},
|
||||
"cpu": {
|
||||
"interval": 5,
|
||||
"format": "︁ <b>{usage:02}%</b>",
|
||||
"max-length": 10
|
||||
},
|
||||
"memory": {
|
||||
"interval": 15,
|
||||
"format": " <b>{used:0.1f}G/{total:0.1f}G</b>",
|
||||
"tooltip": false
|
||||
},
|
||||
"battery": {
|
||||
"format": "<span style=icon>{icon}</span>",
|
||||
"format-icons": ["", "", "", "", ""],
|
||||
"format-time": "({H}h{M}m)",
|
||||
"format-charging": "{icon}",
|
||||
"format-full": "",
|
||||
"interval": 15,
|
||||
"states": {
|
||||
"warning": 25,
|
||||
"critical": 10
|
||||
},
|
||||
"tooltip": true
|
||||
},
|
||||
"network": {
|
||||
"format": "{icon}",
|
||||
"format-alt": " <b>{ipaddr}/{cidr}</b> {icon}",
|
||||
"format-alt-click": "click-left",
|
||||
"format-wifi": " <b>{essid} ({signalStrength}%)</b>",
|
||||
"format-ethernet": " <b>{ifname}</b>",
|
||||
"format-disconnected": "⚠ Disconnected",
|
||||
"tooltip": false
|
||||
},
|
||||
"wireplumber": {
|
||||
"format": "{icon} <b>{volume}%</b>",
|
||||
"format-muted": "",
|
||||
"format-icons": [ "", "", "" ],
|
||||
"on-click": "wpctl set-mute @DEFAULT_SINK@ toggle",
|
||||
"on-click-right": "pavucontrol",
|
||||
},
|
||||
"temperature": {
|
||||
"hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
|
||||
"critical-threshold": 75,
|
||||
"interval": 5,
|
||||
"format": "{icon} <b>{temperatureC}°</b>",
|
||||
"tooltip": false,
|
||||
"format-icons": [
|
||||
"", // Icon: temperature-empty
|
||||
"", // Icon: temperature-quarter
|
||||
"", // Icon: temperature-half
|
||||
"", // Icon: temperature-three-quarters
|
||||
"" // Icon: temperature-full
|
||||
]
|
||||
},
|
||||
"custom/notification": { // This button allows access to the swaync panel
|
||||
"tooltip": false,
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"notification": "<span foreground='red'><sup></sup></span>",
|
||||
"none": "",
|
||||
"dnd-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"dnd-none": "",
|
||||
"inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"inhibited-none": "",
|
||||
"dnd-inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"dnd-inhibited-none": ""
|
||||
},
|
||||
"return-type": "json",
|
||||
"exec-if": "which swaync-client",
|
||||
"exec": "swaync-client -swb",
|
||||
"on-click": "swaync-client -t -sw",
|
||||
"on-click-right": "swaync-client -d -sw",
|
||||
"escape": true
|
||||
}
|
||||
}, {
|
||||
"output": "DP-6",
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"height": 43,
|
||||
"margin-top": 6,
|
||||
"margin-left": 6,
|
||||
"margin-right": 6,
|
||||
"margin-bottom": 0,
|
||||
"modules-left": ["hyprland/workspaces"],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": ["wireplumber", "hyprland/language", "custom/notification"],
|
||||
"hyprland/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"all-outputs": false,
|
||||
"disable-markup": false,
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"1": "<b>1</b> ",
|
||||
"2": "<b>2</b> ",
|
||||
"3": "<b>3</b> ",
|
||||
"4": "<b>4</b> ",
|
||||
"5": "<b>5</b> ",
|
||||
"6": "<b>6</b> ",
|
||||
"7": "<b>7</b> ",
|
||||
"8": "<b>8</b> ",
|
||||
"9": "<b>9</b> ",
|
||||
"10": "<b>0</b> "
|
||||
}
|
||||
},
|
||||
"hyprland/language": {
|
||||
"format": {},
|
||||
"format-en": " ",
|
||||
"format-ie": " ",
|
||||
"on-click": "$HOME/.config/hypr/utils/cycle_kb_layout -c ../inputs.conf -l ../kb_layouts.txt"
|
||||
},
|
||||
"clock": {
|
||||
"format": "<b>{:%a %d %b - %H:%M}</b>",
|
||||
"tooltip": true,
|
||||
"tooltip-format": "<tt><small>{calendar}</small></tt>",
|
||||
"calendar": {
|
||||
"mode": "year",
|
||||
"mode-mon-col": 3,
|
||||
"weeks-pos": "right",
|
||||
"on-scroll": 1,
|
||||
"format": {
|
||||
"months": "<span color='#ffead3'><b>{}</b></span>",
|
||||
"days": "<span color='#ecc6d9'><b>{}</b></span>",
|
||||
"weeks": "<span color='#99ffdd'><b>W{}</b></span>",
|
||||
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
|
||||
"today": "<span color='#ff6699'><b><u>{}</u></b></span>"
|
||||
}
|
||||
},
|
||||
"actions": {
|
||||
"on-click-right": "mode",
|
||||
"on-click-forward": "tz_up",
|
||||
"on-click-backward": "tz_down",
|
||||
"on-scroll-up": "shift_up",
|
||||
"on-scroll-down": "shift_down"
|
||||
}
|
||||
},
|
||||
"wireplumber": {
|
||||
"format": "{icon} ",
|
||||
"format-muted": "",
|
||||
"format-icons": [ "", "", "" ],
|
||||
"on-click": "wpctl set-mute @DEFAULT_SINK@ toggle",
|
||||
"on-click-right": "org.pipewire.Helvum",
|
||||
},
|
||||
"custom/notification": { // This button allows access to the swaync panel
|
||||
"tooltip": false,
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"notification": "<span foreground='red'><sup></sup></span>",
|
||||
"none": "",
|
||||
"dnd-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"dnd-none": "",
|
||||
"inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"inhibited-none": "",
|
||||
"dnd-inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"dnd-inhibited-none": ""
|
||||
},
|
||||
"return-type": "json",
|
||||
"exec-if": "which swaync-client",
|
||||
"exec": "swaync-client -swb",
|
||||
"on-click": "swaync-client -t -sw",
|
||||
"on-click-right": "swaync-client -d -sw",
|
||||
"escape": true
|
||||
}
|
||||
}]
|
||||
@@ -0,0 +1,214 @@
|
||||
/* Define constants for stylesheet */
|
||||
@define-color base rgb(26, 27, 38);
|
||||
@define-color text-color #7aa2f7;
|
||||
@define-color text-color-2 rgba(169, 177, 214, 1);
|
||||
@define-color urgent #b02c36;
|
||||
@define-color primary_orange #fe9000;
|
||||
@define-color primary_yellow #ffdd4a;
|
||||
@define-color primary_red #da1b2b;
|
||||
@define-color primary_blue #afd2e9;
|
||||
@define-color primary_blue_2 #6fadd6;
|
||||
|
||||
@keyframes blink-warning {
|
||||
70% {
|
||||
color: white;
|
||||
}
|
||||
|
||||
to {
|
||||
color: white;
|
||||
background-color: orange;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes blink-critical {
|
||||
70% {
|
||||
color: white;
|
||||
}
|
||||
|
||||
to {
|
||||
color: white;
|
||||
background-color: red;
|
||||
}
|
||||
}
|
||||
|
||||
/* Base style */
|
||||
* {
|
||||
font-family: "MonaspaceArgon Nerd Font, Bold", Cantarell, Noto Sans, sans-serif;
|
||||
font-size: 16px;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
margin: 1px;
|
||||
min-height: 0;
|
||||
padding: 0;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
tooltip {
|
||||
border-radius: 8px;
|
||||
background-color: @base;
|
||||
}
|
||||
|
||||
.modules-center {
|
||||
color: @text-color-2;
|
||||
}
|
||||
|
||||
/* Custom font size for builtin display */
|
||||
window.eDP-1 * { font-size: 12px; }
|
||||
|
||||
#window {
|
||||
padding: 0 8px;
|
||||
}
|
||||
|
||||
#waybar {
|
||||
background: transparent;
|
||||
color: @text-color;
|
||||
background-color: @base;
|
||||
font-family: "MonaspaceArgon Nerd Font";
|
||||
font-size: 16px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
#workspaces {
|
||||
margin-top: 4px;
|
||||
margin-left: 4px;
|
||||
margin-right: 4px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0 4px;
|
||||
color: #565f89;
|
||||
border: 2px solid rgba(9, 85, 225, 0);
|
||||
border-radius: 10px;
|
||||
min-width: 56px;
|
||||
}
|
||||
|
||||
#workspaces button.visible {
|
||||
color: #34548a;
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
background-color: #a96d1f;
|
||||
color: white;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
box-shadow: inherit;
|
||||
border-color: #bb9af7;
|
||||
color: #bb9af7;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
color: @text-color;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
border-bottom: 3px solid @primary_blue_2;
|
||||
margin-bottom: 0px;
|
||||
padding:0px;
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
border-bottom: 3px solid @primary_yellow;
|
||||
margin-bottom: 0px;
|
||||
padding-left:0;
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
border-color: @primary_red;
|
||||
color: @primary_red;
|
||||
}
|
||||
|
||||
/* Shared theming for widgets */
|
||||
#tray,
|
||||
#mode,
|
||||
#battery,
|
||||
#temperature,
|
||||
#cpu,
|
||||
#memory,
|
||||
#network,
|
||||
#pulseaudio,
|
||||
#idle_inhibitor,
|
||||
#sway-language,
|
||||
#backlight,
|
||||
#custom-storage,
|
||||
#custom-cpu_speed,
|
||||
#custom-powermenu,
|
||||
#custom-spotify,
|
||||
#custom-weather,
|
||||
#custom-mail,
|
||||
#custom-media,
|
||||
#hyprland-language,
|
||||
#custom-notification {
|
||||
padding:0.5rem 0.6rem;
|
||||
margin: 1px 0px;
|
||||
/* border-top: 3px solid rgba(217, 216, 216, 0.5); */
|
||||
}
|
||||
|
||||
/* Widget specific theming */
|
||||
#battery {
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
|
||||
#battery.warning {
|
||||
color: @primary_orange;
|
||||
}
|
||||
|
||||
#battery.critical {
|
||||
color: @primary_red;
|
||||
}
|
||||
|
||||
#battery.warning.discharging {
|
||||
animation-name: blink-warning;
|
||||
animation-duration: 3s;
|
||||
}
|
||||
|
||||
#battery.critical.discharging {
|
||||
animation-name: blink-critical;
|
||||
animation-duration: 2s;
|
||||
}
|
||||
|
||||
#cpu.warning {
|
||||
color: @primary_orange;
|
||||
}
|
||||
|
||||
#cpu.critical {
|
||||
color: @primary_red;
|
||||
}
|
||||
|
||||
#memory {
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
|
||||
#memory.warning {
|
||||
color: @primary_orange;
|
||||
}
|
||||
|
||||
#memory.critical {
|
||||
color: red;
|
||||
animation-name: blink-critical;
|
||||
animation-duration: 2s;
|
||||
padding-left:5px;
|
||||
padding-right:5px;
|
||||
}
|
||||
|
||||
#network.disconnected {
|
||||
color: @primary_orange;
|
||||
}
|
||||
|
||||
#wireplumber.muted {
|
||||
color: @primary_yellow;
|
||||
}
|
||||
|
||||
#temperature.critical {
|
||||
color: red;
|
||||
}
|
||||
|
||||
#window {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user