Swayfx time

This commit is contained in:
atagen 2023-08-18 15:42:01 +10:00
parent bf0ca9df0e
commit 385abb77a5
7 changed files with 48 additions and 128 deletions

View file

@ -143,9 +143,12 @@ in {
wayland.windowManager.sway = {
enable = true;
package = pkgs.sway;
extraConfig = ''
# package = pkgs.sway;
package = pkgs.swayfx;
extraConfig = with pkgs.rice; ''
default_orientation vertical
corner_radius ${builtins.toString borders.rounding}
default_dim_inactive 0.15
'';
config = with pkgs.rice; {
bars = [];
@ -177,7 +180,6 @@ in {
{
command = "split toggle";
criteria = {
class = ".*";
app_id = ".*";
};
}
@ -260,7 +262,7 @@ in {
background = util.bg;
border = bright.yellow;
childBorder = bright.yellow;
indicator = normal.blue;
indicator = bright.yellow;
text = util.fg;
};
focusedInactive = {
@ -274,14 +276,14 @@ in {
background = util.bg;
border = bright.green;
childBorder = bright.green;
indicator = normal.blue;
indicator = bright.green;
text = util.fg;
};
unfocused = {
background = normal.black;
border = util.bg;
childBorder = util.bg;
indicator = normal.blue;
indicator = util.bg;
text = normal.white;
};
urgent = {
@ -301,90 +303,6 @@ in {
xwayland = true;
};
# extraConfig = with pkgs.rice; (builtins.replaceStrings
# [
# "#BGIMAGE"
# "#GTKTHEME"
# "#FONT"
# "#ICONTHEME"
# "#ACTIVEBORDER"
# "#BORDER"
# "#THICK"
# "#ROUND"
# "#GAPSIN"
# "#GAPSOUT"
# ]
# [
# "${bg.image}"
# gtk-theme.name
# fonts.sans.name
# icons.name
# palette-shex.bright.yellow
# palette-shex.util.bg
# (builtins.toString borders.thickness)
# (builtins.toString borders.rounding)
# (builtins.toString borders.gaps_in)
# (builtins.toString borders.gaps_out)
# ]
# (builtins.readFile dots/hyprland/hyprland.conf));
programs.starship = {
enable = true;
settings = {
# format = "$directory$os$all";
directory = {
truncate_to_repo = false;
};
};
};
# programs.eww-custom = {
# enable = true;
# package = pkgs.eww-wayland;
# colors = with palette-hex; (builtins.replaceStrings
# [
# "#BLACK"
# "#BLCKA"
# "#RED"
# "#RDA"
# "#GREEN"
# "#GRNA"
# "#YELLOW"
# "#YLWA"
# "#BLUE"
# "#BLUA"
# "#MAGENTA"
# "#MGNA"
# "#CYAN"
# "#CYNA"
# "#WHITE"
# "#WHTA"
# "#FG"
# "#BG"
# ]
# [
# normal.black
# bright.black
# normal.red
# bright.red
# normal.green
# bright.green
# normal.yellow
# bright.yellow
# normal.blue
# bright.blue
# normal.magenta
# bright.magenta
# normal.cyan
# bright.cyan
# normal.white
# bright.white
# util.fg
# util.bg
# ] (builtins.readFile dots/eww/colors.scss));
# };
systemd.user.startServices = "sd-switch";
xdg.enable = true;