groupbar
This commit is contained in:
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
inputs,
|
inputs,
|
||||||
|
config,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
@ -35,13 +36,10 @@
|
|||||||
package = pkgs.nerd-fonts.iosevka;
|
package = pkgs.nerd-fonts.iosevka;
|
||||||
name = "Iosevka Nerd Font Propo";
|
name = "Iosevka Nerd Font Propo";
|
||||||
};
|
};
|
||||||
sansSerif = {
|
sansSerif = config.stylix.fonts.serif;
|
||||||
package = pkgs.nerd-fonts.iosevka;
|
|
||||||
name = "Iosevka Nerd Font Propo";
|
|
||||||
};
|
|
||||||
monospace = {
|
monospace = {
|
||||||
package = pkgs.nerd-fonts.iosevka;
|
package = pkgs.nerd-fonts.iosevka-term;
|
||||||
name = "Iosevka Nerd Font Mono";
|
name = "IosevkaTerm Nerd Font Mono";
|
||||||
};
|
};
|
||||||
emoji = {
|
emoji = {
|
||||||
package = pkgs.noto-fonts-emoji;
|
package = pkgs.noto-fonts-emoji;
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
else "platform";
|
else "platform";
|
||||||
xdgPictures =
|
xdgPictures =
|
||||||
config.xdg.userDirs.pictures;
|
config.xdg.userDirs.pictures;
|
||||||
|
ifLaptop = lib.mkIf (hostname != "dunamis");
|
||||||
in {
|
in {
|
||||||
options = {
|
options = {
|
||||||
desktop.hyprland.enable =
|
desktop.hyprland.enable =
|
||||||
@ -210,10 +211,11 @@ in {
|
|||||||
"col.border_locked_active" = "0xff${colors.base0A}";
|
"col.border_locked_active" = "0xff${colors.base0A}";
|
||||||
"col.border_locked_inactive" = "0xff${colors.base0F}";
|
"col.border_locked_inactive" = "0xff${colors.base0F}";
|
||||||
groupbar = {
|
groupbar = {
|
||||||
height = 24;
|
height = 16;
|
||||||
rounding = 6;
|
rounding = 0;
|
||||||
gradient_rounding = 8;
|
indicator_height = 0;
|
||||||
font_size = 24;
|
gradient_rounding = 4;
|
||||||
|
font_size = 14;
|
||||||
gradients = true;
|
gradients = true;
|
||||||
font_family = "${config.stylix.fonts.sansSerif.name}";
|
font_family = "${config.stylix.fonts.sansSerif.name}";
|
||||||
"text_color" = "0xff${colors.base00}";
|
"text_color" = "0xff${colors.base00}";
|
||||||
@ -221,8 +223,8 @@ in {
|
|||||||
"col.inactive" = "0xff${colors.base03}";
|
"col.inactive" = "0xff${colors.base03}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
binds.scroll_event_delay = 0;
|
||||||
|
|
||||||
# bindn = [", mouse:272, hy3:focustab, mouse"];
|
|
||||||
bind = [
|
bind = [
|
||||||
"$mod, Return, exec, $terminal"
|
"$mod, Return, exec, $terminal"
|
||||||
"$mod, Space, exec, $dlauncher"
|
"$mod, Space, exec, $dlauncher"
|
||||||
@ -232,36 +234,12 @@ in {
|
|||||||
"$modCtrl, G, togglefloating"
|
"$modCtrl, G, togglefloating"
|
||||||
"$mod, G, pin"
|
"$mod, G, pin"
|
||||||
|
|
||||||
# "$mod, Z, scroller:setmode, row"
|
|
||||||
# "$mod, X, scroller:setmode, column"
|
|
||||||
# "$mod, M, scroller:fitwidth, active"
|
|
||||||
# "$mod, H, scroller:setwidth, 1"
|
|
||||||
# "$mod, C, scroller:cyclewidth, next"
|
|
||||||
# "$modShift, C, scroller:cycleheight, next"
|
|
||||||
# "$modShift, M, scroller:fitheight, active"
|
|
||||||
# "$modShift, H, scroller:setheight, onehalf"
|
|
||||||
# "$mod, comma, scroller:admitwindow, l"
|
|
||||||
# "$mod, period, scroller:admitwindow, r"
|
|
||||||
# "$modCtrl, comma, scroller:expelwindow, l"
|
|
||||||
# "$modCtrl, period, scroller:expelwindow, r"
|
|
||||||
# "$mod, backspace, scroller:toggleoverview"
|
|
||||||
# "$modCtrl, backspace, scroller:jump"
|
|
||||||
|
|
||||||
"$mod, T, togglegroup"
|
"$mod, T, togglegroup"
|
||||||
"$mod, period, changegroupactive, f"
|
"$mod, period, changegroupactive, f"
|
||||||
"$mod, comma, changegroupactive, b"
|
"$mod, comma, changegroupactive, b"
|
||||||
"$modCtrl, period, movewindoworgroup, r"
|
"$modCtrl, period, movewindoworgroup, r"
|
||||||
"$modCtrl, comma, movewindoworgroup, l"
|
"$modCtrl, comma, movewindoworgroup, l"
|
||||||
# "$mod, S, hy3:changegroup, opposite"
|
|
||||||
# "$mod, T, hy3:changegroup, toggletab"
|
|
||||||
# "$mod, S, hy3:changegroup, opposite"
|
|
||||||
# "$mod, period, hy3:focustab, r, wrap"
|
|
||||||
# "$mod, comma, hy3:focustab, l, wrap"
|
|
||||||
# "$modCtrl, period, hy3:changefocus, raise"
|
|
||||||
# "$modCtrl, comma, hy3:changefocus, lower"
|
|
||||||
|
|
||||||
# "$mod, Tab, overview:toggle"
|
|
||||||
# "$mod, Tab, hyprexpo:expo, toggle"
|
|
||||||
"$mod, Tab, cyclenext,"
|
"$mod, Tab, cyclenext,"
|
||||||
"$modShift, Tab, cyclenext, prev"
|
"$modShift, Tab, cyclenext, prev"
|
||||||
"$mod, Tab, bringactivetotop,"
|
"$mod, Tab, bringactivetotop,"
|
||||||
@ -351,6 +329,10 @@ in {
|
|||||||
"$modShiftCtrl, $right, movetoworkspace, e+1"
|
"$modShiftCtrl, $right, movetoworkspace, e+1"
|
||||||
"$modShiftCtrl, left, movetoworkspace, e-1"
|
"$modShiftCtrl, left, movetoworkspace, e-1"
|
||||||
"$modShiftCtrl, right, movetoworkspace, e+1"
|
"$modShiftCtrl, right, movetoworkspace, e+1"
|
||||||
|
|
||||||
|
''$mod ALT, mouse_down, exec, hyprctl keyword cursor:zoom_factor "$(hyprctl getoption cursor:zoom_factor | awk 'NR==1 {factor = $2; if (factor < 1) {factor = 1}; print factor * 1.25}')"''
|
||||||
|
''$mod ALT, mouse_up, exec, hyprctl keyword cursor:zoom_factor "$(hyprctl getoption cursor:zoom_factor | awk 'NR==1 {factor = $2; if (factor < 1) {factor = 1}; print factor / 1.25}')"''
|
||||||
|
"$mod ALT, mouse:274, exec, hyprctl keyword cursor:zoom_factor 1" # middle wheel click
|
||||||
];
|
];
|
||||||
# binde = [
|
# binde = [
|
||||||
# "$mod, comma, resizeactive, -10 0"
|
# "$mod, comma, resizeactive, -10 0"
|
||||||
@ -523,7 +505,6 @@ in {
|
|||||||
qt = {
|
qt = {
|
||||||
enable = true;
|
enable = true;
|
||||||
platformTheme.name = lib.mkDefault "gtk3";
|
platformTheme.name = lib.mkDefault "gtk3";
|
||||||
#style.name = "gtk2";
|
|
||||||
};
|
};
|
||||||
dconf.settings = {
|
dconf.settings = {
|
||||||
"org/gnome/desktop/interface" = {
|
"org/gnome/desktop/interface" = {
|
||||||
@ -544,7 +525,6 @@ in {
|
|||||||
spacing = 4;
|
spacing = 4;
|
||||||
margin-left = 11;
|
margin-left = 11;
|
||||||
margin-right = 11;
|
margin-right = 11;
|
||||||
# margin-bottom = 8;
|
|
||||||
reload_style_on_change = true;
|
reload_style_on_change = true;
|
||||||
modules-left = [
|
modules-left = [
|
||||||
"hyprland/language"
|
"hyprland/language"
|
||||||
@ -554,10 +534,10 @@ in {
|
|||||||
# modules-center = [];
|
# modules-center = [];
|
||||||
modules-right = [
|
modules-right = [
|
||||||
"wireplumber"
|
"wireplumber"
|
||||||
(lib.mkIf (hostname != "dunamis") "group/laptop")
|
(ifLaptop "group/laptop")
|
||||||
"tray"
|
"tray"
|
||||||
"privacy"
|
"privacy"
|
||||||
"power-profiles-daemon"
|
(ifLaptop "power-profiles-daemon")
|
||||||
"idle_inhibitor"
|
"idle_inhibitor"
|
||||||
"custom/notification"
|
"custom/notification"
|
||||||
"clock"
|
"clock"
|
||||||
@ -762,7 +742,6 @@ in {
|
|||||||
#battery,
|
#battery,
|
||||||
#backlight,
|
#backlight,
|
||||||
#workspaces,
|
#workspaces,
|
||||||
#power-profiles-daemon,
|
|
||||||
#taskbar,
|
#taskbar,
|
||||||
#language,
|
#language,
|
||||||
#clock,
|
#clock,
|
||||||
@ -774,7 +753,10 @@ in {
|
|||||||
}
|
}
|
||||||
#privacy,
|
#privacy,
|
||||||
#tray button,
|
#tray button,
|
||||||
|
#privacy-item,
|
||||||
#idle_inhibitor,
|
#idle_inhibitor,
|
||||||
|
#custom-notification,
|
||||||
|
#power-profiles-daemon,
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
padding: 0 0.2em;
|
padding: 0 0.2em;
|
||||||
}
|
}
|
||||||
@ -792,8 +774,7 @@ in {
|
|||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
#battery.critical:not(.charging) {
|
#battery.critical:not(.charging) {
|
||||||
background-color: @base09;
|
color: @base09;
|
||||||
color: @base00;
|
|
||||||
animation-name: blink;
|
animation-name: blink;
|
||||||
animation-duration: 0.5s;
|
animation-duration: 0.5s;
|
||||||
animation-timing-function: steps(12);
|
animation-timing-function: steps(12);
|
||||||
@ -801,15 +782,12 @@ in {
|
|||||||
animation-direction: alternate;
|
animation-direction: alternate;
|
||||||
}
|
}
|
||||||
#power-profiles-daemon.performance {
|
#power-profiles-daemon.performance {
|
||||||
background-color: @base00;
|
|
||||||
color: @base0D;
|
color: @base0D;
|
||||||
}
|
}
|
||||||
#power-profiles-daemon.balanced {
|
#power-profiles-daemon.balanced {
|
||||||
background-color: @base00;
|
|
||||||
color: @base0B;
|
color: @base0B;
|
||||||
}
|
}
|
||||||
#power-profiles-daemon.power-saver {
|
#power-profiles-daemon.power-saver {
|
||||||
background-color: @base00;
|
|
||||||
color: @base0A;
|
color: @base0A;
|
||||||
}
|
}
|
||||||
label:focus {
|
label:focus {
|
||||||
@ -823,16 +801,11 @@ in {
|
|||||||
background-color: @base08;
|
background-color: @base08;
|
||||||
}
|
}
|
||||||
#privacy-item.screenshare {
|
#privacy-item.screenshare {
|
||||||
background-color: @base00;
|
|
||||||
color: @base0C;
|
color: @base0C;
|
||||||
}
|
}
|
||||||
#privacy-item.audio-in {
|
#privacy-item.audio-in {
|
||||||
background-color: @base00;
|
|
||||||
color: @base0E;
|
color: @base0E;
|
||||||
}
|
}
|
||||||
#privacy-item.audio-out {
|
|
||||||
background-color: @base;
|
|
||||||
}
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
programs.tofi = {
|
programs.tofi = {
|
||||||
|
Reference in New Issue
Block a user