waybar fix
This commit is contained in:
@@ -34,6 +34,14 @@
|
|||||||
|
|
||||||
programs.nm-applet.enable = true;
|
programs.nm-applet.enable = true;
|
||||||
hardware.wirelessRegulatoryDatabase = true;
|
hardware.wirelessRegulatoryDatabase = true;
|
||||||
|
|
||||||
|
home-manager.users.jeremy = { ... }: {
|
||||||
|
wayland.windowManager.hyprland.settings.monitor = [
|
||||||
|
"DP-3, 2560x1440@144, 0x-560, 1, transform, 1"
|
||||||
|
"HDMI-A-1, 2560x1440@170, 1440x0, 1"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
# systemd.services.heat-room = {
|
# systemd.services.heat-room = {
|
||||||
# description = "Morning room heating";
|
# description = "Morning room heating";
|
||||||
# after = [ "graphical-session.target" ];
|
# after = [ "graphical-session.target" ];
|
||||||
|
|||||||
@@ -2,11 +2,16 @@
|
|||||||
{ config, lib, pkgs, inputs, ... }:
|
{ config, lib, pkgs, inputs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
imports = [ ./waybar.nix ];
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
|
||||||
programs.hyprland.enable = true;
|
programs.hyprland.enable = true;
|
||||||
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ]; # GNOME-style file pickers
|
xdg.portal = {
|
||||||
|
enable = true;
|
||||||
|
extraPortals = [ pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-hyprland ];
|
||||||
|
};
|
||||||
programs.dconf.profiles.user.databases = [{
|
programs.dconf.profiles.user.databases = [{
|
||||||
settings."org/gnome/desktop/interface" = {
|
settings."org/gnome/desktop/interface" = {
|
||||||
color-scheme = "prefer-dark";
|
color-scheme = "prefer-dark";
|
||||||
@@ -94,12 +99,17 @@
|
|||||||
exec-once = [
|
exec-once = [
|
||||||
"waybar"
|
"waybar"
|
||||||
"mako"
|
"mako"
|
||||||
|
"hyprpaper"
|
||||||
# "nm-applet"
|
# "nm-applet"
|
||||||
# "hypridle"
|
# "hypridle"
|
||||||
#"nextcloud --background"
|
#"nextcloud --background"
|
||||||
];
|
];
|
||||||
|
|
||||||
env = [ "XCURSOR_THEME,Adwaita" "XCURSOR_SIZE,24" ];
|
env = [
|
||||||
|
"XCURSOR_THEME,Adwaita"
|
||||||
|
"XCURSOR_SIZE,24"
|
||||||
|
"XDG_CURRENT_DESKTOP,Hyprland:GNOME"
|
||||||
|
];
|
||||||
|
|
||||||
misc = {
|
misc = {
|
||||||
force_default_wallpaper = 0;
|
force_default_wallpaper = 0;
|
||||||
@@ -152,6 +162,11 @@
|
|||||||
"$mod, K, movefocus, u"
|
"$mod, K, movefocus, u"
|
||||||
"$mod, J, movefocus, d"
|
"$mod, J, movefocus, d"
|
||||||
|
|
||||||
|
"$mod SHIFT, H, movewindow, l"
|
||||||
|
"$mod SHIFT, L, movewindow, r"
|
||||||
|
"$mod SHIFT, K, movewindow, u"
|
||||||
|
"$mod SHIFT, J, movewindow, d"
|
||||||
|
|
||||||
# workspaces
|
# workspaces
|
||||||
"$mod, 1, workspace, 1"
|
"$mod, 1, workspace, 1"
|
||||||
"$mod, 2, workspace, 2"
|
"$mod, 2, workspace, 2"
|
||||||
@@ -171,6 +186,10 @@
|
|||||||
"$mod SHIFT, 7, movetoworkspace, 7"
|
"$mod SHIFT, 7, movetoworkspace, 7"
|
||||||
"$mod SHIFT, 8, movetoworkspace, 8"
|
"$mod SHIFT, 8, movetoworkspace, 8"
|
||||||
"$mod SHIFT, 9, movetoworkspace, 9"
|
"$mod SHIFT, 9, movetoworkspace, 9"
|
||||||
|
|
||||||
|
", Print, exec, grimblast --freeze copy area"
|
||||||
|
"SHIFT, Print, exec, grimblast copy screen"
|
||||||
|
"$mod, Print, exec, mkdir -p ~/Pictures/Screenshots && grimblast save screen ~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%M-%S).png"
|
||||||
];
|
];
|
||||||
|
|
||||||
# drag/resize windows with Super + mouse
|
# drag/resize windows with Super + mouse
|
||||||
@@ -179,6 +198,15 @@
|
|||||||
"$mod, mouse:273, resizewindow"
|
"$mod, mouse:273, resizewindow"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
bindel = [
|
||||||
|
", XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+"
|
||||||
|
", XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"
|
||||||
|
];
|
||||||
|
bindl = [
|
||||||
|
", XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
|
||||||
|
", XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"
|
||||||
|
];
|
||||||
|
|
||||||
# monitor = [
|
# monitor = [
|
||||||
# "DP-3, 2560x1440@170, 1440x700, 1"
|
# "DP-3, 2560x1440@170, 1440x700, 1"
|
||||||
# "HDMI-A-1, 2560x1440@144, 0x0, 1, transform, 1"
|
# "HDMI-A-1, 2560x1440@144, 0x0, 1, transform, 1"
|
||||||
@@ -270,6 +298,14 @@
|
|||||||
# '';
|
# '';
|
||||||
# };
|
# };
|
||||||
|
|
||||||
|
services.hyprpaper = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
preload = [ "/home/jeremy/nixos/wallpapers/sunset-marfa.png" ];
|
||||||
|
wallpaper = [ ", /home/jeremy/nixos/wallpapers/sunset-marfa.png" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
programs.neovim = { # Configure nvim
|
programs.neovim = { # Configure nvim
|
||||||
enable = true;
|
enable = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
@@ -328,7 +364,7 @@
|
|||||||
inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}.typst # bleeding edge html exports for typst
|
inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}.typst # bleeding edge html exports for typst
|
||||||
inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}.tinymist # typst previews
|
inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}.tinymist # typst previews
|
||||||
nextcloud-client
|
nextcloud-client
|
||||||
signal-desktop
|
inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}.signal-desktop
|
||||||
# swaybg # wallpaper
|
# swaybg # wallpaper
|
||||||
nixfmt # nix file formatting
|
nixfmt # nix file formatting
|
||||||
openrgb # RGB editor
|
openrgb # RGB editor
|
||||||
@@ -356,6 +392,8 @@
|
|||||||
gnumake # make & makefile
|
gnumake # make & makefile
|
||||||
zathura
|
zathura
|
||||||
thunderbird
|
thunderbird
|
||||||
|
claude-code
|
||||||
|
gdb
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -388,7 +426,7 @@
|
|||||||
waybar fuzzel mako hyprlock hypridle
|
waybar fuzzel mako hyprlock hypridle
|
||||||
adwaita-icon-theme gnome-themes-extra
|
adwaita-icon-theme gnome-themes-extra
|
||||||
networkmanagerapplet pavucontrol brightnessctl
|
networkmanagerapplet pavucontrol brightnessctl
|
||||||
wl-clipboard grim slurp nautilus
|
wl-clipboard grim slurp grimblast nautilus
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
@@ -407,6 +445,8 @@
|
|||||||
powerOnBoot = true;
|
powerOnBoot = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.tailscale.enable = true;
|
||||||
|
|
||||||
services.ollama = {
|
services.ollama = {
|
||||||
enable = false;
|
enable = false;
|
||||||
package = pkgs.ollama;
|
package = pkgs.ollama;
|
||||||
|
|||||||
@@ -1,6 +1,13 @@
|
|||||||
{ config, lib, pkgs, inputs, ... }:
|
{ config, lib, pkgs, inputs, ... }:
|
||||||
{
|
{
|
||||||
programs.ssh.extraConfig = ''
|
programs.ssh.extraConfig = ''
|
||||||
|
Host rocky
|
||||||
|
Hostname 100.125.188.0
|
||||||
|
User rocky
|
||||||
|
ForwardX11 yes
|
||||||
|
ForwardX11Trusted yes
|
||||||
|
IdentityFile ~/.ssh/id_ed25519.pub
|
||||||
|
|
||||||
Host scinet
|
Host scinet
|
||||||
HostName teach.scinet.utoronto.ca
|
HostName teach.scinet.utoronto.ca
|
||||||
User lcl_uotcscd60s2180
|
User lcl_uotcscd60s2180
|
||||||
@@ -52,5 +59,17 @@
|
|||||||
keyMode = "vi";
|
keyMode = "vi";
|
||||||
escapeTime = 0;
|
escapeTime = 0;
|
||||||
baseIndex = 1;
|
baseIndex = 1;
|
||||||
|
extraConfig = ''
|
||||||
|
bind h select-pane -L
|
||||||
|
bind j select-pane -D
|
||||||
|
bind k select-pane -U
|
||||||
|
bind l select-pane -R
|
||||||
|
|
||||||
|
bind -r H resize-pane -L 5
|
||||||
|
bind -r J resize-pane -D 5
|
||||||
|
bind -r K resize-pane -U 5
|
||||||
|
bind -r L resize-pane -R 5
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 1.7 MiB |
+28
@@ -0,0 +1,28 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
fonts.packages = [ pkgs.nerd-fonts.caskaydia-cove ];
|
||||||
|
|
||||||
|
services.power-profiles-daemon.enable = true;
|
||||||
|
|
||||||
|
home-manager.users.jeremy = { ... }: {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
playerctl
|
||||||
|
brightnessctl
|
||||||
|
pavucontrol
|
||||||
|
swaynotificationcenter
|
||||||
|
blueman
|
||||||
|
];
|
||||||
|
|
||||||
|
xdg.configFile."waybar/config.jsonc".source = ./waybar/config.jsonc;
|
||||||
|
xdg.configFile."waybar/style.css".source = ./waybar/style.css;
|
||||||
|
xdg.configFile."waybar/modules.jsonc".source = ./waybar/modules.hyprland.jsonc;
|
||||||
|
xdg.configFile."waybar/modules.hyprland.jsonc".source = ./waybar/modules.hyprland.jsonc;
|
||||||
|
xdg.configFile."waybar/modules.mango.jsonc".source = ./waybar/modules.mango.jsonc;
|
||||||
|
xdg.configFile."waybar/colors/colors.css".source = ./waybar/colors/colors.css;
|
||||||
|
xdg.configFile."waybar/colors/colors.dark.css".source = ./waybar/colors/colors.dark.css;
|
||||||
|
xdg.configFile."waybar/colors/colors.light.css".source = ./waybar/colors/colors.light.css;
|
||||||
|
xdg.configFile."waybar/context/ctlcenter.xml".source = ./waybar/context/ctlcenter.xml;
|
||||||
|
xdg.configFile."waybar/context/network.xml".source = ./waybar/context/network.xml;
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
/* Tokyo night dark enhanced color theme */
|
||||||
|
|
||||||
|
@define-color module-bg rgba(8, 8, 11, 0.75);
|
||||||
|
@define-color tooltip-bg rgba(16, 16, 16, 0.9);
|
||||||
|
@define-color inactive #787c99;
|
||||||
|
@define-color fg #acb0d0;
|
||||||
|
@define-color workspace-fg @fg;
|
||||||
|
@define-color highlight rgba(120, 124, 153, 0.25);
|
||||||
|
@define-color border #252525;
|
||||||
|
|
||||||
|
@define-color red #f7768e;
|
||||||
|
@define-color blue #7aa2f7;
|
||||||
|
@define-color yellow #e0af68;
|
||||||
|
@define-color green #41a6b5;
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
/* Tokyo night dark enhanced color theme */
|
||||||
|
|
||||||
|
@define-color module-bg rgba(8, 8, 11, 0.75);
|
||||||
|
@define-color tooltip-bg rgba(16, 16, 16, 0.9);
|
||||||
|
@define-color inactive #787c99;
|
||||||
|
@define-color fg #acb0d0;
|
||||||
|
@define-color workspace-fg @fg;
|
||||||
|
@define-color highlight rgba(120, 124, 153, 0.25);
|
||||||
|
@define-color border #252525;
|
||||||
|
|
||||||
|
@define-color red #f7768e;
|
||||||
|
@define-color blue #7aa2f7;
|
||||||
|
@define-color yellow #e0af68;
|
||||||
|
@define-color green #41a6b5;
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
/* Tokyo night light color theme */
|
||||||
|
|
||||||
|
@define-color module-bg rgba(214, 216, 223, 0.9);
|
||||||
|
@define-color tooltip-bg rgba(214, 216, 223, 0.9);
|
||||||
|
@define-color inactive #707280;
|
||||||
|
@define-color fg #343B58;
|
||||||
|
@define-color workspace-fg @fg;
|
||||||
|
@define-color highlight rgba(162, 166, 181, 0.25);
|
||||||
|
@define-color border rgba(190, 192, 198, 0.9);
|
||||||
|
|
||||||
|
@define-color red #f7768e;
|
||||||
|
@define-color blue #2959aa;
|
||||||
|
@define-color yellow #e0af68;
|
||||||
|
@define-color green #41a6b5;
|
||||||
Executable
+11
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"layer": "top",
|
||||||
|
"position": "top",
|
||||||
|
"margin": "5 0",
|
||||||
|
|
||||||
|
"modules-left" : ["group/left-hidden-top", "group/left"],
|
||||||
|
"modules-center" : ["clock"],
|
||||||
|
"modules-right" : [ "group/right", "group/right-hidden-top"],
|
||||||
|
|
||||||
|
"include": [ "~/.config/waybar/modules.jsonc" ]
|
||||||
|
}
|
||||||
@@ -0,0 +1,130 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<interface>
|
||||||
|
<object class="GtkMenu" id="menu">
|
||||||
|
<child>
|
||||||
|
<object class="GtkMenuItem" id="action-1">
|
||||||
|
<property name="label">Monitor system</property>
|
||||||
|
<child type="submenu">
|
||||||
|
<object class="GtkMenu">
|
||||||
|
<child>
|
||||||
|
<object class="GtkMenuItem" id="action-1-1">
|
||||||
|
<property name="label">htop</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
|
||||||
|
<child>
|
||||||
|
<object class="GtkMenuItem" id="action-1-2">
|
||||||
|
<property name="label">nvtop</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
|
||||||
|
<child>
|
||||||
|
<object class="GtkMenuItem" id="action-1-3">
|
||||||
|
<property name="label">powertop</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
|
||||||
|
<child>
|
||||||
|
<object class="GtkMenuItem" id="action-1-4">
|
||||||
|
<property name="label">missioncenter</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
|
||||||
|
<child>
|
||||||
|
<object class="GtkMenuItem" id="action-2">
|
||||||
|
<property name="label">Theme settings</property>
|
||||||
|
<child type="submenu">
|
||||||
|
<object class="GtkMenu">
|
||||||
|
<child>
|
||||||
|
<object class="GtkMenuItem" id="action-2-1">
|
||||||
|
<property name="label">GTK settings</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
|
||||||
|
<child>
|
||||||
|
<object class="GtkMenuItem" id="action-2-2">
|
||||||
|
<property name="label">QT6 settings</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
|
||||||
|
<child>
|
||||||
|
<object class="GtkMenuItem" id="action-2-3">
|
||||||
|
<property name="label">Kvantum settings</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
|
||||||
|
<child>
|
||||||
|
<object class="GtkMenuItem" id="action-3">
|
||||||
|
<property name="label">Refresh rate</property>
|
||||||
|
<child type="submenu">
|
||||||
|
<object class="GtkMenu">
|
||||||
|
<child>
|
||||||
|
<object class="GtkMenuItem" id="action-3-1">
|
||||||
|
<property name="label">60Hz</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
|
||||||
|
<child>
|
||||||
|
<object class="GtkMenuItem" id="action-3-2">
|
||||||
|
<property name="label">90Hz</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
|
||||||
|
<child>
|
||||||
|
<object class="GtkMenuItem" id="action-3-3">
|
||||||
|
<property name="label">144Hz</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
|
||||||
|
<child>
|
||||||
|
<object class="GtkMenuItem" id="action-4">
|
||||||
|
<property name="label">Inhibit</property>
|
||||||
|
<child type="submenu">
|
||||||
|
<object class="GtkMenu">
|
||||||
|
<child>
|
||||||
|
<object class="GtkMenuItem" id="action-4-1">
|
||||||
|
<property name="label">Shutdown</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
|
||||||
|
<child>
|
||||||
|
<object class="GtkMenuItem" id="action-4-2">
|
||||||
|
<property name="label">Lid</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
|
||||||
|
<child>
|
||||||
|
<object class="GtkMenuItem" id="action-5">
|
||||||
|
<property name="label">Powersafe mode</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
|
||||||
|
<child><object class="GtkSeparatorMenuItem" id="separator"/></child>
|
||||||
|
|
||||||
|
<child>
|
||||||
|
<object class="GtkMenuItem" id="action-6">
|
||||||
|
<property name="label"> Reload config</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
|
||||||
|
</object>
|
||||||
|
</interface>
|
||||||
@@ -0,0 +1,27 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<interface>
|
||||||
|
<object class="GtkMenu" id="menu">
|
||||||
|
|
||||||
|
<child>
|
||||||
|
<object class="GtkMenuItem" id="action-1">
|
||||||
|
<property name="label">Toggle on/off</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
|
||||||
|
<child>
|
||||||
|
<object class="GtkMenuItem" id="action-2">
|
||||||
|
<property name="label">nmtui</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
|
||||||
|
<child><object class="GtkSeparatorMenuItem" id="separator"/></child>
|
||||||
|
|
||||||
|
<child>
|
||||||
|
<object class="GtkMenuItem" id="action-3">
|
||||||
|
<property name="label"> Network settings</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
|
||||||
|
</object>
|
||||||
|
</interface>
|
||||||
|
|
||||||
@@ -0,0 +1,325 @@
|
|||||||
|
{
|
||||||
|
"group/left" : {
|
||||||
|
"orientation": "horizontal",
|
||||||
|
"modules" : [
|
||||||
|
"hyprland/workspaces",
|
||||||
|
"mpris"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"group/left-hidden" : {
|
||||||
|
"orientation": "horizontal",
|
||||||
|
"drawer": {
|
||||||
|
"transition-duration": 500,
|
||||||
|
"transition-left-to-right": false,
|
||||||
|
"click-to-reveal": true
|
||||||
|
},
|
||||||
|
"modules" : [
|
||||||
|
"custom/arrow-right", "battery", "cpu", "load"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"group/left-hidden-top" : {
|
||||||
|
"orientation": "horizontal",
|
||||||
|
"modules" : [ "power-profiles-daemon", "group/left-hidden" ]
|
||||||
|
},
|
||||||
|
|
||||||
|
"group/right" : {
|
||||||
|
"orientation": "horizontal",
|
||||||
|
"modules" : [
|
||||||
|
"bluetooth", "group/group-volume", "group/group-backlight", "network", "tray"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"group/right-hidden" : {
|
||||||
|
"orientation": "horizontal",
|
||||||
|
"drawer": {
|
||||||
|
"transition-duration": 500,
|
||||||
|
"transition-left-to-right": true,
|
||||||
|
"click-to-reveal": true
|
||||||
|
},
|
||||||
|
"modules" : [
|
||||||
|
"custom/arrow-left", "memory", "temperature"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"group/right-hidden-top" : {
|
||||||
|
"orientation": "horizontal",
|
||||||
|
"modules" : [ "group/right-hidden", "custom/ctlcenter" ]
|
||||||
|
},
|
||||||
|
|
||||||
|
"hyprland/workspaces": {
|
||||||
|
"format": "{icon}",
|
||||||
|
"on-scroll-down": "hyprctl dispatch \"hl.dsp.focus({workspace = 'e+1'}\")",
|
||||||
|
"on-scroll-up": "hyprctl dispatch \"hl.dsp.focus({workspace = 'e-1'}\")",
|
||||||
|
"persistent-workspaces": { "*": 5 },
|
||||||
|
"format-icons": {
|
||||||
|
"active": "",
|
||||||
|
"persistent": "",
|
||||||
|
"empty": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"mango/workspaces": {
|
||||||
|
"format": "{icon}",
|
||||||
|
|
||||||
|
"format-icons": {
|
||||||
|
"active": "",
|
||||||
|
"default": "",
|
||||||
|
"empty": ""
|
||||||
|
},
|
||||||
|
|
||||||
|
"num-tags": 5,
|
||||||
|
"on-click": "activate",
|
||||||
|
"overview-label": ""
|
||||||
|
},
|
||||||
|
|
||||||
|
"niri/workspaces": {
|
||||||
|
"format": "{icon}",
|
||||||
|
"on-scroll-up": "niri msg action focus-workspace-up",
|
||||||
|
"on-scroll-down": "niri msg action focus-workspace-down",
|
||||||
|
"hide-empty": true,
|
||||||
|
"format-icons": {
|
||||||
|
"active": "",
|
||||||
|
"default": "",
|
||||||
|
"empty": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"hyprland/window" : {
|
||||||
|
"max-length": 45
|
||||||
|
},
|
||||||
|
|
||||||
|
"cpu": {
|
||||||
|
"interval": 30,
|
||||||
|
"format":" {usage}%",
|
||||||
|
"states": {
|
||||||
|
"warning": 80,
|
||||||
|
"critical": 90
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"tray" : {
|
||||||
|
"icon-size": 13,
|
||||||
|
"spacing": 12
|
||||||
|
},
|
||||||
|
|
||||||
|
"load": {
|
||||||
|
"interval": 30,
|
||||||
|
"format": " {load1}%"
|
||||||
|
},
|
||||||
|
|
||||||
|
"memory": {
|
||||||
|
"interval": 10,
|
||||||
|
"format": " {used:0.1f}G/{total:0.1f}G",
|
||||||
|
"states": {
|
||||||
|
"warning": 80,
|
||||||
|
"critical": 90
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"temperature": {
|
||||||
|
"interval": 10,
|
||||||
|
"format": "{icon} {temperatureC}°",
|
||||||
|
"critical-threshold": 90,
|
||||||
|
"format-icons": ["","","","",""]
|
||||||
|
},
|
||||||
|
|
||||||
|
"backlight": {
|
||||||
|
"scroll-step" : 2,
|
||||||
|
"format": "{icon}",
|
||||||
|
"tooltip-format" : "{percent}%",
|
||||||
|
"format-icons": [ "", "", "", "" ]
|
||||||
|
},
|
||||||
|
|
||||||
|
"pulseaudio": {
|
||||||
|
"format": "{icon}",
|
||||||
|
"format-bluetooth": "{icon}",
|
||||||
|
"tooltip-format": "{volume}%",
|
||||||
|
"format-muted": "<span size='9.5pt'></span>",
|
||||||
|
"scroll-step": 2,
|
||||||
|
"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
|
||||||
|
"on-click-right": "mmsg dispatch spawn, pavucontrol -t 4",
|
||||||
|
"format-icons": {
|
||||||
|
"headphone": "",
|
||||||
|
"hands-free": "",
|
||||||
|
"headset": "",
|
||||||
|
"phone": "",
|
||||||
|
"portable": "",
|
||||||
|
"car": "",
|
||||||
|
"default": [
|
||||||
|
"<span size='9.5pt'></span>",
|
||||||
|
"<span size='9.5pt'></span>",
|
||||||
|
"<span size='9.5pt'></span>",
|
||||||
|
"<span size='9.5pt'></span>"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"pulseaudio/slider": {
|
||||||
|
"min": 0,
|
||||||
|
"max": 100,
|
||||||
|
"on-click-right": "hyprctl eval \"hl.exec_cmd('pavucontrol -t 4')\""
|
||||||
|
},
|
||||||
|
|
||||||
|
"backlight/slider": {
|
||||||
|
"min": 5,
|
||||||
|
"max": 100
|
||||||
|
},
|
||||||
|
|
||||||
|
"network": {
|
||||||
|
"interval": 10,
|
||||||
|
"format-disabled": "",
|
||||||
|
"format-disconnected": "",
|
||||||
|
"format-wifi": "",
|
||||||
|
"format-ethernet": "",
|
||||||
|
"tooltip-format": "{essid}\n\nFrequency: {frequency}GHz\nStrength: {signalStrength}%\n\n{bandwidthUpBytes} {bandwidthDownBytes}",
|
||||||
|
"tooltip-format-ethernet": "{bandwidthUpBytes} {bandwidthDownBytes}",
|
||||||
|
"tooltip-format-disconnected": "No network connection!",
|
||||||
|
"tooltip-format-disabled": "No network connection!",
|
||||||
|
"on-click": "[[ $(nmcli radio wifi) == enabled ]] && nmcli radio wifi off || nmcli radio wifi on",
|
||||||
|
"menu": "on-click-right",
|
||||||
|
"menu-file": "~/.config/waybar/context/network.xml",
|
||||||
|
"menu-actions": {
|
||||||
|
"action-1": "~/.local/bin/toggle_rofi ~/.config/rofi/bin/wifi &",
|
||||||
|
"action-2": "mmsg dispatch spawn, alacritty -e nmtui",
|
||||||
|
"action-3": "mmsg dispatch spawn, nm-connection-editor"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"bluetooth": {
|
||||||
|
"format": "{}",
|
||||||
|
"format-on": "",
|
||||||
|
"format-off": "",
|
||||||
|
"format-disabled": "",
|
||||||
|
"format-connected": "{device_alias}",
|
||||||
|
"format-connected-battery": "{device_alias}",
|
||||||
|
"tooltip-format": "{device_enumerate}",
|
||||||
|
"tooltip-format-enumerate-connected": "{device_alias}",
|
||||||
|
"tooltip-format-enumerate-connected-battery": "{device_alias} {device_battery_percentage}%",
|
||||||
|
"on-click": "~/.local/bin/toggle_bluetooth &",
|
||||||
|
"on-click-right": "hyprctl eval \"hl.exec_cmd('blueman-manager')\""
|
||||||
|
},
|
||||||
|
|
||||||
|
"battery": {
|
||||||
|
"interval": 20,
|
||||||
|
"full-at": 100,
|
||||||
|
"tooltip": true,
|
||||||
|
"format-full": "",
|
||||||
|
"format": "{icon} {capacity}%",
|
||||||
|
"format-time": "{H}:{M:02}",
|
||||||
|
"format-charging": " {capacity}% ({time})",
|
||||||
|
"format-icons": ["", "", "", "", "", "", "", "", ""],
|
||||||
|
"states": {
|
||||||
|
"warning": 30,
|
||||||
|
"critical": 15
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"clock": {
|
||||||
|
"timezone": "America/Toronto",
|
||||||
|
"tooltip-format": "<tt><small>{calendar}</small></tt>",
|
||||||
|
"format-alt": "{:%H:%M %d %B %Y}",
|
||||||
|
"on-click-right": "hyprctl eval \"hl.exec_cmd('alacritty --class=peaclock -e peaclock')\"",
|
||||||
|
"calendar": {
|
||||||
|
"mode": "year",
|
||||||
|
"weeks-pos": "right",
|
||||||
|
"mode-mon-col": 3,
|
||||||
|
"format": {
|
||||||
|
"months": "<span color='#acb0d0'><b>{}</b></span>",
|
||||||
|
"weeks": "<span color='#7aa2f7'><b>W{}</b></span>",
|
||||||
|
"weekdays": "<span color='#e0af68'><b>{}</b></span>",
|
||||||
|
"days": "<span color='#acb0d0'><b>{}</b></span>",
|
||||||
|
"today": "<span color='#41a6b5'><b><u>{}</u></b></span>"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"mpris": {
|
||||||
|
"format": "{artist} - {title}",
|
||||||
|
"tooltip-format" : "{album}",
|
||||||
|
"format-paused": " {artist} - {title}",
|
||||||
|
"on-click": "playerctl play-pause",
|
||||||
|
"on-scroll-up": "playerctl previous",
|
||||||
|
"on-scroll-down": "playerctl next",
|
||||||
|
"max-length": 45
|
||||||
|
},
|
||||||
|
|
||||||
|
"power-profiles-daemon": {
|
||||||
|
"format": "{icon}",
|
||||||
|
"tooltip-format": "Power profile: {profile}",
|
||||||
|
"format-icons": {
|
||||||
|
"performance": "",
|
||||||
|
"balanced": "",
|
||||||
|
"power-saver": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"custom/start": {
|
||||||
|
"format": "",
|
||||||
|
"on-click": "~/.local/bin/toggle_rofi ~/.config/rofi/bin/drun &"
|
||||||
|
},
|
||||||
|
|
||||||
|
"custom/ctlcenter" : {
|
||||||
|
"tooltip" : false,
|
||||||
|
"format" : "",
|
||||||
|
"on-click" : "swaync-client -t",
|
||||||
|
"menu": "on-click-right",
|
||||||
|
"menu-file": "~/.config/waybar/context/ctlcenter.xml",
|
||||||
|
"menu-actions": {
|
||||||
|
"action-1-1": "hyprctl eval \"hl.exec_cmd('alacritty -e htop')\"",
|
||||||
|
"action-1-2": "hyprctl eval \"hl.exec_cmd('alacritty -e nvtop')\"",
|
||||||
|
"action-1-3": "hyprctl eval \"hl.exec_cmd('alacritty -e pkexec powertop')\"",
|
||||||
|
"action-1-4": "hyprctl eval \"hl.exec_cmd('missioncenter' )\"",
|
||||||
|
|
||||||
|
"action-2-1": "hyprctl eval \"hl.exec_cmd('nwg-look')\"",
|
||||||
|
"action-2-2": "hyprctl eval \"hl.exec_cmd('qt6ct')\"",
|
||||||
|
"action-2-3": "hyprctl eval \"hl.exec_cmd('kvantummanager')\"",
|
||||||
|
|
||||||
|
|
||||||
|
"action-3-1": "~/.local/bin/refreshrate 60",
|
||||||
|
"action-3-2": "~/.local/bin/refreshrate 90",
|
||||||
|
"action-3-3": "~/.local/bin/refreshrate 144",
|
||||||
|
|
||||||
|
"action-4-1": "~/.local/bin/caffeine shutdown",
|
||||||
|
"action-4-2": "~/.local/bin/caffeine handle-lid-switch",
|
||||||
|
|
||||||
|
"action-5": "~/.local/bin/powersafe",
|
||||||
|
"action-6": "hyprctl reload"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"custom/arrow-left": {
|
||||||
|
"format": "",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
|
||||||
|
"custom/arrow-right": {
|
||||||
|
"format": "",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
|
||||||
|
"group/group-volume": {
|
||||||
|
"orientation": "horizontal",
|
||||||
|
"drawer": {
|
||||||
|
"transition-duration": 600,
|
||||||
|
"transition-left-to-right": true,
|
||||||
|
"reveal-delay": 450
|
||||||
|
},
|
||||||
|
"modules" : [
|
||||||
|
"pulseaudio", "pulseaudio/slider"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"group/group-backlight": {
|
||||||
|
"orientation": "horizontal",
|
||||||
|
"drawer": {
|
||||||
|
"transition-duration": 600,
|
||||||
|
"transition-left-to-right": true,
|
||||||
|
"reveal-delay": 450
|
||||||
|
},
|
||||||
|
"modules" : [
|
||||||
|
"backlight", "backlight/slider"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,304 @@
|
|||||||
|
{
|
||||||
|
"group/left" : {
|
||||||
|
"orientation": "horizontal",
|
||||||
|
"modules" : [
|
||||||
|
"mango/workspaces",
|
||||||
|
"mpris"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"group/left-hidden" : {
|
||||||
|
"orientation": "horizontal",
|
||||||
|
"drawer": {
|
||||||
|
"transition-duration": 500,
|
||||||
|
"transition-left-to-right": false,
|
||||||
|
"click-to-reveal": true
|
||||||
|
},
|
||||||
|
"modules" : [
|
||||||
|
"custom/arrow-right", "battery", "cpu", "load"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"group/left-hidden-top" : {
|
||||||
|
"orientation": "horizontal",
|
||||||
|
"modules" : [ "power-profiles-daemon", "group/left-hidden" ]
|
||||||
|
},
|
||||||
|
|
||||||
|
"group/right" : {
|
||||||
|
"orientation": "horizontal",
|
||||||
|
"modules" : [
|
||||||
|
"bluetooth", "group/group-volume", "group/group-backlight", "network", "tray"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"group/right-hidden" : {
|
||||||
|
"orientation": "horizontal",
|
||||||
|
"drawer": {
|
||||||
|
"transition-duration": 500,
|
||||||
|
"transition-left-to-right": true,
|
||||||
|
"click-to-reveal": true
|
||||||
|
},
|
||||||
|
"modules" : [
|
||||||
|
"custom/arrow-left", "memory", "temperature"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"group/right-hidden-top" : {
|
||||||
|
"orientation": "horizontal",
|
||||||
|
"modules" : [ "group/right-hidden", "custom/ctlcenter" ]
|
||||||
|
},
|
||||||
|
|
||||||
|
"mango/workspaces": {
|
||||||
|
"format": "{icon}",
|
||||||
|
|
||||||
|
"format-icons": {
|
||||||
|
"active": "",
|
||||||
|
"default": "",
|
||||||
|
"empty": ""
|
||||||
|
},
|
||||||
|
|
||||||
|
"num-tags": 5,
|
||||||
|
"on-click": "activate",
|
||||||
|
"overview-label": ""
|
||||||
|
},
|
||||||
|
|
||||||
|
"cpu": {
|
||||||
|
"interval": 30,
|
||||||
|
"format":" {usage}%",
|
||||||
|
"cursor": true,
|
||||||
|
"states": {
|
||||||
|
"warning": 80,
|
||||||
|
"critical": 90
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"tray" : {
|
||||||
|
"icon-size": 13,
|
||||||
|
"spacing": 12,
|
||||||
|
"cursor": true
|
||||||
|
},
|
||||||
|
|
||||||
|
"load": {
|
||||||
|
"interval": 30,
|
||||||
|
"format": " {load1}%",
|
||||||
|
"cursor": true
|
||||||
|
},
|
||||||
|
|
||||||
|
"memory": {
|
||||||
|
"interval": 10,
|
||||||
|
"format": " {used:0.1f}G/{total:0.1f}G",
|
||||||
|
"states": {
|
||||||
|
"warning": 80,
|
||||||
|
"critical": 90
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"temperature": {
|
||||||
|
"interval": 10,
|
||||||
|
"format": "{icon} {temperatureC}°",
|
||||||
|
"critical-threshold": 90,
|
||||||
|
"format-icons": ["","","","",""]
|
||||||
|
},
|
||||||
|
|
||||||
|
"backlight": {
|
||||||
|
"scroll-step" : 2,
|
||||||
|
"format": "{icon}",
|
||||||
|
"tooltip-format" : "{percent}%",
|
||||||
|
"format-icons": [ "", "", "", "" ]
|
||||||
|
},
|
||||||
|
|
||||||
|
"pulseaudio": {
|
||||||
|
"format": "{icon}",
|
||||||
|
"format-bluetooth": "{icon}",
|
||||||
|
"tooltip-format": "{volume}%",
|
||||||
|
"format-muted": "<span size='9.5pt'></span>",
|
||||||
|
"scroll-step": 2,
|
||||||
|
"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
|
||||||
|
"on-click-right": "mmsg dispatch spawn, pavucontrol -t 4",
|
||||||
|
"format-icons": {
|
||||||
|
"headphone": "",
|
||||||
|
"hands-free": "",
|
||||||
|
"headset": "",
|
||||||
|
"phone": "",
|
||||||
|
"portable": "",
|
||||||
|
"car": "",
|
||||||
|
"default": [
|
||||||
|
"<span size='9.5pt'></span>",
|
||||||
|
"<span size='9.5pt'></span>",
|
||||||
|
"<span size='9.5pt'></span>",
|
||||||
|
"<span size='9.5pt'></span>"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"pulseaudio/slider": {
|
||||||
|
"min": 0,
|
||||||
|
"max": 100,
|
||||||
|
"cursor": true,
|
||||||
|
"on-click-right": "mmsg dispatch spawn, pavucontrol -t 4"
|
||||||
|
},
|
||||||
|
|
||||||
|
"backlight/slider": {
|
||||||
|
"min": 5,
|
||||||
|
"max": 100,
|
||||||
|
"cursor": true
|
||||||
|
},
|
||||||
|
|
||||||
|
"network": {
|
||||||
|
"interval": 10,
|
||||||
|
"format-disabled": "",
|
||||||
|
"format-disconnected": "",
|
||||||
|
"format-wifi": "",
|
||||||
|
"format-ethernet": "",
|
||||||
|
"tooltip-format": "{essid}\n\nFrequency: {frequency}GHz\nStrength: {signalStrength}%\n\n{bandwidthUpBytes} {bandwidthDownBytes}",
|
||||||
|
"tooltip-format-ethernet": "{bandwidthUpBytes} {bandwidthDownBytes}",
|
||||||
|
"tooltip-format-disconnected": "No network connection!",
|
||||||
|
"tooltip-format-disabled": "No network connection!",
|
||||||
|
"on-click": "[[ $(nmcli radio wifi) == enabled ]] && nmcli radio wifi off || nmcli radio wifi on",
|
||||||
|
"menu": "on-click-right",
|
||||||
|
"menu-file": "~/.config/waybar/context/network.xml",
|
||||||
|
"menu-actions": {
|
||||||
|
"action-1": "~/.local/bin/toggle_rofi ~/.config/rofi/bin/wifi &",
|
||||||
|
"action-2": "mmsg dispatch spawn, alacritty -e nmtui",
|
||||||
|
"action-3": "mmsg dispatch spawn, nm-connection-editor"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"bluetooth": {
|
||||||
|
"format": "{}",
|
||||||
|
"format-on": "",
|
||||||
|
"format-off": "",
|
||||||
|
"format-disabled": "",
|
||||||
|
"format-connected": "{device_alias}",
|
||||||
|
"format-connected-battery": "{device_alias}",
|
||||||
|
"tooltip-format": "{device_enumerate}",
|
||||||
|
"tooltip-format-enumerate-connected": "{device_alias}",
|
||||||
|
"tooltip-format-enumerate-connected-battery": "{device_alias} {device_battery_percentage}%",
|
||||||
|
"on-click": "~/.local/bin/toggle_bluetooth &",
|
||||||
|
"on-click-right": "mmsg dispatch spawn, blueman-manager"
|
||||||
|
},
|
||||||
|
|
||||||
|
"battery": {
|
||||||
|
"interval": 20,
|
||||||
|
"full-at": 100,
|
||||||
|
"tooltip": true,
|
||||||
|
"format-full": "",
|
||||||
|
"format": "{icon} {capacity}%",
|
||||||
|
"format-time": "{H}:{M:02}",
|
||||||
|
"format-charging": " {capacity}% ({time})",
|
||||||
|
"format-icons": ["", "", "", "", "", "", "", "", ""],
|
||||||
|
"states": {
|
||||||
|
"warning": 30,
|
||||||
|
"critical": 15
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"clock": {
|
||||||
|
"timezone": "America/Toronto",
|
||||||
|
"tooltip-format": "<tt><small>{calendar}</small></tt>",
|
||||||
|
"format-alt": "{:%H:%M %d %B %Y}",
|
||||||
|
"on-click-right": "mmsg dispatch spawn, alacritty --class=Alacritty-Floating-Peaclock -e peaclock",
|
||||||
|
"calendar": {
|
||||||
|
"mode": "year",
|
||||||
|
"weeks-pos": "right",
|
||||||
|
"mode-mon-col": 3,
|
||||||
|
"format": {
|
||||||
|
"months": "<span color='#acb0d0'><b>{}</b></span>",
|
||||||
|
"weeks": "<span color='#7aa2f7'><b>W{}</b></span>",
|
||||||
|
"weekdays": "<span color='#e0af68'><b>{}</b></span>",
|
||||||
|
"days": "<span color='#acb0d0'><b>{}</b></span>",
|
||||||
|
"today": "<span color='#41a6b5'><b><u>{}</u></b></span>"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"mpris": {
|
||||||
|
"format": "{artist} - {title}",
|
||||||
|
"tooltip-format" : "{album}",
|
||||||
|
"format-paused": " {artist} - {title}",
|
||||||
|
"on-click": "playerctl play-pause",
|
||||||
|
"on-scroll-up": "playerctl previous",
|
||||||
|
"on-scroll-down": "playerctl next",
|
||||||
|
"max-length": 45
|
||||||
|
},
|
||||||
|
|
||||||
|
"power-profiles-daemon": {
|
||||||
|
"format": "{icon}",
|
||||||
|
"tooltip-format": "Power profile: {profile}",
|
||||||
|
"format-icons": {
|
||||||
|
"performance": "",
|
||||||
|
"balanced": "",
|
||||||
|
"power-saver": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"custom/start": {
|
||||||
|
"format": "",
|
||||||
|
"on-click": "~/.local/bin/toggle_rofi ~/.config/rofi/bin/drun &"
|
||||||
|
},
|
||||||
|
|
||||||
|
"custom/ctlcenter" : {
|
||||||
|
"tooltip" : false,
|
||||||
|
"format" : "",
|
||||||
|
"on-click" : "swaync-client -t",
|
||||||
|
"menu": "on-click-right",
|
||||||
|
"menu-file": "~/.config/waybar/context/ctlcenter.xml",
|
||||||
|
"menu-actions": {
|
||||||
|
"action-1-1": "mmsg dispatch spawn, alacritty -e htop",
|
||||||
|
"action-1-2": "mmsg dispatch spawn, alacritty -e nvtop",
|
||||||
|
"action-1-3": "mmsg dispatch spawn, alacritty -e pkexec powertop",
|
||||||
|
"action-1-4": "mmsg dispatch spawn, missioncenter",
|
||||||
|
|
||||||
|
"action-2-1": "mmsg dispatch spawn, nwg-look",
|
||||||
|
"action-2-2": "mmsg dispatch spawn, qt6ct",
|
||||||
|
"action-2-3": "mmsg dispatch spawn, kvantummanager",
|
||||||
|
|
||||||
|
|
||||||
|
"action-3-1": "~/.local/bin/refreshrate 60",
|
||||||
|
"action-3-2": "~/.local/bin/refreshrate 90",
|
||||||
|
"action-3-3": "~/.local/bin/refreshrate 144",
|
||||||
|
|
||||||
|
"action-4-1": "~/.local/bin/caffeine shutdown",
|
||||||
|
"action-4-2": "~/.local/bin/caffeine handle-lid-switch",
|
||||||
|
|
||||||
|
"action-5": "~/.local/bin/powersafe",
|
||||||
|
"action-6": "mmsg dispatch reload_config"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"custom/arrow-left": {
|
||||||
|
"format": "",
|
||||||
|
"tooltip": false,
|
||||||
|
"cursor": true
|
||||||
|
},
|
||||||
|
|
||||||
|
"custom/arrow-right": {
|
||||||
|
"format": "",
|
||||||
|
"tooltip": false,
|
||||||
|
"cursor": true
|
||||||
|
},
|
||||||
|
|
||||||
|
"group/group-volume": {
|
||||||
|
"orientation": "horizontal",
|
||||||
|
"drawer": {
|
||||||
|
"transition-duration": 600,
|
||||||
|
"transition-left-to-right": true,
|
||||||
|
"reveal-delay": 450
|
||||||
|
},
|
||||||
|
"modules" : [
|
||||||
|
"pulseaudio", "pulseaudio/slider"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"group/group-backlight": {
|
||||||
|
"orientation": "horizontal",
|
||||||
|
"drawer": {
|
||||||
|
"transition-duration": 600,
|
||||||
|
"transition-left-to-right": true,
|
||||||
|
"reveal-delay": 450
|
||||||
|
},
|
||||||
|
"modules" : [
|
||||||
|
"backlight", "backlight/slider"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
Executable
+215
@@ -0,0 +1,215 @@
|
|||||||
|
@import "colors/colors.css";
|
||||||
|
|
||||||
|
* {
|
||||||
|
font-family: 'CaskaydiaCove Nerd Font Propo';
|
||||||
|
border: none;
|
||||||
|
border-radius: 0;
|
||||||
|
min-height: 0;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
text-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#waybar {
|
||||||
|
font-weight: 700;
|
||||||
|
background: transparent;
|
||||||
|
font-size: 14px;
|
||||||
|
color: @fg;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* global paddings */
|
||||||
|
#temperature,
|
||||||
|
#bluetooth,
|
||||||
|
#battery,
|
||||||
|
#memory,
|
||||||
|
#mpris,
|
||||||
|
#window,
|
||||||
|
#cpu,
|
||||||
|
#load,
|
||||||
|
#backlight,
|
||||||
|
#pulseaudio {
|
||||||
|
padding: 1px 7px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#network,
|
||||||
|
#tray {
|
||||||
|
padding: 1px 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#pulseaudio {
|
||||||
|
padding-left: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#backlight-slider,
|
||||||
|
#pulseaudio-slider {
|
||||||
|
padding: 0 7px 0 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces,
|
||||||
|
#bluetooth,
|
||||||
|
#battery,
|
||||||
|
#memory,
|
||||||
|
#temperature,
|
||||||
|
#cpu,
|
||||||
|
#mpris,
|
||||||
|
#window,
|
||||||
|
#load {
|
||||||
|
margin: 0 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#right,
|
||||||
|
#left,
|
||||||
|
#right-hidden-top,
|
||||||
|
#left-hidden-top,
|
||||||
|
#clock {
|
||||||
|
padding: 2px 10px;
|
||||||
|
border-radius: 15px;
|
||||||
|
background: @module-bg;
|
||||||
|
border: 1px solid @border;
|
||||||
|
}
|
||||||
|
|
||||||
|
#right-hidden-top,
|
||||||
|
#left-hidden-top {
|
||||||
|
padding: 0 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#right, #left {
|
||||||
|
margin: 0 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#clock {
|
||||||
|
padding: 2px 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-ctlcenter {
|
||||||
|
margin-left: 7px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#power-profiles-daemon,
|
||||||
|
#custom-start {
|
||||||
|
margin-right: 7px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#cpu.critical,
|
||||||
|
#memory.critical,
|
||||||
|
#battery.critical,
|
||||||
|
#network.disabled,
|
||||||
|
#temperature.critical,
|
||||||
|
#network.disconnected,
|
||||||
|
#power-profiles-daemon.performance {
|
||||||
|
color: @red;
|
||||||
|
}
|
||||||
|
|
||||||
|
#cpu.warning,
|
||||||
|
#memory.warning,
|
||||||
|
#battery.warning,
|
||||||
|
#temperature.warning {
|
||||||
|
color: @yellow;
|
||||||
|
background: unset;
|
||||||
|
}
|
||||||
|
|
||||||
|
#power-profiles-daemon.power-saver {
|
||||||
|
color: @green;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-start,
|
||||||
|
#custom-ctlcenter {
|
||||||
|
color: @blue;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button {
|
||||||
|
color: @workspace-fg;
|
||||||
|
font-size: 14px;
|
||||||
|
border-radius: 100%;
|
||||||
|
padding: 0 2px;
|
||||||
|
margin: 0 3px;
|
||||||
|
min-width: 16px;
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
#workspaces button.empty:not(.active) {
|
||||||
|
color: @inactive;
|
||||||
|
} */
|
||||||
|
|
||||||
|
#workspaces button:hover {
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mpris.paused {
|
||||||
|
color: @inactive;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ---<==== Misc ====>--- */
|
||||||
|
|
||||||
|
tooltip,
|
||||||
|
tooltip.background {
|
||||||
|
background-image: none;
|
||||||
|
border-radius: 15px;
|
||||||
|
background: @tooltip-bg;
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
tooltip {
|
||||||
|
border: 1px solid @border;
|
||||||
|
}
|
||||||
|
|
||||||
|
tooltip label {
|
||||||
|
padding: 3px 10px;
|
||||||
|
color: @fg;
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
||||||
|
|
||||||
|
.popup > * {
|
||||||
|
box-shadow: none;
|
||||||
|
outline: none;
|
||||||
|
border-radius: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
menu {
|
||||||
|
font-weight: 700;
|
||||||
|
color: @fg;
|
||||||
|
background: @tooltip-bg;
|
||||||
|
border: 1px solid @border;
|
||||||
|
}
|
||||||
|
|
||||||
|
menu > * {
|
||||||
|
padding: 3px 0px;
|
||||||
|
min-width: 5px;
|
||||||
|
border-radius: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
menu > *:last-child {
|
||||||
|
border-radius: 0 0 14px 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
menu > *:first-child {
|
||||||
|
border-radius: 14px 14px 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
menu > *:last-child:first-child {
|
||||||
|
border-radius: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
menu > *:hover {
|
||||||
|
background-color: @highlight;
|
||||||
|
color: @fg;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Sliders */
|
||||||
|
|
||||||
|
slider {
|
||||||
|
opacity: 0;
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
trough {
|
||||||
|
min-width: 50px;
|
||||||
|
min-height: 5px;
|
||||||
|
border-radius: 8px;
|
||||||
|
background: @inactive;
|
||||||
|
}
|
||||||
|
|
||||||
|
trough highlight {
|
||||||
|
border-radius: 8px;
|
||||||
|
background-color: @fg;
|
||||||
|
background-image: none; /* Some gtk themes set an svg for background. */
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user