feat: add notion desktop entry

This commit is contained in:
DACHXY 2025-01-14 12:00:16 +08:00
parent c8ef495a63
commit 21be3b127f
8 changed files with 111 additions and 13 deletions

View file

@ -1,7 +1,6 @@
{ mainMod, nvidia-offload-enabled }:
let
prefix = if nvidia-offload-enabled then "offload " else "";
uwsm = "uwsm app --";
browser = "${prefix}firefox";
terminal = "${prefix}ghostty";
filemanager = "nemo";
@ -25,7 +24,7 @@ in
''${mainMod}, E, exec, ${filemanager}''
''${mainMod}, V, togglefloating, ''
''ALT, SPACE, exec, rofi -config ~/.config/rofi/apps.rasi -show drun''
''${mainMod} ALT, W, exec, ${uwsm} ${scripts}/waybarRestart.sh''
''${mainMod} ALT, W, exec, ${scripts}/waybarRestart.sh''
''${mainMod}, P, pseudo, # dwindle''
''${mainMod}, S, togglesplit, # dwindle''
''CTRL ${mainMod} SHIFT, L, exec, hyprlock''

View file

@ -18,16 +18,16 @@ let
dconf write /org/gnome/desktop/interface/cursor-size ${xcursor-size} &
uwsm app -- ${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1 &
uwsm app -- ${swayncScript}/bin/swaync-start &
${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1 &
${swayncScript}/bin/swaync-start &
dbus-update-activation-environment --systemd --all &
systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP &
uwsm app -- hyprpaper &
uwsm app -- waybar -c ~/.config/waybar/config.json -s ~/.config/waybar/style.css &
hyprpaper &
waybar -c ~/.config/waybar/config.json -s ~/.config/waybar/style.css &
systemctl --user enable --now hypridle.service &
uwsm fcitx5 -rd &
uwsm app -- fcitx5-remote -r &
uwsm app -- hyprsunset -t 3000k
fcitx5 -rd &
fcitx5-remote -r &
hyprsunset -t 3000k
'';
in
''${startupScript}/bin/start''