Compare commits

..
35 Commits
Author SHA1 Message Date
Jeremy Janella d3ca83f83f color 2026-11-06 20:27:55 -05:00
jjanella 2b0decd620 just 2026-11-06 20:19:34 -05:00
jjanella f7cbec885b just 2026-11-06 18:28:10 -05:00
Jeremy Janella 492357022e updated x11 ssh config 2026-10-31 00:05:10 -04:00
jjanella fea98efeba c conf 2026-10-30 02:23:11 -04:00
Jeremy Janella 281175418d sshfs 2026-10-26 14:39:59 -04:00
Jeremy Janella 0e4944edad sshfs 2026-10-26 14:39:15 -04:00
Jeremy Janella f1b6a637aa nvim fix 2026-10-23 20:09:29 -04:00
Jeremy Janella 1f9dc369a6 nix update 2026-10-23 19:10:39 -04:00
Jeremy Janella efe9c8bfb1 env 2026-10-23 19:02:30 -04:00
Jeremy Janella 939949f75a ssh configs 2026-10-23 19:01:00 -04:00
Jeremy Janella a0daf842c9 fixed grim 2026-10-23 10:59:50 -04:00
Jeremy Janella 82bf6f2954 wm changes 2026-10-22 16:54:24 -04:00
Jeremy Janella f4b4f8a065 tldr 2026-10-21 15:44:06 -04:00
jjanella 35bd0282fb docker config 2026-10-20 01:33:45 -04:00
jjanella 55d8a42e8d Merge remote-tracking branch 'origin' 2026-10-19 02:27:18 -04:00
jjanella 4ea4302828 wallpaper 2026-10-19 02:26:53 -04:00
Jeremy Janella ad4d60d642 Merge remote-tracking branch 'origin/main' 2026-10-17 05:52:16 -04:00
Jeremy Janella 1da6dcc9c9 thinkpad scaling 2026-10-17 05:52:00 -04:00
jjanella cc44120439 ghostty darker 2026-10-17 05:45:10 -04:00
jjanella 114a607afe no hyprlock; 2026-10-17 04:40:36 -04:00
jjanella da66ca2a07 lock suspend 2026-10-17 02:58:18 -04:00
jjanella dff742a856 tree 2026-10-17 02:56:13 -04:00
jjanella 31cbc81382 waybar fix 2026-10-17 01:27:39 -04:00
jjanella f2b40ae319 hyprland configs 2026-10-16 12:51:19 -04:00
jjanella 80bc4c0736 moving to hyprland 2026-10-15 03:10:36 -04:00
jjanella 40d147777a vm config 2026-10-15 01:45:16 -04:00
jjanella efe324bf20 clinet-config 2026-10-15 01:32:14 -04:00
jjanella d8d6a98daa zathura 2026-10-10 14:53:14 -04:00
Jeremy Janella 7ccd4e15da thunderbird 2026-10-07 13:57:26 -04:00
jjanella 43a1cd19a9 tmux, thunderbird, ripgrep 2026-10-04 04:37:24 -04:00
jjanella 0e3eb20f35 tmux, thunderbird, ripgrep 2026-10-04 04:36:02 -04:00
Jeremy Janella 3490817248 Merge remote-tracking branch 'refs/remotes/origin/main' 2026-10-03 15:16:36 -04:00
Jeremy Janella 148640bb2a gnome-shell 2026-10-03 15:16:21 -04:00
Jeremy Janella ba44c1bc08 gnome-shell 2026-10-03 15:15:26 -04:00
36 changed files with 1721 additions and 146 deletions
+2
View File
@@ -1,2 +1,4 @@
*.env
.gitea-actions-runner-token
*.qcow2
result
+12 -3
View File
@@ -25,9 +25,6 @@
networking.wireless.enable = false;
# nixpkgs.config.allowUnfree = true;
hardware.enableAllFirmware = true;
services.gnome.gnome-keyring.enable = true;
security.pam.services.login.enableGnomeKeyring = true;
security.polkit.enable = true;
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.extraModprobeConfig = ''
@@ -37,6 +34,18 @@
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"
];
};
virtualisation.docker.daemon.settings = {
data-root = "/home/docker";
};
# systemd.services.heat-room = {
# description = "Morning room heating";
# after = [ "graphical-session.target" ];
+1
View File
@@ -0,0 +1 @@
nixos-rebuild build-vm --flake .#$(hostname)
+276 -127
View File
@@ -2,10 +2,28 @@
{ config, lib, pkgs, inputs, ... }:
{
imports = [ ./waybar.nix ./mako.nix ./ghostty.nix ];
nixpkgs.config.allowUnfree = true;
nix.settings.experimental-features = [ "nix-command" "flakes" ];
# programs.hyprland.enable = true;
programs.hyprland.enable = true;
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";
gtk-theme = "Adwaita-dark";
icon-theme = "Adwaita";
cursor-theme = "Adwaita";
font-name = "Cantarell 11";
};
}];
qt = { enable = true; platformTheme = "gnome"; style = "adwaita-dark"; };
programs.steam = {
enable = true;
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
@@ -13,10 +31,7 @@
localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers
gamescopeSession.enable = true;
};
programs.neovim = {
enable = true;
defaultEditor = true;
};
@@ -70,99 +85,226 @@
home.stateVersion = "25.11";
programs.waybar = {
enable = false;
wayland.windowManager.hyprland = {
enable = true;
package = null; # use the one from programs.hyprland
portalPackage = null; # same, avoids version conflicts
settings = {
mainBar = {
layer = "top";
position = "top";
height = 24;
margin-top = 0;
margin-left = 0;
margin-right = 0;
spacing = 4;
exec-once = [
"waybar"
"mako"
"hyprpaper"
# "nm-applet"
# "hypridle"
#"nextcloud --background"
];
modules-left = [ "niri/workspaces" "niri/window" ];
modules-center = [];
modules-right = [ "cpu" "memory" "tray" "battery" "pulseaudio" "clock" ];
env = [
"XCURSOR_THEME,Adwaita"
"XCURSOR_SIZE,24"
"XDG_CURRENT_DESKTOP,Hyprland:GNOME"
];
"niri/workspaces" = {
format = "{index}";
active-only = true;
};
"clock" = {
format = "{:%H:%M | %a %d}";
tooltip-format = "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>";
};
"pulseaudio" = {
format = "{icon} {volume}%";
format-muted = "󰝟";
format-icons = {
default = [ "󰕿" "󰖀" "󰕾" ];
};
on-click = "pavucontrol";
};
"cpu" = { format = " {usage}%"; };
"memory" = { format = "󰍛 {percentage}%"; };
"battery" = {
states = { critical = 15; };
format = "{icon} {capacity}%";
format-icons = [ "󰁺" "󰁼" "󰁾" "󰂀" "󰁹" ];
};
cursor = {
inactive_timeout = 3;
};
misc = {
force_default_wallpaper = 0;
background_color = "rgb(1e1e1e)";
};
general = {
gaps_in = 0;
gaps_out = 0;
border_size = 0;
"col.active_border" = "rgba(ffffff22)";
"col.inactive_border" = "rgba(ffffff0a)";
};
decoration = {
rounding = 0;
shadow = {
enabled = false;
range = 20;
render_power = 3;
color = "rgba(FFFFFFFF)";
};
blur.enabled = false;
};
animations = {
enabled = true;
bezier = [ "gnome, 0.25, 1, 0.5, 1" ];
animation = [
"windows, 1, 4, gnome, popin 90%"
"workspaces, 1, 4, gnome, slide"
"fade, 1, 3, gnome"
];
};
"$mod" = "SUPER";
bind = [
"$mod, C, exec, ghostty"
"$mod, D, exec, fuzzel"
"$mod, Q, killactive"
"$mod, grave, exec, rofi -show drun"
"$mod SHIFT, E, exit"
"$mod, F, fullscreen"
"$mod, V, togglefloating"
# focus
"$mod, H, movefocus, l"
"$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"
"$mod, 2, workspace, 2"
"$mod, 3, workspace, 3"
"$mod, 4, workspace, 4"
"$mod, 5, workspace, 5"
"$mod, 6, workspace, 6"
"$mod, 7, workspace, 7"
"$mod, 8, workspace, 8"
"$mod, 9, workspace, 9"
"$mod SHIFT, 1, movetoworkspace, 1"
"$mod SHIFT, 2, movetoworkspace, 2"
"$mod SHIFT, 3, movetoworkspace, 3"
"$mod SHIFT, 4, movetoworkspace, 4"
"$mod SHIFT, 5, movetoworkspace, 5"
"$mod SHIFT, 6, movetoworkspace, 6"
"$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"
", Print, exec, grimblast --freeze copysave area ~/screenshot.png"
"$mod, Print, exec, grimblast copysave screen ~/screenshot.png"
"$mod SHIFT, Escape, exec, systemctl suspend"
];
# drag/resize windows with Super + mouse
bindm = [
"$mod, mouse:272, movewindow"
"$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%-"
", XF86MonBrightnessUp, exec, brightnessctl set 5%+"
", XF86MonBrightnessDown, exec, brightnessctl set 5%-"
];
bindl = [
", XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
", XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"
];
};
style = ''
* {
font-family: "JetBrainsMono Nerd Font";
font-size: 15px;
border: none;
border-radius: 0;
}
window#waybar {
background: #000;
color: #cdd6f4;
}
#workspaces button {
padding: 0 8px;
color: #bac2de;
}
#workspaces button.focused {
color: #7fc8ff;
background: rgba(127, 200, 255, 0.1);
border-bottom: 2px solid #7fc8ff;
}
#clock, #cpu, #memory, #pulseaudio, #battery {
padding: 0 10px;
margin: 4px 2px;
}
#clock {
font-weight: bold;
color: #89b4fa;
}
'';
};
programs.neovim = { # Configure nvim
enable = true;
extraConfig = ''
set number relativenumber
set tabstop=2
set softtabstop=2
set shiftwidth=2
set expandtab
set cc=80
'';
# programs.waybar = {
# enable = false;
# settings = {
# mainBar = {
# layer = "top";
# position = "top";
# height = 24;
# margin-top = 0;
# margin-left = 0;
# margin-right = 0;
# spacing = 4;
#
# modules-left = [ "niri/workspaces" "niri/window" ];
# modules-center = [];
# modules-right = [ "cpu" "memory" "tray" "battery" "pulseaudio" "clock" ];
#
# "niri/workspaces" = {
# format = "{index}";
# active-only = true;
# };
#
# "clock" = {
# format = "{:%H:%M | %a %d}";
# tooltip-format = "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>";
# };
#
# "pulseaudio" = {
# format = "{icon} {volume}%";
# format-muted = "󰝟";
# format-icons = {
# default = [ "󰕿" "󰖀" "󰕾" ];
# };
# on-click = "pavucontrol";
# };
#
# "cpu" = { format = " {usage}%"; };
# "memory" = { format = "󰍛 {percentage}%"; };
#
# "battery" = {
# states = { critical = 15; };
# format = "{icon} {capacity}%";
# format-icons = [ "󰁺" "󰁼" "󰁾" "󰂀" "󰁹" ];
# };
# };
# };
#
# style = ''
# * {
# font-family: "JetBrainsMono Nerd Font";
# font-size: 15px;
# border: none;
# border-radius: 0;
# }
#
# window#waybar {
# background: #000;
# color: #cdd6f4;
# }
#
# #workspaces button {
# padding: 0 8px;
# color: #bac2de;
# }
#
# #workspaces button.focused {
# color: #7fc8ff;
# background: rgba(127, 200, 255, 0.1);
# border-bottom: 2px solid #7fc8ff;
# }
#
# #clock, #cpu, #memory, #pulseaudio, #battery {
# padding: 0 10px;
# margin: 4px 2px;
# }
#
# #clock {
# font-weight: bold;
# color: #89b4fa;
# }
# '';
# };
services.hyprpaper = {
enable = true;
settings = {
preload = [ "/home/jeremy/nixos/wallpaper.jpg" ];
wallpaper = [ ", /home/jeremy/nixos/wallpaper.jpg" ];
};
};
programs.vscode = { # Configure vscodium
enable = true;
package = inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}.vscodium; # i just want the vscode-dark-2026 theme
@@ -198,7 +340,7 @@
users.users.jeremy = {
isNormalUser = true;
extraGroups = [ "wheel" "docker" "wireshark" "adbusers" "plugdev" "networkmanager" ];
extraGroups = [ "wheel" "docker" "wireshark" "adbusers" "plugdev" "networkmanager" "video" ];
shell = pkgs.bash;
home = "/home/jeremy";
createHome = true;
@@ -210,34 +352,46 @@
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
furmark # Room heater
obsidian # note taking
gcc
xauth
burpsuite
python3
direnv # develop projects in custom environments
# hyprshot # screenshots
binaryninja-free # broke ahh cracker
patchelf # make programs understand nix. good for downloaded executables such as crackmes
starsector # support indie games!
htop
ripgrep
obsidian # note taking
mullvad-vpn # arrr
qbittorrent # arrr
binaryninja-free # broke ahh cracker
mpv # arrr
starsector
burpsuite
wireshark
obs-studio
slack
scrcpy # phone rdp
android-tools # phone rdp
wireguard-tools
blender # drone
gnumake # make & makefile
zathura
thunderbird
claude-code
gdb
tldr
rust-analyzer
cargo
rustc
pyright
ruff
clang-tools
bash-language-server
shellcheck
shfmt
];
};
@@ -250,10 +404,9 @@
dunst
libnotify
rofi
alacritty
ghostty
ncdu
nmap
kitty
git
unzip
pavucontrol # PulseAudio Volume Control
@@ -265,6 +418,14 @@
fuzzel # menu
networkmanagerapplet
wireless-regdb
tmux
ripgrep
thunderbird
waybar fuzzel mako hyprlock hypridle
adwaita-icon-theme gnome-themes-extra
networkmanagerapplet pavucontrol brightnessctl
wl-clipboard grim slurp grimblast nautilus
just
];
@@ -276,6 +437,8 @@
environment.sessionVariables = {
SUDO_EDITOR = "nvim";
EDITOR = "nvim";
VISUAL = "nvim";
};
hardware.bluetooth = {
@@ -283,13 +446,19 @@
powerOnBoot = true;
};
services.tailscale.enable = true;
services.ollama = {
enable = true;
enable = false;
package = pkgs.ollama;
acceleration = "rocm";
host = "0.0.0.0";
};
services.gnome.gnome-keyring.enable = true;
security.pam.services.login.enableGnomeKeyring = true;
security.polkit.enable = true;
services.pulseaudio.enable = false; # Use Pipewire
services.pipewire = {
enable = true;
@@ -298,29 +467,6 @@
jack.enable = false;
};
# networking = {
# interfaces.eno1 = {
# ipv4.addresses = [{
# address = "192.168.2.100";
# prefixLength = 24;
# }];
# };
# defaultGateway = {
# address = "192.168.2.1";
# interface = "eno1";
# };
# # interfaces.ens3 = {
# # ipv4.addresses = [{
# # address = "10.40.0.132";
# # prefixLength = 24;
# # }];
# # };
# # defaultGateway = {
# # address = "10.40.0.1";
# # interface = "wlp10s0";
# # };
# };
security.rtkit.enable = true; # Enable RealtimeKit for audio purposes
@@ -365,18 +511,20 @@
# Enable OpenSSH daemon
services.openssh = {
enable = true;
ports = [2121];
settings.X11Forwarding = true;
};
networking.firewall.allowedTCPPorts = [2121];
networking.networkmanager.enable = true;
networking.extraHosts = ''
10.0.1.51 freeipa.bsidestoctf.com
'';
programs.nm-applet.enable = true;
# Binaries auto linked
programs.nix-ld.enable = true;
programs.nix-ld.libraries = with pkgs; [
stdenv.cc.cc
stdenv.cc.cc.lib
zlib
fuse3
icu
@@ -400,7 +548,8 @@
services.displayManager.gdm.enable = true;
services.desktopManager.gnome.enable = true;
#services.desktopManager.gnome.enable = true;
#services.desktopManager.cosmic.enable = true;
services.gnome.core-apps.enable = true;
services.gnome.core-developer-tools.enable = false;
services.gnome.games.enable = false;
Generated
+21 -4
View File
@@ -37,13 +37,29 @@
"type": "github"
}
},
"nixpkgs-unstable": {
"nixpkgs-2605": {
"locked": {
"lastModified": 1787498568,
"narHash": "sha256-9i/VTdusq/+NM/tz+J1Re+ojkMB8MBf0QshnYfzHz30=",
"lastModified": 1793183032,
"narHash": "sha256-56mFMf8heLNfYhcgbrh4GpN5x+G9JOfTFXZC3n6w0qM=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "56c02bc00adcf003215cc4bd996d6efaf4cff188",
"rev": "08d3a97586f6b6343b3b5e799980773629432610",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-26.05",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1793110635,
"narHash": "sha256-dhoW6VgFWlaodSY5jrBn+CF2FLmaUvDVgM7+C7T2+NM=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "31ecbaca1bdefa45dffc409f0250bd8039ea0010",
"type": "github"
},
"original": {
@@ -57,6 +73,7 @@
"inputs": {
"home-manager": "home-manager",
"nixpkgs": "nixpkgs",
"nixpkgs-2605": "nixpkgs-2605",
"nixpkgs-unstable": "nixpkgs-unstable"
}
}
+5 -2
View File
@@ -10,11 +10,11 @@
inputs.nixpkgs.follows = "nixpkgs";
};
# Optional: Unstable branch for things like Ollama or Hyprland
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs-2605.url = "github:nixos/nixpkgs/nixos-26.05";
};
outputs = { self, nixpkgs, nixpkgs-unstable, home-manager, ... }@inputs: {
outputs = { self, nixpkgs, nixpkgs-unstable, nixpkgs-2605, home-manager, ... }@inputs: {
nixosConfigurations."alien" = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
modules = [
@@ -26,6 +26,7 @@
nixpkgs.overlays = [
(final: prev: {
ollama = nixpkgs-unstable.legacyPackages.${prev.system}.ollama;
neovim = nixpkgs-2605.legacyPackages.${prev.system}.neovim;
})
];
}
@@ -42,6 +43,7 @@
nixpkgs.overlays = [
(final: prev: {
ollama = nixpkgs-unstable.legacyPackages.${prev.system}.ollama;
neovim = nixpkgs-2605.legacyPackages.${prev.system}.neovim;
})
];
}
@@ -58,6 +60,7 @@
nixpkgs.overlays = [
(final: prev: {
ollama = nixpkgs-unstable.legacyPackages.${prev.system}.ollama;
neovim = nixpkgs-2605.legacyPackages.${prev.system}.neovim;
})
];
}
+7
View File
@@ -0,0 +1,7 @@
{ pkgs, ... }:
{
home-manager.users.jeremy = { ... }: {
xdg.configFile."ghostty/config".source = ./ghostty/config;
};
}
+1
View File
@@ -0,0 +1 @@
background = 1f1f1f
+29
View File
@@ -0,0 +1,29 @@
default:
@just --list
upgrade *message:
just test
just commit {{message}}
just rebuild
rebuild:
sudo nixos-rebuild switch --flake .#$(hostname)
build-vm:
nixos-rebuild build-vm --flake .#$(hostname)
update:
nix flake update
gc:
sudo nix-collect-garbage -d
test:
sudo nixos-rebuild build --flake .#$(hostname)
commit *message:
git add -u .
git commit -m "{{message}}"
git pull --rebase
git push
+7
View File
@@ -0,0 +1,7 @@
{ pkgs, ... }:
{
home-manager.users.jeremy = { ... }: {
xdg.configFile."mako/config".source = ./mako/config;
};
}
+47
View File
@@ -0,0 +1,47 @@
font=JetBrainsMono Nerd Font 11
background-color=#1a1b26ee
text-color=#c0caf5
border-color=#7aa2f7
progress-color=over #7aa2f733
border-size=2
border-radius=12
padding=14,18
margin=12
default-timeout=5000
ignore-timeout=0
width=380
height=140
icons=1
max-icon-size=48
icon-location=left
icon-border-radius=8
layer=overlay
anchor=top-right
outer-margin=10
max-visible=5
group-by=app-name
format=<b>%s</b>\n%b
[urgency=low]
border-color=#565f89
text-color=#acb0d0
default-timeout=4000
[urgency=normal]
border-color=#7aa2f7
[urgency=critical]
border-color=#f7768e
text-color=#f7768e
background-color=#1a1b26f2
default-timeout=0
[category=mpd]
border-color=#9ece6a
default-timeout=2000
[app-name=discord]
border-color=#bb9af7
[app-name=Slack]
border-color=#e0af68
+38
View File
@@ -0,0 +1,38 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
neovim
git
gcc
gnumake
ripgrep
fd
lazygit
tree-sitter
nodejs
unzip
wget
curl
xclip
wl-clipboard
nerd-fonts.jetbrains-mono
];
home-manager.users.jeremy = { ... }: {
xdg.configFile."nvim/init.lua".source = ./nvim/init.lua;
xdg.configFile."nvim/lua/config/lazy.lua".source = ./nvim/lua/config/lazy.lua;
xdg.configFile."nvim/lua/config/options.lua".source = ./nvim/lua/config/options.lua;
xdg.configFile."nvim/lua/config/keymaps.lua".source = ./nvim/lua/config/keymaps.lua;
xdg.configFile."nvim/lua/config/autocmds.lua".source = ./nvim/lua/config/autocmds.lua;
xdg.configFile."nvim/lua/plugins/example.lua".source = ./nvim/lua/plugins/example.lua;
xdg.configFile."nvim/lua/plugins/bash.lua".source = ./nvim/lua/plugins/bash.lua;
xdg.configFile."nvim/lua/plugins/clangd.lua".source = ./nvim/lua/plugins/clangd.lua;
xdg.configFile."nvim/lua/plugins/img-clip.lua".source = ./nvim/lua/plugins/img-clip.lua;
xdg.configFile."nvim/lua/plugins/colorscheme.lua".source = ./nvim/lua/plugins/colorscheme.lua;
xdg.configFile."clangd/config.yaml".text = ''
CompileFlags:
Compiler: gcc
'';
};
}
+1
View File
@@ -0,0 +1 @@
require("config.lazy")
View File
View File
+43
View File
@@ -0,0 +1,43 @@
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not (vim.uv or vim.loop).fs_stat(lazypath) then
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
if vim.v.shell_error ~= 0 then
vim.api.nvim_echo({
{ "Failed to clone lazy.nvim:\n", "ErrorMsg" },
{ out, "WarningMsg" },
{ "\nPress any key to exit..." },
}, true, {})
vim.fn.getchar()
os.exit(1)
end
end
vim.opt.rtp:prepend(lazypath)
require("lazy").setup({
spec = {
{ "LazyVim/LazyVim", import = "lazyvim.plugins" },
{ import = "lazyvim.plugins.extras.lang.typst" },
{ import = "lazyvim.plugins.extras.lang.rust" },
{ import = "lazyvim.plugins.extras.lang.python" },
{ import = "lazyvim.plugins.extras.lang.clangd" },
{ import = "plugins" },
},
defaults = {
lazy = false,
version = false,
},
install = { colorscheme = { "tokyonight", "habamax" } },
checker = { enabled = true },
performance = {
rtp = {
disabled_plugins = {
"gzip",
"tarPlugin",
"tohtml",
"tutor",
"zipPlugin",
},
},
},
})
+2
View File
@@ -0,0 +1,2 @@
vim.g.mapleader = " "
vim.g.maplocalleader = "\\"
+38
View File
@@ -0,0 +1,38 @@
return {
{
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)
if type(opts.ensure_installed) == "table" then
vim.list_extend(opts.ensure_installed, { "bash" })
end
end,
},
{
"neovim/nvim-lspconfig",
opts = {
servers = {
bashls = {
filetypes = { "sh", "bash", "zsh" },
},
},
},
},
{
"stevearc/conform.nvim",
opts = {
formatters_by_ft = {
sh = { "shfmt" },
bash = { "shfmt" },
},
},
},
{
"mfussenegger/nvim-lint",
opts = {
linters_by_ft = {
sh = { "shellcheck" },
bash = { "shellcheck" },
},
},
},
}
+21
View File
@@ -0,0 +1,21 @@
return {
{
"neovim/nvim-lspconfig",
opts = {
servers = {
clangd = {
cmd = {
"clangd",
"--background-index",
"--clang-tidy",
"--header-insertion=iwyu",
"--completion-style=detailed",
"--function-arg-placeholders",
"--fallback-style=llvm",
"--query-driver=/etc/profiles/per-user/*/bin/gcc,/etc/profiles/per-user/*/bin/g++,/run/current-system/sw/bin/gcc,/run/current-system/sw/bin/g++,/nix/store/*/bin/gcc,/nix/store/*/bin/g++",
},
},
},
},
},
}
+7
View File
@@ -0,0 +1,7 @@
return {
{ "Mofiqul/vscode.nvim" },
{
"LazyVim/LazyVim",
opts = { colorscheme = "vscode" },
},
}
+1
View File
@@ -0,0 +1 @@
return {}
+19
View File
@@ -0,0 +1,19 @@
return {
{
"HakonHarnes/img-clip.nvim",
event = "VeryLazy",
opts = {
default = {
embed_image_as_base64 = false,
prompt_for_file_name = false,
drag_and_drop = {
insert_mode = true,
},
use_absolute_path = true,
},
},
keys = {
{ "<leader>p", "<cmd>PasteImage<cr>", desc = "Paste image from system clipboard" },
},
},
}
View File
+58 -6
View File
@@ -1,23 +1,36 @@
{ config, lib, pkgs, inputs, ... }:
{
imports = [ ./nvim.nix ];
environment.systemPackages = with pkgs; [ tree sshfs ];
programs.ssh.extraConfig = ''
Host scinet
HostName teach.scinet.utoronto.ca
User lcl_uotcscd60s2180
Host rocky
Hostname 100.125.188.0
User rocky
ForwardX11 yes
ForwardX11Trusted yes
IdentityFile ~/.ssh/id_ed25519.pub
SetEnv TERM=xterm-256color
IdentityFile ~/.ssh/id_ed25519
Host teach
HostName teach.scinet.utoronto.ca
User lcl_uotcscd60s2180
SetEnv TERM=xterm-256color
IdentityFile ~/.ssh/id_ed25519
Host node
Hostname janel.la
User jeremy
ForwardX11Trusted yes
IdentityFile ~/.ssh/id_ed25519.pub
SetEnv TERM=xterm-256color
IdentityFile ~/.ssh/id_ed25519
Host predator
Hostname 10.8.0.4
User jeremy
ForwardX11Trusted yes
SetEnv TERM=xterm-256color
ProxyJump node
Host mathlab
@@ -25,7 +38,46 @@
User janellaj
ForwardX11 yes
ForwardX11Trusted yes
IdentityFile ~/.ssh/id_ed25519.pub
SetEnv TERM=xterm-256color
IdentityFile ~/.ssh/id_ed25519
Host lab
Hostname it-ia3160-01.utsc-labs.utoronto.ca
User janellaj
ForwardX11 yes
ForwardX11Trusted yes
IdentityFile ~/.ssh/id_ed25519
SetEnv TERM=xterm-256color
ProxyJump mathlab
'';
virtualisation.vmVariant = {
services.displayManager.autoLogin = {
enable = true;
user = "jeremy";
};
virtualisation.memorySize = 4096; # MB
virtualisation.cores = 4;
security.sudo.wheelNeedsPassword = false;
};
programs.tmux = {
enable = true;
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
'';
};
}
+8
View File
@@ -35,5 +35,13 @@
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
services.logind.lidSwitch = "suspend";
home-manager.users.jeremy.wayland.windowManager.hyprland.settings = {
monitor = [
"eDP-1, 1920x1200@60, 0x0, 1"
];
};
}
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 190 KiB

+28
View File
@@ -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;
};
}
+14
View File
@@ -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;
+14
View File
@@ -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;
+14
View File
@@ -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;
+11
View File
@@ -0,0 +1,11 @@
{
"layer": "top",
"position": "top",
"margin": "0 0",
"modules-left" : ["group/left"],
"modules-center" : ["clock"],
"modules-right" : [ "group/right", "group/left-hidden-top", "group/right-hidden-top"],
"include": [ "~/.config/waybar/modules.jsonc" ]
}
+130
View File
@@ -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>
+27
View File
@@ -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>
+315
View File
@@ -0,0 +1,315 @@
{
"group/left" : {
"orientation": "horizontal",
"modules" : [
"hyprland/workspaces",
"mpris"
]
},
"group/left-hidden" : {
"orientation": "horizontal",
"modules" : [
"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",
"modules" : [
"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": 10,
"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"
]
}
}
+304
View File
@@ -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"
]
}
}
+216
View File
@@ -0,0 +1,216 @@
@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: #000000;
font-size: 14px;
color: @fg;
min-height: 0;
}
/* global paddings */
#temperature,
#bluetooth,
#battery,
#memory,
#mpris,
#window,
#cpu,
#load,
#backlight,
#pulseaudio {
padding: 0px 7px;
}
#network,
#tray {
padding: 0px 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: 0px 10px;
border-radius: 0;
background: transparent;
border: none;
}
#right-hidden-top,
#left-hidden-top {
padding: 0 12px;
}
#right, #left {
margin: 0;
}
#clock {
padding: 0px 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: 0px 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: 0px 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. */
}