diff --git a/alien-hardware-configuration.nix b/alien-hardware-configuration.nix
index cd4a797..78f4b72 100644
--- a/alien-hardware-configuration.nix
+++ b/alien-hardware-configuration.nix
@@ -34,6 +34,14 @@
programs.nm-applet.enable = 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 = {
# description = "Morning room heating";
# after = [ "graphical-session.target" ];
diff --git a/client-configuration.nix b/client-configuration.nix
index bff1ced..a594e35 100644
--- a/client-configuration.nix
+++ b/client-configuration.nix
@@ -1,12 +1,17 @@
# Edit this configuration file to define what should be installed on your system. Help is available in the configuration.nix(5) man page, on https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
{ config, lib, pkgs, inputs, ... }:
-{
+{
+ imports = [ ./waybar.nix ];
+
nixpkgs.config.allowUnfree = true;
nix.settings.experimental-features = [ "nix-command" "flakes" ];
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 = [{
settings."org/gnome/desktop/interface" = {
color-scheme = "prefer-dark";
@@ -94,12 +99,17 @@
exec-once = [
"waybar"
"mako"
+ "hyprpaper"
# "nm-applet"
# "hypridle"
#"nextcloud --background"
];
- env = [ "XCURSOR_THEME,Adwaita" "XCURSOR_SIZE,24" ];
+ env = [
+ "XCURSOR_THEME,Adwaita"
+ "XCURSOR_SIZE,24"
+ "XDG_CURRENT_DESKTOP,Hyprland:GNOME"
+ ];
misc = {
force_default_wallpaper = 0;
@@ -151,6 +161,11 @@
"$mod, L, movefocus, r"
"$mod, K, movefocus, u"
"$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
"$mod, 1, workspace, 1"
@@ -171,6 +186,10 @@
"$mod SHIFT, 7, movetoworkspace, 7"
"$mod SHIFT, 8, movetoworkspace, 8"
"$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
@@ -179,6 +198,15 @@
"$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 = [
# "DP-3, 2560x1440@170, 1440x700, 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
enable = true;
extraConfig = ''
@@ -328,7 +364,7 @@
inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}.typst # bleeding edge html exports for typst
inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}.tinymist # typst previews
nextcloud-client
- signal-desktop
+ inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}.signal-desktop
# swaybg # wallpaper
nixfmt # nix file formatting
openrgb # RGB editor
@@ -356,6 +392,8 @@
gnumake # make & makefile
zathura
thunderbird
+ claude-code
+ gdb
];
};
@@ -388,7 +426,7 @@
waybar fuzzel mako hyprlock hypridle
adwaita-icon-theme gnome-themes-extra
networkmanagerapplet pavucontrol brightnessctl
- wl-clipboard grim slurp nautilus
+ wl-clipboard grim slurp grimblast nautilus
];
@@ -407,6 +445,8 @@
powerOnBoot = true;
};
+ services.tailscale.enable = true;
+
services.ollama = {
enable = false;
package = pkgs.ollama;
diff --git a/build.sh b/rebuild.sh
similarity index 100%
rename from build.sh
rename to rebuild.sh
diff --git a/shared-configuration.nix b/shared-configuration.nix
index fa159df..7e05b87 100644
--- a/shared-configuration.nix
+++ b/shared-configuration.nix
@@ -1,6 +1,13 @@
{ config, lib, pkgs, inputs, ... }:
{
programs.ssh.extraConfig = ''
+ Host rocky
+ Hostname 100.125.188.0
+ User rocky
+ ForwardX11 yes
+ ForwardX11Trusted yes
+ IdentityFile ~/.ssh/id_ed25519.pub
+
Host scinet
HostName teach.scinet.utoronto.ca
User lcl_uotcscd60s2180
@@ -52,5 +59,17 @@
keyMode = "vi";
escapeTime = 0;
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
+ '';
};
+
}
diff --git a/wallpapers/sunset-marfa.png b/wallpapers/sunset-marfa.png
new file mode 100644
index 0000000..58bf7d7
Binary files /dev/null and b/wallpapers/sunset-marfa.png differ
diff --git a/waybar.nix b/waybar.nix
new file mode 100644
index 0000000..cebdf74
--- /dev/null
+++ b/waybar.nix
@@ -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;
+ };
+}
diff --git a/waybar/colors/colors.css b/waybar/colors/colors.css
new file mode 100644
index 0000000..092ffbf
--- /dev/null
+++ b/waybar/colors/colors.css
@@ -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;
diff --git a/waybar/colors/colors.dark.css b/waybar/colors/colors.dark.css
new file mode 100644
index 0000000..092ffbf
--- /dev/null
+++ b/waybar/colors/colors.dark.css
@@ -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;
diff --git a/waybar/colors/colors.light.css b/waybar/colors/colors.light.css
new file mode 100644
index 0000000..86a3f26
--- /dev/null
+++ b/waybar/colors/colors.light.css
@@ -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;
diff --git a/waybar/config.jsonc b/waybar/config.jsonc
new file mode 100755
index 0000000..b2fe487
--- /dev/null
+++ b/waybar/config.jsonc
@@ -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" ]
+}
diff --git a/waybar/context/ctlcenter.xml b/waybar/context/ctlcenter.xml
new file mode 100644
index 0000000..5b10c48
--- /dev/null
+++ b/waybar/context/ctlcenter.xml
@@ -0,0 +1,130 @@
+
+
+
+
\ No newline at end of file
diff --git a/waybar/context/network.xml b/waybar/context/network.xml
new file mode 100644
index 0000000..b046605
--- /dev/null
+++ b/waybar/context/network.xml
@@ -0,0 +1,27 @@
+
+
+
+
+
diff --git a/waybar/modules.hyprland.jsonc b/waybar/modules.hyprland.jsonc
new file mode 100644
index 0000000..81fcf99
--- /dev/null
+++ b/waybar/modules.hyprland.jsonc
@@ -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": "",
+ "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": [
+ "",
+ "",
+ "",
+ ""
+ ]
+ }
+ },
+
+ "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": "{calendar}",
+ "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": "{}",
+ "weeks": "W{}",
+ "weekdays": "{}",
+ "days": "{}",
+ "today": "{}"
+ }
+ }
+ },
+
+ "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"
+ ]
+ }
+}
diff --git a/waybar/modules.mango.jsonc b/waybar/modules.mango.jsonc
new file mode 100644
index 0000000..b9c5a68
--- /dev/null
+++ b/waybar/modules.mango.jsonc
@@ -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": "",
+ "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": [
+ "",
+ "",
+ "",
+ ""
+ ]
+ }
+ },
+
+ "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": "{calendar}",
+ "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": "{}",
+ "weeks": "W{}",
+ "weekdays": "{}",
+ "days": "{}",
+ "today": "{}"
+ }
+ }
+ },
+
+ "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"
+ ]
+ }
+}
diff --git a/waybar/style.css b/waybar/style.css
new file mode 100755
index 0000000..663348e
--- /dev/null
+++ b/waybar/style.css
@@ -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. */
+}