Compare commits
4 commits
d3d7104370
...
4d0f1ae22c
Author | SHA1 | Date | |
---|---|---|---|
4d0f1ae22c | |||
3002252539 | |||
806ebbcbd7 | |||
300e3f37f2 |
4 changed files with 22 additions and 18 deletions
|
@ -25,7 +25,7 @@ with lib; let
|
||||||
networkmanager_dmenu = "${pkgs.networkmanager_dmenu}/bin/networkmanager_dmenu";
|
networkmanager_dmenu = "${pkgs.networkmanager_dmenu}/bin/networkmanager_dmenu";
|
||||||
notify-send = "${pkgs.libnotify}/bin/notify-send";
|
notify-send = "${pkgs.libnotify}/bin/notify-send";
|
||||||
obsidian = "${pkgs.obsidian}/bin/obsidian";
|
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";
|
pkill = "${pkgs.procps}/bin/pkill";
|
||||||
playerctl = "${pkgs.playerctl}/bin/playerctl";
|
playerctl = "${pkgs.playerctl}/bin/playerctl";
|
||||||
rofi-rbw = "${pkgs.rofi-rbw}/bin/rofi-rbw";
|
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";
|
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;
|
launch = config.home-manager.users.${config.custom.username}.home.file.".local/bin/launch".source;
|
||||||
loupe = "${pkgs.loupe}/bin/loupe";
|
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";
|
pgrep = "${pkgs.procps}/bin/pgrep";
|
||||||
steam = "${config.programs.steam.package}/bin/steam";
|
steam = "${config.programs.steam.package}/bin/steam";
|
||||||
virt-manager = "${pkgs.virt-manager}/bin/virt-manager";
|
virt-manager = "${pkgs.virt-manager}/bin/virt-manager";
|
||||||
|
@ -155,7 +155,7 @@ in {
|
||||||
];
|
];
|
||||||
editor = rules: [
|
editor = rules: [
|
||||||
(class "codium-url-handler" rules) # VSCode
|
(class "codium-url-handler" rules) # VSCode
|
||||||
(class "obsidian" (rules ++ ["group barred"]))
|
(class "obsidian" (rules ++ ["group override barred"]))
|
||||||
];
|
];
|
||||||
files = rules: [
|
files = rules: [
|
||||||
(class "org\\.gnome\\.Nautilus" rules)
|
(class "org\\.gnome\\.Nautilus" rules)
|
||||||
|
@ -212,7 +212,7 @@ in {
|
||||||
in
|
in
|
||||||
flatten [
|
flatten [
|
||||||
### Defaults
|
### Defaults
|
||||||
(class ".*" ["float" "suppressevent maximize" "syncfullscreen"])
|
(class ".*" ["float" "group barred" "suppressevent maximize"])
|
||||||
(floating false ["noshadow"])
|
(floating false ["noshadow"])
|
||||||
(floating true ["noborder"])
|
(floating true ["noborder"])
|
||||||
(fullscreen true ["idleinhibit focus"])
|
(fullscreen true ["idleinhibit focus"])
|
||||||
|
@ -221,31 +221,31 @@ in {
|
||||||
(tag.android ["tile" "workspace special:android"])
|
(tag.android ["tile" "workspace special:android"])
|
||||||
(tag.clipboard ["move ${clipboard.x} ${clipboard.y}" "pin" "size ${clipboard.w} ${clipboard.h}" "stayfocused"])
|
(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.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.files ["center" "size 1000 625"])
|
||||||
(tag.game ["fullscreen" "group barred" "idleinhibit always" "noborder" "noshadow" "renderunfocused" "workspace name:game"])
|
(tag.game ["fullscreen" "idleinhibit always" "noborder" "noshadow" "renderunfocused" "workspace name:game"])
|
||||||
#// (tag.media ["tile" "workspace special:scratchpad"])
|
(tag.media ["center" "keepaspectratio"])
|
||||||
(tag.music ["tile" "workspace special:music"])
|
(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.password ["center" "workspace special:password"])
|
||||||
(tag.pip ["keepaspectratio" "move ${pip.x} ${pip.y}" "pin" "size ${pip.w} ${pip.h}"])
|
(tag.pip ["keepaspectratio" "move ${pip.x} ${pip.y}" "noinitialfocus" "pin" "size ${pip.w} ${pip.h}"])
|
||||||
(tag.social ["group invade lock" "tile"])
|
(tag.social ["group override set invade" "tile"])
|
||||||
(tag.steam ["suppressevent activate activatefocus" "workspace special:steam"])
|
(tag.steam ["suppressevent activate activatefocus" "workspace special:steam"])
|
||||||
(tag.terminal ["tile"])
|
(tag.terminal ["tile"])
|
||||||
(tag.vm ["workspace special:vm"])
|
(tag.vm ["workspace special:vm"])
|
||||||
(tag.wine ["noborder" "noshadow"])
|
(tag.wine ["noborder" "noshadow"])
|
||||||
|
|
||||||
### Overrides
|
### Overrides
|
||||||
(class "signal" ["group new"])
|
(class "signal" ["group override new lock"])
|
||||||
(class "steam_app_1473350" ["workspace 0"]) # (the) Gnorp Apologue
|
(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"])
|
(class "Xdg-desktop-portal-gtk" ["noborder" "noshadow"])
|
||||||
|
|
||||||
#!! Expressions are not wrapped in ^$
|
#!! Expressions are not wrapped in ^$
|
||||||
(fields {
|
(fields {
|
||||||
class = "^com\\.github\\.wwmm\\.easyeffects$";
|
class = "^com\\.github\\.wwmm\\.easyeffects$";
|
||||||
title = "^Easy Effects$"; # Main window
|
title = "^Easy Effects$"; # Main window
|
||||||
} ["size 50% 50%"])
|
} ["center" "size 50% 50%"])
|
||||||
(fields {
|
(fields {
|
||||||
class = "^discord$";
|
class = "^discord$";
|
||||||
title = "^Discord Updater$"; # Update dialog
|
title = "^Discord Updater$"; # Update dialog
|
||||||
|
@ -257,15 +257,15 @@ in {
|
||||||
(fields {
|
(fields {
|
||||||
class = "^org\\.gnome\\.Nautilus$";
|
class = "^org\\.gnome\\.Nautilus$";
|
||||||
title = "^New Folder$";
|
title = "^New Folder$";
|
||||||
} ["stayfocused"])
|
} ["center" "stayfocused"])
|
||||||
(fields {
|
(fields {
|
||||||
class = "^org\\.remmina\\.Remmina$";
|
class = "^org\\.remmina\\.Remmina$";
|
||||||
title = "^Remmina Remote Desktop Client$"; # Main window
|
title = "^Remmina Remote Desktop Client$"; # Main window
|
||||||
} ["center" "size 1000 500" "workspace +1"])
|
} ["center" "size 1000 500"])
|
||||||
(fields {
|
(fields {
|
||||||
class = "^steam$";
|
class = "^steam$";
|
||||||
title = "^notificationtoasts$"; # Steam notifications
|
title = "^notificationtoasts$"; # Steam notifications
|
||||||
} ["pin"])
|
} ["nofocus" "pin"])
|
||||||
(fields {
|
(fields {
|
||||||
class = "^steam$";
|
class = "^steam$";
|
||||||
title = "^Steam$"; # Main window
|
title = "^Steam$"; # Main window
|
||||||
|
@ -273,7 +273,7 @@ in {
|
||||||
(fields {
|
(fields {
|
||||||
class = "^virt-manager$";
|
class = "^virt-manager$";
|
||||||
title = "^.+on QEMU/KVM$"; # VM window
|
title = "^.+on QEMU/KVM$"; # VM window
|
||||||
} ["tile"])
|
} ["group override set" "tile"])
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -187,7 +187,7 @@ in {
|
||||||
input = {
|
input = {
|
||||||
accel_profile = "flat";
|
accel_profile = "flat";
|
||||||
float_switch_override_focus = 0; # Disable float to tile hover focus
|
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
|
follow_mouse = 1; # Hover focus
|
||||||
mouse_refocus = false; # Required to focus last window on close
|
mouse_refocus = false; # Required to focus last window on close
|
||||||
repeat_delay = 300;
|
repeat_delay = 300;
|
||||||
|
|
|
@ -124,15 +124,19 @@ in {
|
||||||
jc = "journalctl";
|
jc = "journalctl";
|
||||||
jcs = "journalctl --system";
|
jcs = "journalctl --system";
|
||||||
jcse = "journalctl --system --pager-end";
|
jcse = "journalctl --system --pager-end";
|
||||||
|
jcsei = "journalctl --user --pager-end --identifier";
|
||||||
jcseu = "journalctl --system --pager-end --unit";
|
jcseu = "journalctl --system --pager-end --unit";
|
||||||
jcsf = "journalctl --system --follow";
|
jcsf = "journalctl --system --follow";
|
||||||
|
jcsfi = "journalctl --user --follow --identifier";
|
||||||
jcsfu = "journalctl --system --follow --unit";
|
jcsfu = "journalctl --system --follow --unit";
|
||||||
jcsi = "journalctl --system --identifier";
|
jcsi = "journalctl --system --identifier";
|
||||||
jcsu = "journalctl --system --unit";
|
jcsu = "journalctl --system --unit";
|
||||||
jcu = "journalctl --user";
|
jcu = "journalctl --user";
|
||||||
jcue = "journalctl --user --pager-end";
|
jcue = "journalctl --user --pager-end";
|
||||||
|
jcuei = "journalctl --user --pager-end --identifier";
|
||||||
jcueu = "journalctl --user --pager-end --unit";
|
jcueu = "journalctl --user --pager-end --unit";
|
||||||
jcuf = "journalctl --user --follow";
|
jcuf = "journalctl --user --follow";
|
||||||
|
jcufi = "journalctl --user --follow --identifier";
|
||||||
jcufu = "journalctl --user --follow --unit";
|
jcufu = "journalctl --user --follow --unit";
|
||||||
jcui = "journalctl --user --identifier";
|
jcui = "journalctl --user --identifier";
|
||||||
jcuu = "journalctl --user --unit";
|
jcuu = "journalctl --user --unit";
|
||||||
|
|
Loading…
Add table
Reference in a new issue