Compare commits
No commits in common. "4d0f1ae22c580aa55726d63478c61c741c4c3fb4" and "d3d7104370f8a9bae2666afad62ddc080fa87d3d" have entirely different histories.
4d0f1ae22c
...
d3d7104370
4 changed files with 18 additions and 22 deletions
|
@ -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 --system-title-bar --xdg-desktop-portal";
|
||||
onlyoffice = "${pkgs.onlyoffice-bin}/bin/onlyoffice-desktopeditors --xdg-desktop-portal";
|
||||
pkill = "${pkgs.procps}/bin/pkill";
|
||||
playerctl = "${pkgs.playerctl}/bin/playerctl";
|
||||
rofi-rbw = "${pkgs.rofi-rbw}/bin/rofi-rbw";
|
||||
|
|
|
@ -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 --system-title-bar --xdg-desktop-portal";
|
||||
onlyoffice = "${pkgs.onlyoffice-bin}/bin/onlyoffice-desktopeditors --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 override barred"]))
|
||||
(class "obsidian" (rules ++ ["group barred"]))
|
||||
];
|
||||
files = rules: [
|
||||
(class "org\\.gnome\\.Nautilus" rules)
|
||||
|
@ -212,7 +212,7 @@ in {
|
|||
in
|
||||
flatten [
|
||||
### Defaults
|
||||
(class ".*" ["float" "group barred" "suppressevent maximize"])
|
||||
(class ".*" ["float" "suppressevent maximize" "syncfullscreen"])
|
||||
(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 override set invade" "tile"])
|
||||
(tag.editor ["group invade" "tile"])
|
||||
(tag.files ["center" "size 1000 625"])
|
||||
(tag.game ["fullscreen" "idleinhibit always" "noborder" "noshadow" "renderunfocused" "workspace name:game"])
|
||||
(tag.media ["center" "keepaspectratio"])
|
||||
(tag.game ["fullscreen" "group barred" "idleinhibit always" "noborder" "noshadow" "renderunfocused" "workspace name:game"])
|
||||
#// (tag.media ["tile" "workspace special:scratchpad"])
|
||||
(tag.music ["tile" "workspace special:music"])
|
||||
(tag.office ["group override set" "workspace special:office"])
|
||||
(tag.office ["workspace special:office"])
|
||||
(tag.password ["center" "workspace special:password"])
|
||||
(tag.pip ["keepaspectratio" "move ${pip.x} ${pip.y}" "noinitialfocus" "pin" "size ${pip.w} ${pip.h}"])
|
||||
(tag.social ["group override set invade" "tile"])
|
||||
(tag.pip ["keepaspectratio" "move ${pip.x} ${pip.y}" "pin" "size ${pip.w} ${pip.h}"])
|
||||
(tag.social ["group invade lock" "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 override new lock"])
|
||||
(class "signal" ["group new"])
|
||||
(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
|
||||
} ["center" "size 50% 50%"])
|
||||
} ["size 50% 50%"])
|
||||
(fields {
|
||||
class = "^discord$";
|
||||
title = "^Discord Updater$"; # Update dialog
|
||||
|
@ -257,15 +257,15 @@ in {
|
|||
(fields {
|
||||
class = "^org\\.gnome\\.Nautilus$";
|
||||
title = "^New Folder$";
|
||||
} ["center" "stayfocused"])
|
||||
} ["stayfocused"])
|
||||
(fields {
|
||||
class = "^org\\.remmina\\.Remmina$";
|
||||
title = "^Remmina Remote Desktop Client$"; # Main window
|
||||
} ["center" "size 1000 500"])
|
||||
} ["center" "size 1000 500" "workspace +1"])
|
||||
(fields {
|
||||
class = "^steam$";
|
||||
title = "^notificationtoasts$"; # Steam notifications
|
||||
} ["nofocus" "pin"])
|
||||
} ["pin"])
|
||||
(fields {
|
||||
class = "^steam$";
|
||||
title = "^Steam$"; # Main window
|
||||
|
@ -273,7 +273,7 @@ in {
|
|||
(fields {
|
||||
class = "^virt-manager$";
|
||||
title = "^.+on QEMU/KVM$"; # VM window
|
||||
} ["group override set" "tile"])
|
||||
} ["tile"])
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -124,19 +124,15 @@ 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";
|
||||
|
|
Loading…
Add table
Reference in a new issue