update office and hyprland config

This commit is contained in:
dim
2025-10-11 08:24:26 +07:00
parent 4222f21a6d
commit cb5055363a
8 changed files with 77 additions and 33 deletions

View File

@@ -46,7 +46,11 @@ in {
"$shiftMod" = "SUPER_SHIFT";
"$ctrlMod" = "SUPER_CTRL";
exec-once = [ "dbus-update-activation-environment --systemd --all" ];
exec-once = [
"systemctl --user import-environment"
"hash dbus-update-activation-environment 2>/dev/null"
"dbus-update-activation-environment --systemd --all"
];
ecosystem = { no_update_news = true; };
plugin = { overview = { autoDrag = false; }; };
@@ -125,7 +129,7 @@ in {
mfact = 0.6;
};
gestures = { workspace_swipe = true; };
gesture = [ "3, horizontal, workspace" ];
misc = {
vfr = true;

View File

@@ -1,6 +1,6 @@
{ pkgs, ... }: {
wayland.windowManager.hyprland.settings = {
windowrulev2 = [
windowrule = [
"workspace 2, class:^(emacs)$"
"workspace 3, class:^(kitty)$"
"workspace 3, class:^(com.mitchellh.ghostty)$"
@@ -8,18 +8,30 @@
"workspace 9, title:^(Chromium)$"
"fullscreen, class:^(wlogout)$"
"float, class:^(Zotero)$"
"size 810 200, class:^(Zotero)$,title:^(Quick Format Citation)*$"
"float, class:^(firefox)$,title:^(Certificate for )*$"
"float, class:^(firefox)$,title:^(.*Firefox Sharing Indicator.*)$"
"float, class:^(firefox)$,title:^(.*Presensi Mahasiswa.*)$"
"float, class:^(firefox)$,title:^(Extension)(.*)$"
"float, class:^(pcmanfm)$,title:^(Confirm File Replacing)$"
"float, class:^(nemo)$,title:^(Confirm File Replacing)$"
"float, class:^(firefox)$"
"center, class:^(firefox)$"
"size 620 920, class:^(firefox)$"
"size 810 200, class:^(Zotero)$, title:^(Quick Format Citation)*$"
"tag +dialog, class:^(firefox)$, title:^(Certificate for )*$"
"tag +dialog, class:^(firefox)$, title:^(Extension: )*$"
"float, class:^(firefox)$, title:^(.*Firefox Sharing Indicator.*)$"
"tag +dialog, class:^(firefox)$, title:^(Presensi Mahasiswa)*$"
"float, class:^(firefox)$, title:^(Extension)(.*)$"
"float, class:^(pcmanfm)$, title:^(Confirm File Replacing)$"
"float, class:^(nemo)$, title:^(Confirm File Replacing)$"
"float, title:^(Confirm File Replacing)$"
"float, class:thunar,title:^(Rename.*)$"
"float, class:thunar, title:^(Rename.*)$"
"float, class:^(org.inkscape.Inkscape)$"
"float, class:^(nm-connection-editor)$"
"float, class:^(.*blueman-manager.*)$"
"float, title:^(Picture-in-Picture)$"
"size 960 540, title:^(Picture-in-Picture)$"
"move 25%-, title:^(Picture-in-Picture)$"
"float, title:^(imv|mpv|danmufloat|termfloat|nemo|ncmpcpp)$"
"move 25%-, title:^(imv|mpv|danmufloat|termfloat|nemo|ncmpcpp)$"
"size 960 540, title:^(imv|mpv|danmufloat|termfloat|nemo|ncmpcpp)$"
"pin, title:^(danmufloat)$"
"noblur, class:^(org.mozilla.firefox)$"
"size 530 300, class:^(.*blueman-manager.*)$"
"move 100%-w-20 40, class:^(.*blueman-manager.*)$"
"tag +portal, class:^(.*desktop-portal.*)$"
@@ -27,6 +39,7 @@
"noblur, tag:portal"
"noshadow, tag:portal"
"float, tag:portal"
"float, tag:dialog"
"pin, tag:portal"
"pin, class:^(gcr-prompter)$"
"float, title:^(Volume Control)$"
@@ -41,7 +54,6 @@
"float, class:^(thunderbird)$,title:^(Edit Event:)$"
"float, class:^(thunderbird)$,title:^(An error has occurred)$"
"float, class:^(thunar)$,title:^(File Operation Progress)$"
"float, class:firefox,title:(.*Bitwarden Password Manager.*)"
"float, class:^(org.kde.polkit-kde-authentication-agent-1)$"
"size 60% 55%, class:^(nwg-look)$"
"center, class:^(nwg-look)$"