Swayfx time
This commit is contained in:
parent
bf0ca9df0e
commit
385abb77a5
7 changed files with 48 additions and 128 deletions
|
@ -9,8 +9,8 @@
|
|||
"control-center-margin-bottom": 8,
|
||||
"control-center-margin-right": 8,
|
||||
"control-center-margin-left": 8,
|
||||
"control-center-width": 500,
|
||||
"control-center-height": 600,
|
||||
"control-center-width": 600,
|
||||
"control-center-height": 400,
|
||||
"fit-to-screen": false,
|
||||
|
||||
"layer": "overlay",
|
||||
|
@ -21,7 +21,7 @@
|
|||
"timeout": 6,
|
||||
"timeout-low": 6,
|
||||
"timeout-critical": 0,
|
||||
"notification-window-width": 600,
|
||||
"notification-window-width": 400,
|
||||
"keyboard-shortcuts": true,
|
||||
"image-visibility": "when-available",
|
||||
"transition-time": 200,
|
||||
|
@ -56,7 +56,7 @@
|
|||
},
|
||||
"mpris": {
|
||||
"image-size": 96,
|
||||
"image-radius": 12
|
||||
"image-radius": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -127,19 +127,19 @@
|
|||
}
|
||||
|
||||
.notification-action {
|
||||
border-radius: 0px;
|
||||
border-radius: #ROUNDINGpx;
|
||||
border-top: none;
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
/* add bottom border radius to eliminate clipping */
|
||||
.notification-action:first-child {
|
||||
border-bottom-left-radius: 10px;
|
||||
border-bottom-left-radius: #ROUNDINGpx;
|
||||
}
|
||||
|
||||
.notification-action:last-child {
|
||||
border-bottom-right-radius: 10px;
|
||||
border-right: 1px solid @noti-border-color;
|
||||
border-bottom-right-radius: #ROUNDINGpx;
|
||||
border-right: #BORDERpx solid @noti-border-color;
|
||||
}
|
||||
|
||||
.image {
|
||||
|
@ -148,7 +148,7 @@
|
|||
.body-image {
|
||||
margin-top: 6px;
|
||||
background-color: white;
|
||||
border-radius: 24px;
|
||||
border-radius: #ROUNDINGpx;
|
||||
}
|
||||
|
||||
.summary {
|
||||
|
@ -216,7 +216,7 @@
|
|||
background: @noti-bg;
|
||||
border: #BORDERpx solid @noti-border-color;
|
||||
box-shadow: none;
|
||||
border-radius: 24px;
|
||||
border-radius: #ROUNDINGpx;
|
||||
}
|
||||
.widget-title > button:hover {
|
||||
background: @noti-bg-hover;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue