Compare commits

...

2 commits

10 changed files with 48 additions and 44 deletions

24
flake.lock generated
View file

@ -116,11 +116,11 @@
]
},
"locked": {
"lastModified": 1762452596,
"narHash": "sha256-Iaga+mkwWnWa6FxsAYknpHzeP344VCKGkdudX420LgA=",
"lastModified": 1763640802,
"narHash": "sha256-TAsO9p2cF/Wm6sYWPqvC/mBzMBzG119XLB6T0XwU2NU=",
"owner": "Jovian-Experiments",
"repo": "Jovian-NixOS",
"rev": "99919fd35e70c1b18ce948d5329928d751031312",
"rev": "4b1c28efe3b31e00c427e651b398d8251dd29812",
"type": "github"
},
"original": {
@ -162,11 +162,11 @@
]
},
"locked": {
"lastModified": 1762627886,
"narHash": "sha256-/QLk1bzmbcqJt9sU43+y/3tHtXhAy0l8Ck0MoO2+evQ=",
"lastModified": 1763505477,
"narHash": "sha256-nJRd4LY2kT3OELfHqdgWjvToNZ4w+zKCMzS2R6z4sXE=",
"owner": "LnL7",
"repo": "nix-darwin",
"rev": "5125a3cd414dc98bbe2c528227aa6b62ee61f733",
"rev": "3bda9f6b14161becbd07b3c56411f1670e19b9b5",
"type": "github"
},
"original": {
@ -204,11 +204,11 @@
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1762653944,
"narHash": "sha256-zAgyqF6bPFGCe9WcZdskvxS3qmMPOh15TBF6yxbai78=",
"lastModified": 1763690461,
"narHash": "sha256-q3tHxrMu5BjSG8pE53dOevl4JmyhR73sICy/kJ0fYNk=",
"owner": "Infinidoge",
"repo": "nix-minecraft",
"rev": "8fa3e5e2763f7dfc7ab665609167a4e6796518f4",
"rev": "106ec777ce9fb7e98c9d68d717c91d5d59ce497b",
"type": "github"
},
"original": {
@ -251,11 +251,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1762363567,
"narHash": "sha256-YRqMDEtSMbitIMj+JLpheSz0pwEr0Rmy5mC7myl17xs=",
"lastModified": 1763421233,
"narHash": "sha256-Stk9ZYRkGrnnpyJ4eqt9eQtdFWRRIvMxpNRf4sIegnw=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "ae814fd3904b621d8ab97418f1d0f2eb0d3716f4",
"rev": "89c2b2330e733d6cdb5eae7b899326930c2c0648",
"type": "github"
},
"original": {

View file

@ -1,12 +1,12 @@
[config]
import_json_files = ["./custom.json"]
caching = false
[config.wallpaper]
command = "swww"
arguments = ["img", "--transition-type", "center"]
set = true
[config.custom_keywords]
font = "ComicShannsMono Nerd Font"
rounding = "10"
[templates.waybar]
input_path = './templates/colors.css'
output_path = '~/.config/waybar/colors.css'

View file

@ -0,0 +1,4 @@
{
"font": "ComicShannsMono Nerd Font",
"rounding": 10
}

View file

@ -4,8 +4,8 @@
*/
* {
font-family: {{ custom.font }};
border-radius: {{custom.rounding}}px;
font-family: {{ font }};
border-radius: {{ rounding }}px;
}
<* for name, value in colors *>

View file

@ -17,7 +17,7 @@
/* customize things here */
:root {
/* font, change to 'gg sans' for default discord font*/
--font: '{{custom.font}}';
--font: '{{ font }}';
/* top left corner text */
--corner-text: 'Midnight';
@ -65,12 +65,12 @@
--icon-spin-transition: 1s ease; /* round icon button spin (settings, emoji, etc.) */
/* corner roundness (border-radius) */
--roundness-xl: {{custom.rounding}}px; /* roundness of big panel outer corners */
--roundness-l: {{custom.rounding}}px; /* popout panels */
--roundness-m: {{custom.rounding}}px; /* smaller panels, images, embeds */
--roundness-s: {{custom.rounding}}px; /* members, settings inputs */
--roundness-xs: {{custom.rounding}}px; /* channels, buttons */
--roundness-xxs: {{custom.rounding}}px; /* searchbar, small elements */
--roundness-xl: {{ rounding }}px; /* roundness of big panel outer corners */
--roundness-l: {{ rounding }}px; /* popout panels */
--roundness-m: {{ rounding }}px; /* smaller panels, images, embeds */
--roundness-s: {{ rounding }}px; /* members, settings inputs */
--roundness-xs: {{ rounding }}px; /* channels, buttons */
--roundness-xxs: {{ rounding }}px; /* searchbar, small elements */
/* direct messages moon icon */
/* change to block to show, none to hide */
@ -88,7 +88,7 @@
/* Setting font in :root doesn't work for some reason */
body {
font-family: '{{custom.font}}';
font-family: '{{ font }}';
}
/* Selected chat/friend text */

View file

@ -5,7 +5,7 @@ general {
}
decoration {
rounding = {{custom.rounding}}
rounding = {{ rounding }}
shadow {
color = rgba({{colors.shadow.default.hex_stripped}}ee)
}

View file

@ -27,11 +27,11 @@ input-field {
fail_color = {{colors.error_container.default.rgba}}
font_color = {{colors.primary.default.rgba}}
font_family = {{custom.font}}
font_family = {{ font }}
placeholder_text = Enter password
size = 48
fade_on_empty = false
rounding = {{custom.rounding}}
rounding = {{ rounding }}
halign = center
valign = center
@ -39,7 +39,7 @@ input-field {
}
label {
font_family = {{custom.font}}
font_family = {{ font }}
color = {{colors.primary.default.rgba}}
font_size = 24
text =  Hello
@ -51,7 +51,7 @@ label {
shape {
color = {{colors.background.default.rgba}}
rounding = {{custom.rounding}}
rounding = {{ rounding }}
monitor =
size = 150, 60
@ -66,7 +66,7 @@ shape {
label {
color = {{colors.primary.default.rgba}}
font_family = {{custom.font}}
font_family = {{ font }}
font_size = 17
rotate = 270
text = cmd[update:60]echo 󰎇 $(head -c 30 <<< $(playerctl metadata title))
@ -80,7 +80,7 @@ label {
shape {
color = {{colors.background.default.rgba}}
rounding = {{custom.rounding}}
rounding = {{ rounding }}
monitor =
size = 50, 410
@ -92,7 +92,7 @@ shape {
# Clock
label {
color = {{colors.primary.default.rgba}}
font_family = {{custom.font}}
font_family = {{ font }}
font_size = 17
text = cmd[update:60]echo -e " \n$(date '+%I\n%M')"
@ -105,7 +105,7 @@ label {
shape {
color = {{colors.background.default.rgba}}
rounding = {{custom.rounding}}
rounding = {{ rounding }}
monitor =
size = 50, 110

View file

@ -2,7 +2,7 @@
killall borders
if [ "{{custom.rounding}}" = 0 ]; then
if [ "{{ rounding }}" = 0 ]; then
nohup borders active_color=0xFF{{colors.primary.default.hex_stripped}} inactive_color=0xFF{{colors.surface_dim.default.hex_stripped}} width=6.0 style=square > /dev/null &
else
nohup borders active_color=0xFF{{colors.primary.default.hex_stripped}} inactive_color=0xFF{{colors.surface_dim.default.hex_stripped}} width=6.0 style=round > /dev/null &

View file

@ -1,6 +1,6 @@
export PRIMARY_COLOUR="0xFF{{colors.primary.default.hex_stripped}}"
export SECONDARY_COLOUR="0xFF{{colors.secondary.default.hex_stripped}}"
export BACKGROUND_COLOUR=0xFF"{{colors.background.default.hex_stripped}}"
export FONT="{{custom.font}}"
export FONT="{{ font }}"
export ROUNDING="{{custom.rounding}}"
export ROUNDING="{{ rounding }}"

View file

@ -8,8 +8,8 @@
@define-color primary {{colors.primary_container.default.hex}};
* {
font-family: {{ custom.font }};
background-radius: {{ custom.rounding}}px;
font-family: {{ font }};
background-radius: {{ rounding }}px;
}
#window,
@ -47,7 +47,7 @@ slider,
}
#box {
border-radius: {{custom.rounding}}px;
border-radius: {{ rounding }}px;
background: @background;
padding: 32px;
border: 1px solid lighter(@background);
@ -79,7 +79,7 @@ slider,
#password,
#input,
#typeahead {
border-radius: {{custom.rounding}}px;
border-radius: {{ rounding }}px;
}
#input {
@ -107,7 +107,7 @@ slider,
child {
padding: 8px;
border-radius: {{custom.rounding}}px;
border-radius: {{ rounding }}px;
}
child:selected,
@ -154,7 +154,7 @@ child:hover {
.aiItem {
padding: 10px;
border-radius: {{custom.rounding}}px;
border-radius: {{ rounding }}px;
color: @foreground;
background: @background;
}