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";
};
".face" = {
source = ./assets/user-icon.png;
source = ./assets/pfp.png;
};
".wallpapers" = {
source = ./assets/wallpapers;
recursive = true;
".assets/wallpapers" = {
source = ./assets/wallpapers/dogmatica;
};
".assets/lockscreen" = {
source = ./assets/lockscreens/holymoly;
};
".icons/default" = {
source = "${pkgs.simp1e-cursors}/share/icons/Simp1e-Dark";

View file

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

View file

@ -8,25 +8,25 @@
pos = "1920 405";
mode = "1920x1080@143.980Hz";
max_render_time = "3";
bg = "~/.wallpapers/1.png fill";
bg = "~/.assets/wallpapers/1.png fill";
adaptive_sync = "on";
#tearing_allowed = "1";
#tearing_allowed = "1";
};
${config.displays.d2} = {
pos = "0 405";
mode = "1920x1080@60Hz";
max_render_time = "3";
bg = "~/.wallpapers/2.png fill";
bg = "~/.assets/wallpapers/2.png fill";
};
${config.displays.d3} = {
pos = "3840 0";
mode = "1680x1050@59.883Hz";
transform = "270";
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-radius=80 \
--image=~/.wallpapers/lock.png \
--image=~/.assets/lockscreen/lock.png \
--clock \
--font=${config.look.fonts.main} \
--font-size=30 \

View file

@ -31,7 +31,7 @@
handle_screen() {
# Take a screenshot and save it to the temporary file
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
if [ $? -eq 0 ]; then

View file

@ -27,7 +27,7 @@
format-icons = {
headphone = "󰋋 ";
headset = "󰋋 ";
default = [" " " "];
default = [ " " " " ];
};
on-click = "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle";
on-click-middle = "wpctl set-volume @DEFAULT_AUDIO_SINK@ 100%";
@ -262,7 +262,7 @@
name = "bar1";
position = "top";
layer = "bottom";
output = [config.displays.d1 "VGA-1"];
output = [ config.displays.d1 "VGA-1" ];
modules-left = ["sway/workspaces" "sway/window"];
modules-right = [
"pulseaudio"
@ -287,13 +287,13 @@
"sway/scratchpad" = scratchpadModule;
"tray" = trayModule;
"bluetooth" = bluetoothModule;
"network" = networkModule // {interface = "enp*";};
"network" = networkModule // { interface = "enp*"; };
};
display2 = {
name = "bar2";
position = "top";
layer = "bottom";
output = [config.displays.d2];
output = [ config.displays.d2 ];
modules-left = ["sway/workspaces" "sway/window"];
modules-right = [
"pulseaudio"
@ -318,7 +318,7 @@
name = "bar3";
position = "top";
layer = "bottom";
output = [config.displays.d3];
output = [ config.displays.d3 ];
modules-left = ["sway/workspaces" "sway/window"];
modules-right = [
"pulseaudio"
@ -341,8 +341,8 @@
name = "laptop";
position = "top";
layer = "bottom";
output = ["eDP-1" "LVDS-1" "DSI-1" "HDMI-A-1"];
modules-left = ["sway/workspaces" "sway/window"];
output = [ "eDP-1" "LVDS-1" "DSI-1" "HDMI-A-1" ];
modules-left = [ "sway/workspaces" "sway/window" ];
modules-right = [
"pulseaudio"
"custom/media"
@ -457,13 +457,13 @@
color: #888;
}
#custom-weather {
border-bottom: 3px solid #${config.look.colors.prime};
border-bottom: 3px solid #3823C4;
}
#custom-weather2 {
border-bottom: 3px solid #c75bd3;
}
#custom-notifs {
border-bottom: 3px solid #${config.look.colors.prime};
border-bottom: 3px solid #3823C4;
}
#custom-notifs.disabled {
color: #888;

View file

@ -1,19 +1,6 @@
{ 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
};
imports = [
./red
];
}

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.