The Blue Update #1

Merged
Jimbo merged 101 commits from Refactor into main 2024-10-25 21:26:22 -04:00
19 changed files with 64 additions and 52 deletions
Showing only changes of commit c3bc3a56f7 - Show all commits

View file

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 820 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 570 KiB

View file

@ -4,11 +4,13 @@
source = config.lib.file.mkOutOfStoreSymlink "/etc/libvirt/VMs"; source = config.lib.file.mkOutOfStoreSymlink "/etc/libvirt/VMs";
}; };
".face" = { ".face" = {
source = ./assets/user-icon.png; source = ./assets/pfp.png;
}; };
".wallpapers" = { ".assets/wallpapers" = {
source = ./assets/wallpapers; source = ./assets/wallpapers/dogmatica;
recursive = true; };
".assets/lockscreen" = {
source = ./assets/lockscreens/holymoly;
}; };
".icons/default" = { ".icons/default" = {
source = "${pkgs.simp1e-cursors}/share/icons/Simp1e-Dark"; source = "${pkgs.simp1e-cursors}/share/icons/Simp1e-Dark";

View file

@ -10,7 +10,6 @@
./waybar ./waybar
./swayshot ./swayshot
./swaylock ./swaylock
#./swayfx
]; ];
# Enable Sway and write some scripts # Enable Sway and write some scripts
@ -20,7 +19,6 @@
wrapperFeatures.gtk = true; wrapperFeatures.gtk = true;
checkConfig = false; checkConfig = false;
extraConfig = '' extraConfig = ''
# Options I can't find in Nix yet
default_floating_border pixel ${config.look.border.string} default_floating_border pixel ${config.look.border.string}
hide_edge_borders --i3 smart hide_edge_borders --i3 smart
titlebar_padding 10 1 titlebar_padding 10 1

View file

@ -8,7 +8,7 @@
pos = "1920 405"; pos = "1920 405";
mode = "1920x1080@143.980Hz"; mode = "1920x1080@143.980Hz";
max_render_time = "3"; max_render_time = "3";
bg = "~/.wallpapers/1.png fill"; bg = "~/.assets/wallpapers/1.png fill";
adaptive_sync = "on"; adaptive_sync = "on";
#tearing_allowed = "1"; #tearing_allowed = "1";
}; };
@ -16,17 +16,17 @@
pos = "0 405"; pos = "0 405";
mode = "1920x1080@60Hz"; mode = "1920x1080@60Hz";
max_render_time = "3"; max_render_time = "3";
bg = "~/.wallpapers/2.png fill"; bg = "~/.assets/wallpapers/2.png fill";
}; };
${config.displays.d3} = { ${config.displays.d3} = {
pos = "3840 0"; pos = "3840 0";
mode = "1680x1050@59.883Hz"; mode = "1680x1050@59.883Hz";
transform = "270"; transform = "270";
max_render_time = "3"; max_render_time = "3";
bg = "~/.wallpapers/3.png fill"; bg = "~/.assets/wallpapers/3.png fill";
}; };
"*" = { "*" = {
bg = "~/.wallpapers/1.png fill"; bg = "~/.assets/wallpapers/1.png fill";
}; };
}; };

View file

@ -1,13 +0,0 @@
{ pkgs, ... }:
{
wayland.windowManager.sway = {
package = pkgs.swayfx;
extraConfig = ''
blur enable
blur_passes 3
blur_radius 5
layer_effects 'rofi' blur enable
layer_effects 'notifications' blur enable; blur_ignore_transparent enable
'';
};
}

View file

@ -33,7 +33,7 @@ let
\ \
--indicator \ --indicator \
--indicator-radius=80 \ --indicator-radius=80 \
--image=~/.wallpapers/lock.png \ --image=~/.assets/lockscreen/lock.png \
--clock \ --clock \
--font=${config.look.fonts.main} \ --font=${config.look.fonts.main} \
--font-size=30 \ --font-size=30 \

View file

@ -31,7 +31,7 @@
handle_screen() { handle_screen() {
# Take a screenshot and save it to the temporary file # Take a screenshot and save it to the temporary file
temp_file=$(mktemp -u).png temp_file=$(mktemp -u).png
grim -o $(swaymsg -t get_config | jq -r '.[] | select(.focused) | .name') "$temp_file" grim -o $(swaymsg -t get_outputs | jq -r '.[] | select(.focused) | .name') "$temp_file"
# Check if the screenshot was successfully taken # Check if the screenshot was successfully taken
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then

View file

@ -457,13 +457,13 @@
color: #888; color: #888;
} }
#custom-weather { #custom-weather {
border-bottom: 3px solid #${config.look.colors.prime}; border-bottom: 3px solid #3823C4;
} }
#custom-weather2 { #custom-weather2 {
border-bottom: 3px solid #c75bd3; border-bottom: 3px solid #c75bd3;
} }
#custom-notifs { #custom-notifs {
border-bottom: 3px solid #${config.look.colors.prime}; border-bottom: 3px solid #3823C4;
} }
#custom-notifs.disabled { #custom-notifs.disabled {
color: #888; color: #888;

View file

@ -1,19 +1,6 @@
{ lib, config, ... }: { ... }:
{ {
options.look.colors = lib.mkOption { imports = [
type = lib.types.attrs; ./red
default = {}; ];
};
config.look.colors = {
prime = ''3823C4''; #3823C4
accent = ''1B1F59''; #1B1F59
split = ''555B9E''; #555B9E
actSplit = ''5980B7''; #5980B7
dark = ''101419''; #101419
mid = ''171C23''; #171C23
light = ''272b33''; #272B33
urgent = ''C43823''; #C43823
text = ''C7D3E3''; #C7D3E3
};
} }

View file

@ -0,0 +1,19 @@
{ lib, config, ... }:
{
options.look.colors = lib.mkOption {
type = lib.types.attrs;
default = {};
};
config.look.colors = {
prime = ''3823C4''; #3823C4
accent = ''1B1F59''; #1B1F59
split = ''555B9E''; #555B9E
actSplit = ''5980B7''; #5980B7
dark = ''101419''; #101419
mid = ''171C23''; #171C23
light = ''272b33''; #272B33
urgent = ''C43823''; #C43823
text = ''C7D3E3''; #C7D3E3
};
}

View file

@ -0,0 +1,19 @@
{ lib, config, ... }:
{
options.look.colors = lib.mkOption {
type = lib.types.attrs;
default = {};
};
config.look.colors = {
prime = ''c91236''; #c91236
accent = ''56111f''; #56111f
split = ''722d51''; #722d51
actSplit = ''754566''; #754566
dark = ''191016''; #191016
mid = ''23171d''; #23171d
light = ''272b33''; #272B33
urgent = ''C43823''; #C43823
text = ''C7D3E3''; #C7D3E3
};
}

Binary file not shown.