1
1
Fork 0

Compare commits

...

4 commits

Author SHA1 Message Date
4d0f1ae22c
hyprland: modify window rules
Signed-off-by: Myned <dev@bjork.tech>
2024-10-26 12:15:29 -05:00
3002252539
fish: add journalctl abbreviations
Signed-off-by: Myned <dev@bjork.tech>
2024-10-26 12:15:14 -05:00
806ebbcbd7
hyprland: disable hover focus on close
Signed-off-by: Myned <dev@bjork.tech>
2024-10-26 12:14:51 -05:00
300e3f37f2
onlyoffice: use native title bar
Signed-off-by: Myned <dev@bjork.tech>
2024-10-26 12:14:21 -05:00
4 changed files with 22 additions and 18 deletions

View file

@ -25,7 +25,7 @@ with lib; let
networkmanager_dmenu = "${pkgs.networkmanager_dmenu}/bin/networkmanager_dmenu";
notify-send = "${pkgs.libnotify}/bin/notify-send";
obsidian = "${pkgs.obsidian}/bin/obsidian";
onlyoffice = "${pkgs.onlyoffice-bin}/bin/onlyoffice-desktopeditors --xdg-desktop-portal";
onlyoffice = "${pkgs.onlyoffice-bin}/bin/onlyoffice-desktopeditors --system-title-bar --xdg-desktop-portal";
pkill = "${pkgs.procps}/bin/pkill";
playerctl = "${pkgs.playerctl}/bin/playerctl";
rofi-rbw = "${pkgs.rofi-rbw}/bin/rofi-rbw";

View file

@ -11,7 +11,7 @@ with lib; let
kitty = "${config.home-manager.users.${config.custom.username}.programs.kitty.package}/bin/kitty";
launch = config.home-manager.users.${config.custom.username}.home.file.".local/bin/launch".source;
loupe = "${pkgs.loupe}/bin/loupe";
onlyoffice = "${pkgs.onlyoffice-bin}/bin/onlyoffice-desktopeditors --xdg-desktop-portal";
onlyoffice = "${pkgs.onlyoffice-bin}/bin/onlyoffice-desktopeditors --system-title-bar --xdg-desktop-portal";
pgrep = "${pkgs.procps}/bin/pgrep";
steam = "${config.programs.steam.package}/bin/steam";
virt-manager = "${pkgs.virt-manager}/bin/virt-manager";
@ -155,7 +155,7 @@ in {
];
editor = rules: [
(class "codium-url-handler" rules) # VSCode
(class "obsidian" (rules ++ ["group barred"]))
(class "obsidian" (rules ++ ["group override barred"]))
];
files = rules: [
(class "org\\.gnome\\.Nautilus" rules)
@ -212,7 +212,7 @@ in {
in
flatten [
### Defaults
(class ".*" ["float" "suppressevent maximize" "syncfullscreen"])
(class ".*" ["float" "group barred" "suppressevent maximize"])
(floating false ["noshadow"])
(floating true ["noborder"])
(fullscreen true ["idleinhibit focus"])
@ -221,31 +221,31 @@ in {
(tag.android ["tile" "workspace special:android"])
(tag.clipboard ["move ${clipboard.x} ${clipboard.y}" "pin" "size ${clipboard.w} ${clipboard.h}" "stayfocused"])
(tag.dropdown ["move ${dropdown.x} ${dropdown.y}" "pin" "size ${dropdown.w} ${dropdown.h}"])
(tag.editor ["group invade" "tile"])
(tag.editor ["group override set invade" "tile"])
(tag.files ["center" "size 1000 625"])
(tag.game ["fullscreen" "group barred" "idleinhibit always" "noborder" "noshadow" "renderunfocused" "workspace name:game"])
#// (tag.media ["tile" "workspace special:scratchpad"])
(tag.game ["fullscreen" "idleinhibit always" "noborder" "noshadow" "renderunfocused" "workspace name:game"])
(tag.media ["center" "keepaspectratio"])
(tag.music ["tile" "workspace special:music"])
(tag.office ["workspace special:office"])
(tag.office ["group override set" "workspace special:office"])
(tag.password ["center" "workspace special:password"])
(tag.pip ["keepaspectratio" "move ${pip.x} ${pip.y}" "pin" "size ${pip.w} ${pip.h}"])
(tag.social ["group invade lock" "tile"])
(tag.pip ["keepaspectratio" "move ${pip.x} ${pip.y}" "noinitialfocus" "pin" "size ${pip.w} ${pip.h}"])
(tag.social ["group override set invade" "tile"])
(tag.steam ["suppressevent activate activatefocus" "workspace special:steam"])
(tag.terminal ["tile"])
(tag.vm ["workspace special:vm"])
(tag.wine ["noborder" "noshadow"])
### Overrides
(class "signal" ["group new"])
(class "signal" ["group override new lock"])
(class "steam_app_1473350" ["workspace 0"]) # (the) Gnorp Apologue
(class "Tap Wizard 2.x86_64" ["workspace 0"])
(class "Tap Wizard 2\\.x86_64" ["workspace 0"])
(class "Xdg-desktop-portal-gtk" ["noborder" "noshadow"])
#!! Expressions are not wrapped in ^$
(fields {
class = "^com\\.github\\.wwmm\\.easyeffects$";
title = "^Easy Effects$"; # Main window
} ["size 50% 50%"])
} ["center" "size 50% 50%"])
(fields {
class = "^discord$";
title = "^Discord Updater$"; # Update dialog
@ -257,15 +257,15 @@ in {
(fields {
class = "^org\\.gnome\\.Nautilus$";
title = "^New Folder$";
} ["stayfocused"])
} ["center" "stayfocused"])
(fields {
class = "^org\\.remmina\\.Remmina$";
title = "^Remmina Remote Desktop Client$"; # Main window
} ["center" "size 1000 500" "workspace +1"])
} ["center" "size 1000 500"])
(fields {
class = "^steam$";
title = "^notificationtoasts$"; # Steam notifications
} ["pin"])
} ["nofocus" "pin"])
(fields {
class = "^steam$";
title = "^Steam$"; # Main window
@ -273,7 +273,7 @@ in {
(fields {
class = "^virt-manager$";
title = "^.+on QEMU/KVM$"; # VM window
} ["tile"])
} ["group override set" "tile"])
];
};
};

View file

@ -187,7 +187,7 @@ in {
input = {
accel_profile = "flat";
float_switch_override_focus = 0; # Disable float to tile hover focus
#// focus_on_close = 1; # Focus window under mouse
focus_on_close = 1; # Focus window under mouse
follow_mouse = 1; # Hover focus
mouse_refocus = false; # Required to focus last window on close
repeat_delay = 300;

View file

@ -124,15 +124,19 @@ in {
jc = "journalctl";
jcs = "journalctl --system";
jcse = "journalctl --system --pager-end";
jcsei = "journalctl --user --pager-end --identifier";
jcseu = "journalctl --system --pager-end --unit";
jcsf = "journalctl --system --follow";
jcsfi = "journalctl --user --follow --identifier";
jcsfu = "journalctl --system --follow --unit";
jcsi = "journalctl --system --identifier";
jcsu = "journalctl --system --unit";
jcu = "journalctl --user";
jcue = "journalctl --user --pager-end";
jcuei = "journalctl --user --pager-end --identifier";
jcueu = "journalctl --user --pager-end --unit";
jcuf = "journalctl --user --follow";
jcufi = "journalctl --user --follow --identifier";
jcufu = "journalctl --user --follow --unit";
jcui = "journalctl --user --identifier";
jcuu = "journalctl --user --unit";