move dragon to hyprland, add wezterm long-command-finished notifications, update mako styles to be transparent and rounded, use mise by default

This commit is contained in:
Daniel Flanagan 2024-12-20 10:14:12 -06:00
parent d32bba279a
commit 0e38f4dd2a
6 changed files with 25 additions and 9 deletions

View file

@ -336,7 +336,7 @@
virtual-machines
virtual-machines-gui
music-production
plasma6
# plasma6
gaming
slippi.nixosModules.default

View file

@ -61,6 +61,9 @@ end
function _last_cmd_duration
set_color -b normal green
set -q CMD_DURATION && printf " %dms" $CMD_DURATION
if test $CMD_DURATION -gt 5000
printf "\e]777;notify;%s;%s\e\\" "WezTerm: Command Finished" (history --max 1)
end
end
function _maybe_jobs_summary

View file

@ -53,7 +53,6 @@ in {
"firefox"
"wezterm"
"xwaylandvideobridge"
"dbus-update-activation-environment --systemd --all"
"systemctl --user import-environment QT_QPA_PLATFORMTHEME"
# "wezterm"
# NOTE: maybe check out hypridle?
@ -80,7 +79,6 @@ in {
"before-sleep 'swaylock --daemonize'"
])
''swayidle -w timeout 600 'notify-send "Locking in 30 seconds..."' timeout 630 'swaylock -f' timeout 660 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on && maybe-good-morning' before-sleep 'swaylock -f'"''
"dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
];
env = [

View file

@ -23,14 +23,18 @@
home.file."${config.xdg.configHome}/mako/config" = {
enable = true;
text = with style.colors.withHashPrefix; ''
border-size=1
border-size=2
border-radius=5
padding=10,15
max-visible=5
default-timeout=15000
font=Symbols Nerd Font ${toString style.font.size},${style.font.name} ${toString style.font.size}
anchor=top-right
on-notify=exec ${pkgs.mpv}/bin/mpv --volume=50 ~/.notify.wav
actions=1
icons=1
background-color=${bg}
background-color=${bg}AA
text-color=${text}
border-color=${primary}
progress-color=${primary}
@ -39,7 +43,7 @@
border-color=${urgent}
[urgency=high]
background-color=${urgent}
background-color=${urgent}AA
border-color=${urgent}
text-color=${bg}
'';
@ -147,7 +151,7 @@
startup = [
{command = "kdeconnect-indicator";}
# {command = "mako";}
{command = "mako";}
{
command = "swaybg -i $HOME/.wallpaper";
}

View file

@ -22,6 +22,7 @@ config.tab_bar_at_bottom = true
config.window_background_opacity = 1.0
config.enable_kitty_keyboard = true
config.show_new_tab_button_in_tab_bar = true
config.notification_handling = "SuppressFromFocusedTab"
-- config.front_end = "WebGpu"
-- config.webgpu_power_preference = 'HighPerformance'

View file

@ -116,7 +116,7 @@
libinput
libinput-gestures
libnotify
# mako
mako
noto-fonts
pamixer
playerctl
@ -482,7 +482,6 @@
oils-for-unix
watchexec
android-tools
kubectl
stern
libresprite
# logseq
@ -522,6 +521,17 @@
yubico-piv-tool
];
programs.direnv.mise = {
enable = true;
};
programs.mise = {
enable = true;
enableFishIntegration = true;
enableBashIntegration = true;
enableZshIntegration = true;
};
programs.thunderbird = {
enable = true;