Compare commits
No commits in common. "aa1c447d41b2f6a93735b2b43a8ab5ce84b83443" and "e7b8db9d22a5805e886a020a3063a9f6144dbab0" have entirely different histories.
aa1c447d41
...
e7b8db9d22
|
@ -3,485 +3,479 @@ let
|
||||||
fuzzel-command = config.nathan.config.desktop.fuzzel-command;
|
fuzzel-command = config.nathan.config.desktop.fuzzel-command;
|
||||||
targets = config.nathan.config.desktop.targets;
|
targets = config.nathan.config.desktop.targets;
|
||||||
hyprland = config.nathan.programs.hyprland.enable;
|
hyprland = config.nathan.programs.hyprland.enable;
|
||||||
in lib.mkMerge [
|
in lib.mkIf hyprland {
|
||||||
# Hyprland specific configuration
|
#########################
|
||||||
(lib.mkIf hyprland {
|
## Waybar
|
||||||
programs.waybar.settings.mainBar = {
|
#########################
|
||||||
modules-center = [
|
# https://github.com/DN-debug/waybar-examples/tree/main/waybar-examples/sway
|
||||||
"custom/launcher"
|
programs.waybar = {
|
||||||
"wlr/workspaces"
|
enable = true;
|
||||||
"custom/media"
|
package =
|
||||||
# "hyprland/window"
|
(inputs.nixpkgs-unstable.legacyPackages."${pkgs.system}".waybar.override {
|
||||||
"idle_inhibitor"
|
withMediaPlayer = true;
|
||||||
"pulseaudio"
|
}).overrideAttrs
|
||||||
"network"
|
(old: { mesonFlags = old.mesonFlags ++ [ "-Dexperimental=true" ]; });
|
||||||
"cpu"
|
systemd = { enable = false; };
|
||||||
"memory"
|
settings = {
|
||||||
# "temperature"
|
mainBar = {
|
||||||
"tray"
|
layer = "top";
|
||||||
"custom/notification"
|
position = "top";
|
||||||
"clock"
|
height = 30;
|
||||||
# "custom/power"
|
spacing = 0;
|
||||||
];
|
margin-top = 5;
|
||||||
};
|
margin-bottom = 0;
|
||||||
})
|
# modules-left = [ "wlr/workspaces" "hyprland/submap" ];
|
||||||
# General configuration
|
# modules-center = [ "hyprland/window" ];
|
||||||
(lib.mkIf hyprland {
|
# modules-right = [ "mpd" "clock" "tray" ];
|
||||||
#########################
|
modules-center = [
|
||||||
## Waybar
|
"custom/launcher"
|
||||||
#########################
|
"wlr/workspaces"
|
||||||
# https://github.com/DN-debug/waybar-examples/tree/main/waybar-examples/sway
|
"custom/media"
|
||||||
programs.waybar = {
|
# "hyprland/window"
|
||||||
enable = true;
|
"idle_inhibitor"
|
||||||
package =
|
"pulseaudio"
|
||||||
(inputs.nixpkgs-unstable.legacyPackages."${pkgs.system}".waybar.override {
|
"network"
|
||||||
withMediaPlayer = true;
|
"cpu"
|
||||||
}).overrideAttrs
|
"memory"
|
||||||
(old: { mesonFlags = old.mesonFlags ++ [ "-Dexperimental=true" ]; });
|
# "temperature"
|
||||||
systemd = { enable = false; };
|
"tray"
|
||||||
settings = {
|
"custom/notification"
|
||||||
mainBar = {
|
"clock"
|
||||||
layer = "top";
|
# "custom/power"
|
||||||
position = "top";
|
];
|
||||||
height = 30;
|
"custom/launcher" = {
|
||||||
spacing = 0;
|
format = "";
|
||||||
margin-top = 5;
|
on-click = fuzzel-command + " --prompt='❯ ' ";
|
||||||
margin-bottom = 0;
|
on-click-right = "killall fuzzel";
|
||||||
"custom/launcher" = {
|
};
|
||||||
format = "";
|
"idle_inhibitor" = {
|
||||||
on-click = fuzzel-command + " --prompt='❯ ' ";
|
format = "{icon}";
|
||||||
on-click-right = "killall fuzzel";
|
format-icons = {
|
||||||
};
|
activated = "";
|
||||||
"idle_inhibitor" = {
|
deactivated = "";
|
||||||
format = "{icon}";
|
|
||||||
format-icons = {
|
|
||||||
activated = "";
|
|
||||||
deactivated = "";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
pulseaudio = {
|
|
||||||
scroll-step = 1;
|
|
||||||
format = "{volume}% {icon}";
|
|
||||||
format-bluetooth = "{volume}% {icon}";
|
|
||||||
format-bluetooth-muted = "{icon} {format_source}";
|
|
||||||
format-muted = "{format_source}";
|
|
||||||
format-source = "";
|
|
||||||
format-source-muted = "";
|
|
||||||
format-icons = {
|
|
||||||
headphone = "";
|
|
||||||
hands-free = "";
|
|
||||||
headset = "";
|
|
||||||
phone = "";
|
|
||||||
portable = "";
|
|
||||||
car = "";
|
|
||||||
default = [ "" "" "" ];
|
|
||||||
};
|
|
||||||
on-click = "pavucontrol";
|
|
||||||
ignored-sinks = [ "Easy Effects Sink" ];
|
|
||||||
};
|
|
||||||
network = {
|
|
||||||
# // "interface": "wlp2*", // (Optional) To force the use of this interface
|
|
||||||
format-wifi = "{essid} ({signalStrength}%) ";
|
|
||||||
format-ethernet = "Connected ";
|
|
||||||
tooltip-format = "{ifname} via {gwaddr} ";
|
|
||||||
format-linked = "{ifname} (No IP) ";
|
|
||||||
format-disconnected = "Disconnected ⚠";
|
|
||||||
format-alt = "{ifname}: {ipaddr}/{cidr}";
|
|
||||||
on-click-right = "bash ~/.config/rofi/wifi_menu/rofi_wifi_menu";
|
|
||||||
};
|
|
||||||
cpu = {
|
|
||||||
format = "{usage}% ";
|
|
||||||
tooltip = false;
|
|
||||||
};
|
|
||||||
memory = { format = "{}% ({used}GB/{total}GB) "; };
|
|
||||||
"tray" = {
|
|
||||||
icon-size = 20;
|
|
||||||
spacing = 10;
|
|
||||||
};
|
|
||||||
"clock" = { format = "{:%I:%M%p %Y-%m-%d}"; };
|
|
||||||
"custom/media" = {
|
|
||||||
format = "{icon} {}";
|
|
||||||
return-type = "json";
|
|
||||||
max-length = 50;
|
|
||||||
format-icons = {
|
|
||||||
spotify = " ";
|
|
||||||
firefox = " ";
|
|
||||||
mopidy = " ";
|
|
||||||
default = " ";
|
|
||||||
};
|
|
||||||
escape = true;
|
|
||||||
exec = "waybar-mediaplayer.py 2> /dev/null";
|
|
||||||
on-click = "playerctl play-pause";
|
|
||||||
};
|
|
||||||
"custom/notification" = {
|
|
||||||
tooltip = false;
|
|
||||||
format = "{icon}";
|
|
||||||
format-icons = {
|
|
||||||
notification = " <span foreground='red'><sup></sup></span> ";
|
|
||||||
none = " ";
|
|
||||||
dnd-notification =
|
|
||||||
" <span foreground='red'><sup></sup></span> ";
|
|
||||||
dnd-none = "";
|
|
||||||
inhibited-notification =
|
|
||||||
" <span foreground='red'><sup></sup></span> ";
|
|
||||||
inhibited-none = " ";
|
|
||||||
dnd-inhibited-notification =
|
|
||||||
" <span foreground='red'><sup></sup></span> ";
|
|
||||||
dnd-inhibited-none = " ";
|
|
||||||
};
|
|
||||||
return-type = "json";
|
|
||||||
exec-if = "which swaync-client";
|
|
||||||
exec = "swaync-client -swb";
|
|
||||||
on-click = "swaync-client -t -sw";
|
|
||||||
on-click-right = "swaync-client -d -sw";
|
|
||||||
escape = true;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
pulseaudio = {
|
||||||
style = ''
|
scroll-step = 1;
|
||||||
* {
|
format = "{volume}% {icon}";
|
||||||
border: none;
|
format-bluetooth = "{volume}% {icon}";
|
||||||
border-radius: 0px;
|
format-bluetooth-muted = "{icon} {format_source}";
|
||||||
font-family: Roboto, Helvetica, Arial, sans-serif;
|
format-muted = "{format_source}";
|
||||||
font-size: 12px;
|
format-source = "";
|
||||||
min-height: 0;
|
format-source-muted = "";
|
||||||
}
|
format-icons = {
|
||||||
|
headphone = "";
|
||||||
window#waybar {
|
hands-free = "";
|
||||||
background-color: transparent;
|
headset = "";
|
||||||
color: #ffffff;
|
phone = "";
|
||||||
transition-property: background-color;
|
portable = "";
|
||||||
transition-duration: .5s;
|
car = "";
|
||||||
}
|
default = [ "" "" "" ];
|
||||||
|
};
|
||||||
window#waybar.hidden {
|
on-click = "pavucontrol";
|
||||||
opacity: 0.2;
|
ignored-sinks = [ "Easy Effects Sink" ];
|
||||||
}
|
};
|
||||||
|
network = {
|
||||||
|
# // "interface": "wlp2*", // (Optional) To force the use of this interface
|
||||||
#workspaces button {
|
format-wifi = "{essid} ({signalStrength}%) ";
|
||||||
background: #1f1f1f;
|
format-ethernet = "Connected ";
|
||||||
color: #ffffff;
|
tooltip-format = "{ifname} via {gwaddr} ";
|
||||||
border-radius: 20px;
|
format-linked = "{ifname} (No IP) ";
|
||||||
|
format-disconnected = "Disconnected ⚠";
|
||||||
}
|
format-alt = "{ifname}: {ipaddr}/{cidr}";
|
||||||
|
on-click-right = "bash ~/.config/rofi/wifi_menu/rofi_wifi_menu";
|
||||||
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
|
};
|
||||||
#workspaces button:hover {
|
cpu = {
|
||||||
background: lightblue;
|
format = "{usage}% ";
|
||||||
color: black;
|
tooltip = false;
|
||||||
border-bottom: 3px solid #ffffff;
|
};
|
||||||
|
memory = { format = "{}% ({used}GB/{total}GB) "; };
|
||||||
}
|
"tray" = {
|
||||||
|
icon-size = 20;
|
||||||
#workspaces button.active {
|
spacing = 10;
|
||||||
background: #3f3f3f;
|
};
|
||||||
}
|
"clock" = { format = "{:%I:%M%p %Y-%m-%d}"; };
|
||||||
|
"custom/media" = {
|
||||||
#workspaces button.active:hover {
|
format = "{icon} {}";
|
||||||
background: lightblue;
|
return-type = "json";
|
||||||
color: black;
|
max-length = 50;
|
||||||
border-bottom: 3px solid #ffffff;
|
format-icons = {
|
||||||
|
spotify = " ";
|
||||||
}
|
firefox = " ";
|
||||||
|
mopidy = " ";
|
||||||
#workspaces button.urgent {
|
default = " ";
|
||||||
background-color: #eb4d4b;
|
};
|
||||||
}
|
escape = true;
|
||||||
|
exec = "waybar-mediaplayer.py 2> /dev/null";
|
||||||
#mode {
|
on-click = "playerctl play-pause";
|
||||||
background-color: #64727D;
|
};
|
||||||
border-bottom: 3px solid #ffffff;
|
"custom/notification" = {
|
||||||
}
|
tooltip = false;
|
||||||
|
format = "{icon}";
|
||||||
#clock,
|
format-icons = {
|
||||||
#battery,
|
notification = " <span foreground='red'><sup></sup></span> ";
|
||||||
#cpu,
|
none = " ";
|
||||||
#memory,
|
dnd-notification = " <span foreground='red'><sup></sup></span> ";
|
||||||
#disk,
|
dnd-none = "";
|
||||||
#temperature,
|
inhibited-notification =
|
||||||
#backlight,
|
" <span foreground='red'><sup></sup></span> ";
|
||||||
#network,
|
inhibited-none = " ";
|
||||||
#pulseaudio,
|
dnd-inhibited-notification =
|
||||||
#custom-media,
|
" <span foreground='red'><sup></sup></span> ";
|
||||||
#custom-launcher,
|
dnd-inhibited-none = " ";
|
||||||
#custom-power,
|
};
|
||||||
#tray,
|
return-type = "json";
|
||||||
#mode,
|
exec-if = "which swaync-client";
|
||||||
#idle_inhibitor,
|
exec = "swaync-client -swb";
|
||||||
#mpd {
|
on-click = "swaync-client -t -sw";
|
||||||
padding: 0 10px;
|
on-click-right = "swaync-client -d -sw";
|
||||||
color: black;
|
escape = true;
|
||||||
}
|
};
|
||||||
#mpd {
|
|
||||||
background-color: #8EC5FC;
|
|
||||||
background-image: linear-gradient(62deg, #8EC5FC 0%, #E0C3FC 100%);
|
|
||||||
color: black;
|
|
||||||
border-radius: 20px;
|
|
||||||
margin-right: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#window,
|
|
||||||
#workspaces {
|
|
||||||
margin: 0px 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* If workspaces is the leftmost module, omit left margin */
|
|
||||||
.modules-left > widget:first-child > #workspaces {
|
|
||||||
margin-left: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* If workspaces is the rightmost module, omit right margin */
|
|
||||||
.modules-right > widget:last-child > #workspaces {
|
|
||||||
margin-right: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#clock {
|
|
||||||
background-color: #FA8BFF;
|
|
||||||
background-image: linear-gradient(-45deg, #FA8BFF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
|
||||||
color: black;
|
|
||||||
border-radius: 0px 20px 20px 0px;
|
|
||||||
margin-right: 4px;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
#battery {
|
|
||||||
background-color: #ffffff;
|
|
||||||
color: #000000;
|
|
||||||
}
|
|
||||||
|
|
||||||
#battery.charging, #battery.plugged {
|
|
||||||
color: #ffffff;
|
|
||||||
background-color: #26A65B;
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes blink {
|
|
||||||
to {
|
|
||||||
background-color: #ffffff;
|
|
||||||
color: #000000;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#battery.critical:not(.charging) {
|
|
||||||
background-color: #f53c3c;
|
|
||||||
color: #ffffff;
|
|
||||||
animation-name: blink;
|
|
||||||
animation-duration: 0.5s;
|
|
||||||
animation-timing-function: linear;
|
|
||||||
animation-iteration-count: infinite;
|
|
||||||
animation-direction: alternate;
|
|
||||||
}
|
|
||||||
|
|
||||||
label:focus {
|
|
||||||
background-color: #000000;
|
|
||||||
}
|
|
||||||
|
|
||||||
#cpu {
|
|
||||||
background-color: #FA8BFF;
|
|
||||||
background-image: linear-gradient(45deg, #2BD2FF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
|
|
||||||
#custom-notification {
|
|
||||||
background-color: #FA8BFF;
|
|
||||||
background-image: linear-gradient(45deg, #2BD2FF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
|
|
||||||
#memory {
|
|
||||||
background-color: #FA8BFF;
|
|
||||||
background-image: linear-gradient(45deg, #2BD2FF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
|
|
||||||
#disk {
|
|
||||||
background-color: #FA8BFF;
|
|
||||||
background-image: linear-gradient(45deg, #2BD2FF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
|
|
||||||
#backlight {
|
|
||||||
background-color: #FA8BFF;
|
|
||||||
background-image: linear-gradient(45deg, #2BD2FF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
#network {
|
|
||||||
background-color: #FA8BFF;
|
|
||||||
background-image: linear-gradient(45deg, #2BD2FF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
|
|
||||||
#network.disconnected {
|
|
||||||
background-color: #FA8BFF;
|
|
||||||
background-image: linear-gradient(45deg, #2BD2FF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
|
||||||
color: red;
|
|
||||||
}
|
|
||||||
|
|
||||||
#pulseaudio {
|
|
||||||
background-color: #FA8BFF;
|
|
||||||
background-image: linear-gradient(45deg, #2BD2FF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
|
|
||||||
#pulseaudio.muted {
|
|
||||||
background-color: #FA8BFF;
|
|
||||||
background-image: linear-gradient(45deg, #2BD2FF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
|
||||||
color: red;
|
|
||||||
}
|
|
||||||
|
|
||||||
#custom-media {
|
|
||||||
background-color: #8EC5FC;
|
|
||||||
background-image: linear-gradient(62deg, #8EC5FC 0%, #E0C3FC 100%);
|
|
||||||
color: black;
|
|
||||||
border-radius: 20px;
|
|
||||||
margin-right: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#custom-media {
|
|
||||||
background-color: #8EC5FC;
|
|
||||||
background-image: linear-gradient(62deg, #8EC5FC 0%, #E0C3FC 100%);
|
|
||||||
color: black;
|
|
||||||
border-radius: 20px;
|
|
||||||
margin-right: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#custom-media.custom-spotify {
|
|
||||||
background-color: #8EC5FC;
|
|
||||||
background-image: linear-gradient(62deg, #8EC5FC 0%, #E0C3FC 100%);
|
|
||||||
color: black;
|
|
||||||
border-radius: 20px;
|
|
||||||
margin-right: 5px;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
#custom-media.custom-vlc {
|
|
||||||
background-color: #8EC5FC;
|
|
||||||
background-image: linear-gradient(62deg, #8EC5FC 0%, #E0C3FC 100%);
|
|
||||||
color: black;
|
|
||||||
border-radius: 20px;
|
|
||||||
margin-right: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#custom-power{
|
|
||||||
background-color: #FA8BFF;
|
|
||||||
background-image: linear-gradient(45deg, #FA8BFF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
|
||||||
font-size: 16px;
|
|
||||||
border-radius: 19px;
|
|
||||||
|
|
||||||
}
|
|
||||||
#custom-launcher{
|
|
||||||
background-color: #FA8BFF;
|
|
||||||
background-image: linear-gradient(-45deg, #FA8BFF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
|
||||||
font-size: 18px;
|
|
||||||
border-radius: 20px;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
#custom-updater {
|
|
||||||
background-color: #FA8BFF;
|
|
||||||
background-image: linear-gradient(45deg, #2BD2FF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#temperature {
|
|
||||||
background-color: #FA8BFF;
|
|
||||||
background-image: linear-gradient(45deg, #2BD2FF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
|
|
||||||
#temperature.critical {
|
|
||||||
background-color: #eb4d4b;
|
|
||||||
}
|
|
||||||
|
|
||||||
#tray {
|
|
||||||
background-color: #FA8BFF;
|
|
||||||
background-image: linear-gradient(-45deg, #2BD2FF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
|
|
||||||
#tray > .passive {
|
|
||||||
-gtk-icon-effect: dim;
|
|
||||||
background-color: #FA8BFF;
|
|
||||||
background-image: linear-gradient(-45deg, #FA8BFF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
|
|
||||||
#tray > .needs-attention {
|
|
||||||
-gtk-icon-effect: highlight;
|
|
||||||
background-color: #FA8BFF;
|
|
||||||
background-image: linear-gradient(-45deg, #FA8BFF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
|
|
||||||
#idle_inhibitor {
|
|
||||||
background-color: #FA8BFF;
|
|
||||||
background-image: linear-gradient(45deg, #FA8BFF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
|
||||||
border-radius: 20px 0px 0px 20px;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
#idle_inhibitor.activated {
|
|
||||||
background-color: #FA8BFF;
|
|
||||||
background-image: linear-gradient(45deg, #FA8BFF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
|
||||||
color: black;
|
|
||||||
border-radius: 20px 0px 0px 20px;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
#language {
|
|
||||||
background-color: #FA8BFF;
|
|
||||||
background-image: linear-gradient(45deg, #2BD2FF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
|
||||||
color: black;
|
|
||||||
min-width: 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#keyboard-state {
|
|
||||||
background: #97e1ad;
|
|
||||||
color: #000000;
|
|
||||||
min-width: 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#keyboard-state > label {
|
|
||||||
padding: 0px 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#keyboard-state > label.locked {
|
|
||||||
background: rgba(0, 0, 0, 0.2);
|
|
||||||
}
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
# Override the service to run during graphical-session-pre.target
|
|
||||||
systemd.user.services.waybar = {
|
|
||||||
Unit = {
|
|
||||||
Description =
|
|
||||||
"Highly customizable Wayland bar for Sway and Wlroots based compositors.";
|
|
||||||
Documentation = "https://github.com/Alexays/Waybar/wiki";
|
|
||||||
Before = [ "tray.target" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
Service = {
|
|
||||||
ExecStart = "${config.programs.waybar.package}/bin/waybar";
|
|
||||||
ExecReload = "${pkgs.coreutils}/bin/kill -SIGUSR2 $MAINPID";
|
|
||||||
ExecStartPost = "${pkgs.coreutils}/bin/sleep 1";
|
|
||||||
Restart = "on-failure";
|
|
||||||
KillMode = "mixed";
|
|
||||||
};
|
|
||||||
|
|
||||||
Install = { WantedBy = targets; };
|
|
||||||
};
|
|
||||||
#########################
|
|
||||||
## Create tray target to fix some things
|
|
||||||
#########################
|
|
||||||
systemd.user.targets.tray = {
|
|
||||||
Unit = {
|
|
||||||
Description = "Home Manager System Tray";
|
|
||||||
Requires = [ "graphical-session-pre.target" "waybar.service" ];
|
|
||||||
After = [ "waybar.service" ];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
style = ''
|
||||||
|
* {
|
||||||
|
border: none;
|
||||||
|
border-radius: 0px;
|
||||||
|
font-family: Roboto, Helvetica, Arial, sans-serif;
|
||||||
|
font-size: 12px;
|
||||||
|
min-height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
})
|
window#waybar {
|
||||||
]
|
background-color: transparent;
|
||||||
|
color: #ffffff;
|
||||||
|
transition-property: background-color;
|
||||||
|
transition-duration: .5s;
|
||||||
|
}
|
||||||
|
|
||||||
|
window#waybar.hidden {
|
||||||
|
opacity: 0.2;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#workspaces button {
|
||||||
|
background: #1f1f1f;
|
||||||
|
color: #ffffff;
|
||||||
|
border-radius: 20px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
|
||||||
|
#workspaces button:hover {
|
||||||
|
background: lightblue;
|
||||||
|
color: black;
|
||||||
|
border-bottom: 3px solid #ffffff;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.active {
|
||||||
|
background: #3f3f3f;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.active:hover {
|
||||||
|
background: lightblue;
|
||||||
|
color: black;
|
||||||
|
border-bottom: 3px solid #ffffff;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.urgent {
|
||||||
|
background-color: #eb4d4b;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mode {
|
||||||
|
background-color: #64727D;
|
||||||
|
border-bottom: 3px solid #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
#clock,
|
||||||
|
#battery,
|
||||||
|
#cpu,
|
||||||
|
#memory,
|
||||||
|
#disk,
|
||||||
|
#temperature,
|
||||||
|
#backlight,
|
||||||
|
#network,
|
||||||
|
#pulseaudio,
|
||||||
|
#custom-media,
|
||||||
|
#custom-launcher,
|
||||||
|
#custom-power,
|
||||||
|
#tray,
|
||||||
|
#mode,
|
||||||
|
#idle_inhibitor,
|
||||||
|
#mpd {
|
||||||
|
padding: 0 10px;
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
#mpd {
|
||||||
|
background-color: #8EC5FC;
|
||||||
|
background-image: linear-gradient(62deg, #8EC5FC 0%, #E0C3FC 100%);
|
||||||
|
color: black;
|
||||||
|
border-radius: 20px;
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#window,
|
||||||
|
#workspaces {
|
||||||
|
margin: 0px 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* If workspaces is the leftmost module, omit left margin */
|
||||||
|
.modules-left > widget:first-child > #workspaces {
|
||||||
|
margin-left: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* If workspaces is the rightmost module, omit right margin */
|
||||||
|
.modules-right > widget:last-child > #workspaces {
|
||||||
|
margin-right: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#clock {
|
||||||
|
background-color: #FA8BFF;
|
||||||
|
background-image: linear-gradient(-45deg, #FA8BFF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
||||||
|
color: black;
|
||||||
|
border-radius: 0px 20px 20px 0px;
|
||||||
|
margin-right: 4px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#battery {
|
||||||
|
background-color: #ffffff;
|
||||||
|
color: #000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
#battery.charging, #battery.plugged {
|
||||||
|
color: #ffffff;
|
||||||
|
background-color: #26A65B;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes blink {
|
||||||
|
to {
|
||||||
|
background-color: #ffffff;
|
||||||
|
color: #000000;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#battery.critical:not(.charging) {
|
||||||
|
background-color: #f53c3c;
|
||||||
|
color: #ffffff;
|
||||||
|
animation-name: blink;
|
||||||
|
animation-duration: 0.5s;
|
||||||
|
animation-timing-function: linear;
|
||||||
|
animation-iteration-count: infinite;
|
||||||
|
animation-direction: alternate;
|
||||||
|
}
|
||||||
|
|
||||||
|
label:focus {
|
||||||
|
background-color: #000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
#cpu {
|
||||||
|
background-color: #FA8BFF;
|
||||||
|
background-image: linear-gradient(45deg, #2BD2FF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-notification {
|
||||||
|
background-color: #FA8BFF;
|
||||||
|
background-image: linear-gradient(45deg, #2BD2FF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
#memory {
|
||||||
|
background-color: #FA8BFF;
|
||||||
|
background-image: linear-gradient(45deg, #2BD2FF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
#disk {
|
||||||
|
background-color: #FA8BFF;
|
||||||
|
background-image: linear-gradient(45deg, #2BD2FF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
#backlight {
|
||||||
|
background-color: #FA8BFF;
|
||||||
|
background-image: linear-gradient(45deg, #2BD2FF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#network {
|
||||||
|
background-color: #FA8BFF;
|
||||||
|
background-image: linear-gradient(45deg, #2BD2FF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
#network.disconnected {
|
||||||
|
background-color: #FA8BFF;
|
||||||
|
background-image: linear-gradient(45deg, #2BD2FF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
|
|
||||||
|
#pulseaudio {
|
||||||
|
background-color: #FA8BFF;
|
||||||
|
background-image: linear-gradient(45deg, #2BD2FF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
#pulseaudio.muted {
|
||||||
|
background-color: #FA8BFF;
|
||||||
|
background-image: linear-gradient(45deg, #2BD2FF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-media {
|
||||||
|
background-color: #8EC5FC;
|
||||||
|
background-image: linear-gradient(62deg, #8EC5FC 0%, #E0C3FC 100%);
|
||||||
|
color: black;
|
||||||
|
border-radius: 20px;
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#custom-media {
|
||||||
|
background-color: #8EC5FC;
|
||||||
|
background-image: linear-gradient(62deg, #8EC5FC 0%, #E0C3FC 100%);
|
||||||
|
color: black;
|
||||||
|
border-radius: 20px;
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-media.custom-spotify {
|
||||||
|
background-color: #8EC5FC;
|
||||||
|
background-image: linear-gradient(62deg, #8EC5FC 0%, #E0C3FC 100%);
|
||||||
|
color: black;
|
||||||
|
border-radius: 20px;
|
||||||
|
margin-right: 5px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-media.custom-vlc {
|
||||||
|
background-color: #8EC5FC;
|
||||||
|
background-image: linear-gradient(62deg, #8EC5FC 0%, #E0C3FC 100%);
|
||||||
|
color: black;
|
||||||
|
border-radius: 20px;
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-power{
|
||||||
|
background-color: #FA8BFF;
|
||||||
|
background-image: linear-gradient(45deg, #FA8BFF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
||||||
|
font-size: 16px;
|
||||||
|
border-radius: 19px;
|
||||||
|
|
||||||
|
}
|
||||||
|
#custom-launcher{
|
||||||
|
background-color: #FA8BFF;
|
||||||
|
background-image: linear-gradient(-45deg, #FA8BFF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
||||||
|
font-size: 18px;
|
||||||
|
border-radius: 20px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-updater {
|
||||||
|
background-color: #FA8BFF;
|
||||||
|
background-image: linear-gradient(45deg, #2BD2FF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#temperature {
|
||||||
|
background-color: #FA8BFF;
|
||||||
|
background-image: linear-gradient(45deg, #2BD2FF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
#temperature.critical {
|
||||||
|
background-color: #eb4d4b;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tray {
|
||||||
|
background-color: #FA8BFF;
|
||||||
|
background-image: linear-gradient(-45deg, #2BD2FF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tray > .passive {
|
||||||
|
-gtk-icon-effect: dim;
|
||||||
|
background-color: #FA8BFF;
|
||||||
|
background-image: linear-gradient(-45deg, #FA8BFF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tray > .needs-attention {
|
||||||
|
-gtk-icon-effect: highlight;
|
||||||
|
background-color: #FA8BFF;
|
||||||
|
background-image: linear-gradient(-45deg, #FA8BFF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
#idle_inhibitor {
|
||||||
|
background-color: #FA8BFF;
|
||||||
|
background-image: linear-gradient(45deg, #FA8BFF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
||||||
|
border-radius: 20px 0px 0px 20px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#idle_inhibitor.activated {
|
||||||
|
background-color: #FA8BFF;
|
||||||
|
background-image: linear-gradient(45deg, #FA8BFF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
||||||
|
color: black;
|
||||||
|
border-radius: 20px 0px 0px 20px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#language {
|
||||||
|
background-color: #FA8BFF;
|
||||||
|
background-image: linear-gradient(45deg, #2BD2FF 0%, #2BD2FF 52%, #2BD2FF 90%);
|
||||||
|
color: black;
|
||||||
|
min-width: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#keyboard-state {
|
||||||
|
background: #97e1ad;
|
||||||
|
color: #000000;
|
||||||
|
min-width: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#keyboard-state > label {
|
||||||
|
padding: 0px 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#keyboard-state > label.locked {
|
||||||
|
background: rgba(0, 0, 0, 0.2);
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
# Override the service to run during graphical-session-pre.target
|
||||||
|
systemd.user.services.waybar = {
|
||||||
|
Unit = {
|
||||||
|
Description =
|
||||||
|
"Highly customizable Wayland bar for Sway and Wlroots based compositors.";
|
||||||
|
Documentation = "https://github.com/Alexays/Waybar/wiki";
|
||||||
|
Before = [ "tray.target" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
Service = {
|
||||||
|
ExecStart = "${config.programs.waybar.package}/bin/waybar";
|
||||||
|
ExecReload = "${pkgs.coreutils}/bin/kill -SIGUSR2 $MAINPID";
|
||||||
|
ExecStartPost = "${pkgs.coreutils}/bin/sleep 1";
|
||||||
|
Restart = "on-failure";
|
||||||
|
KillMode = "mixed";
|
||||||
|
};
|
||||||
|
|
||||||
|
Install = { WantedBy = targets; };
|
||||||
|
};
|
||||||
|
#########################
|
||||||
|
## Create tray target to fix some things
|
||||||
|
#########################
|
||||||
|
systemd.user.targets.tray = {
|
||||||
|
Unit = {
|
||||||
|
Description = "Home Manager System Tray";
|
||||||
|
Requires = [ "graphical-session-pre.target" "waybar.service" ];
|
||||||
|
After = [ "waybar.service" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
|
|
|
@ -86,84 +86,57 @@ in with lib; {
|
||||||
preserve_split = true # you probably want this
|
preserve_split = true # you probably want this
|
||||||
}
|
}
|
||||||
|
|
||||||
master {
|
|
||||||
new_is_master = false
|
|
||||||
}
|
|
||||||
|
|
||||||
gestures {
|
gestures {
|
||||||
workspace_swipe = false
|
workspace_swipe = false
|
||||||
}
|
}
|
||||||
|
|
||||||
bind = SUPER, Q, exec, alacritty
|
$mainMod = SUPER
|
||||||
bind = SUPER, C, killactive,
|
|
||||||
# bind = SUPER, M, exit,
|
|
||||||
bind = SUPER, E, exec, dolphin
|
|
||||||
bind = SUPER, V, togglefloating,
|
|
||||||
bind = SUPER, P, pseudo, # dwindle
|
|
||||||
bind = SUPER, B, togglesplit, # dwindle
|
|
||||||
|
|
||||||
# Maximize
|
bind = $mainMod, Q, exec, alacritty
|
||||||
bind = SUPER, A, fullscreen, 1
|
bind = $mainMod, C, killactive,
|
||||||
bind = SUPER SHIFT, A, fullscreen, 0
|
# bind = $mainMod, M, exit,
|
||||||
|
bind = $mainMod, E, exec, dolphin
|
||||||
|
bind = $mainMod, V, togglefloating,
|
||||||
|
bind = $mainMod, P, pseudo, # dwindle
|
||||||
|
bind = $mainMod, B, togglesplit, # dwindle
|
||||||
|
|
||||||
# Move focus with mainMod + arrow keys
|
# Move focus with mainMod + arrow keys
|
||||||
bind = SUPER, H, movefocus, l
|
bind = $mainMod, H, movefocus, l
|
||||||
bind = SUPER, L, movefocus, r
|
bind = $mainMod, L, movefocus, r
|
||||||
bind = SUPER, K, movefocus, u
|
bind = $mainMod, K, movefocus, u
|
||||||
bind = SUPER, K, layoutmsg, focusnext
|
bind = $mainMod, J, movefocus, d
|
||||||
bind = SUPER, J, movefocus, d
|
|
||||||
bind = SUPER, J, layoutmsg, focusprev
|
|
||||||
|
|
||||||
# Move windows with mainMod + arrow keys
|
|
||||||
bind = SUPER SHIFT, H, movewindow, l
|
|
||||||
bind = SUPER SHIFT, L, movewindow, r
|
|
||||||
bind = SUPER SHIFT, K, movewindow, u
|
|
||||||
bind = SUPER SHIFT, K, layoutmsg, swapnext
|
|
||||||
bind = SUPER SHIFT, J, movewindow, d
|
|
||||||
bind = SUPER SHIFT, J, layoutmsg, swapprev
|
|
||||||
|
|
||||||
# Switch layouts with a mode
|
|
||||||
bind = SUPER, S, submap, layout
|
|
||||||
submap=layout
|
|
||||||
# dwindle
|
|
||||||
bind = , A, exec, hyprctl keyword general:layout dwindle
|
|
||||||
bind = , A, submap, reset
|
|
||||||
# master
|
|
||||||
bind = , S, exec, hyprctl keyword general:layout master
|
|
||||||
bind = , S, submap, reset
|
|
||||||
submap = reset
|
|
||||||
|
|
||||||
# Switch workspaces with mainMod + [0-9]
|
# Switch workspaces with mainMod + [0-9]
|
||||||
bind = SUPER, 1, workspace, 1
|
bind = $mainMod, 1, workspace, 1
|
||||||
bind = SUPER, 2, workspace, 2
|
bind = $mainMod, 2, workspace, 2
|
||||||
bind = SUPER, 3, workspace, 3
|
bind = $mainMod, 3, workspace, 3
|
||||||
bind = SUPER, 4, workspace, 4
|
bind = $mainMod, 4, workspace, 4
|
||||||
bind = SUPER, 5, workspace, 5
|
bind = $mainMod, 5, workspace, 5
|
||||||
bind = SUPER, 6, workspace, 6
|
bind = $mainMod, 6, workspace, 6
|
||||||
bind = SUPER, 7, workspace, 7
|
bind = $mainMod, 7, workspace, 7
|
||||||
bind = SUPER, 8, workspace, 8
|
bind = $mainMod, 8, workspace, 8
|
||||||
bind = SUPER, 9, workspace, 9
|
bind = $mainMod, 9, workspace, 9
|
||||||
bind = SUPER, 0, workspace, 10
|
bind = $mainMod, 0, workspace, 10
|
||||||
|
|
||||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||||
bind = SUPER SHIFT, 1, movetoworkspace, 1
|
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||||
bind = SUPER SHIFT, 2, movetoworkspace, 2
|
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
||||||
bind = SUPER SHIFT, 3, movetoworkspace, 3
|
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
||||||
bind = SUPER SHIFT, 4, movetoworkspace, 4
|
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
||||||
bind = SUPER SHIFT, 5, movetoworkspace, 5
|
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
||||||
bind = SUPER SHIFT, 6, movetoworkspace, 6
|
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
||||||
bind = SUPER SHIFT, 7, movetoworkspace, 7
|
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
||||||
bind = SUPER SHIFT, 8, movetoworkspace, 8
|
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
||||||
bind = SUPER SHIFT, 9, movetoworkspace, 9
|
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||||
bind = SUPER SHIFT, 0, movetoworkspace, 10
|
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||||
|
|
||||||
# Scroll through existing workspaces with mainMod + scroll
|
# Scroll through existing workspaces with mainMod + scroll
|
||||||
bind = SUPER, mouse_down, workspace, e+1
|
bind = $mainMod, mouse_down, workspace, e+1
|
||||||
bind = SUPER, mouse_up, workspace, e-1
|
bind = $mainMod, mouse_up, workspace, e-1
|
||||||
|
|
||||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||||
bindm = SUPER, mouse:272, movewindow
|
bindm = $mainMod, mouse:272, movewindow
|
||||||
bindm = SUPER, mouse:273, resizewindow
|
bindm = $mainMod, mouse:273, resizewindow
|
||||||
|
|
||||||
# Media key binds
|
# Media key binds
|
||||||
bind = , xf86audioraisevolume, exec, swayosd --output-volume=raise
|
bind = , xf86audioraisevolume, exec, swayosd --output-volume=raise
|
||||||
|
@ -196,35 +169,6 @@ in with lib; {
|
||||||
windowrulev2 = float,class:^(.blueman-manager-wrapped)$
|
windowrulev2 = float,class:^(.blueman-manager-wrapped)$
|
||||||
windowrulev2 = center,class:^(.blueman-manager-wrapped)$
|
windowrulev2 = center,class:^(.blueman-manager-wrapped)$
|
||||||
|
|
||||||
# firefox Picture-in-Picture
|
|
||||||
windowrulev2 = float,class:^(firefox)$,title:^(Picture-in-Picture)$
|
|
||||||
windowrulev2 = pin,class:^(firefox)$,title:^(Picture-in-Picture)$
|
|
||||||
windowrulev2 = nofullscreenrequest,class:^(firefox)$,title:^(Picture-in-Picture)$
|
|
||||||
|
|
||||||
# firefox figma micro indicator
|
|
||||||
windowrulev2 = nofullscreenrequest,class:^(firefox)$,title:^(Firefox — Sharing Indicator)$
|
|
||||||
windowrulev2 = float,class:^(firefox)$,title:^(Firefox — Sharing Indicator)$
|
|
||||||
|
|
||||||
# Common modals
|
|
||||||
windowrule = float,title:^(Open)$
|
|
||||||
windowrule = center,title:^(Open)$
|
|
||||||
windowrule = float,title:^(Choose Files)$
|
|
||||||
windowrule = center,title:^(Choose Files)$
|
|
||||||
windowrule = float,title:^(Save As)$
|
|
||||||
windowrule = center,title:^(Save As)$
|
|
||||||
windowrule = float,title:^(Confirm to replace files)$
|
|
||||||
windowrule = center,title:^(Confirm to replace files)$
|
|
||||||
windowrule = float,title:^(File Operation Progress)$
|
|
||||||
windowrule = center,title:^(File Operation Progress)$
|
|
||||||
windowrulev2 = float,class:^(google-chrome)$,title:^(Open Files)$
|
|
||||||
windowrulev2 = center,class:^(google-chrome)$,title:^(Open Files)$
|
|
||||||
windowrulev2 = float,class:^(google-chrome)$,title:^(Open File)$
|
|
||||||
windowrulev2 = center,class:^(google-chrome)$,title:^(Open File)$
|
|
||||||
|
|
||||||
# Pavucontrol
|
|
||||||
windowrule = center,pavucontrol
|
|
||||||
windowrule = float,pavucontrol
|
|
||||||
|
|
||||||
## Scratchpads
|
## Scratchpads
|
||||||
|
|
||||||
# Alacritty
|
# Alacritty
|
||||||
|
|
|
@ -26,12 +26,8 @@
|
||||||
sensitivity = -0.8
|
sensitivity = -0.8
|
||||||
# accel_profile = flat
|
# accel_profile = flat
|
||||||
}
|
}
|
||||||
master {
|
|
||||||
mfact = 0.68
|
|
||||||
}
|
|
||||||
exec-once=hyprpaper
|
exec-once=hyprpaper
|
||||||
'';
|
'';
|
||||||
################################################################################
|
|
||||||
|
|
||||||
# Background
|
# Background
|
||||||
xdg.configFile."hypr/hyprpaper.conf" = {
|
xdg.configFile."hypr/hyprpaper.conf" = {
|
||||||
|
|
Loading…
Reference in New Issue