Compare commits
5 commits
826528d9a9
...
41113be492
Author | SHA1 | Date | |
---|---|---|---|
41113be492 | |||
613e3fe389 | |||
bc5366e041 | |||
5adf45d44b | |||
68ef2fb3f9 |
7 changed files with 19 additions and 17 deletions
|
@ -10,6 +10,11 @@
|
|||
height = 1440;
|
||||
refresh = 100;
|
||||
|
||||
programs.looking-glass = {
|
||||
enable = true;
|
||||
igpu = true;
|
||||
};
|
||||
|
||||
settings = {
|
||||
storage.mnt = ["gayme" "myve"];
|
||||
|
||||
|
|
|
@ -204,6 +204,7 @@ in {
|
|||
(class "org\\.gnome\\.Nautilus" rules)
|
||||
];
|
||||
game = rules: [
|
||||
(class ".*\\.(exe|x86_64)" rules) # Wine
|
||||
(class "moe\\.launcher\\..+" (rules ++ ["size 1280 730"])) # An Anime Game Launcher
|
||||
(class "net.retrodeck.retrodeck" rules) # Emulators
|
||||
(class "steam_app_.+" rules) # Proton
|
||||
|
@ -250,9 +251,6 @@ in {
|
|||
(class "org\\.remmina\\.Remmina" (rules ++ ["tile"]))
|
||||
(class "virt-manager" rules)
|
||||
];
|
||||
wine = rules: [
|
||||
(class ".*\\.(exe|x86_64)" rules) # Wine
|
||||
];
|
||||
};
|
||||
in
|
||||
flatten [
|
||||
|
@ -263,23 +261,22 @@ in {
|
|||
(fullscreen true ["idleinhibit focus"])
|
||||
(pinned true ["bordercolor rgb(073642) rgb(073642)"])
|
||||
|
||||
(tag.android ["idleinhibit always" "move ${android.x} ${android.y}" "size ${android.w} ${android.h}" "workspace special:android"])
|
||||
(tag.android ["idleinhibit always" "move ${android.x} ${android.y}" "size ${android.w} ${android.h}" "workspace special:android silent"])
|
||||
(tag.browser ["group override set" "tile" "workspace 1"])
|
||||
(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" "tile"])
|
||||
(tag.files ["center"])
|
||||
(tag.game ["idleinhibit always" "noborder" "noshadow" "renderunfocused" "workspace name:game"])
|
||||
(tag.game ["focusonactivate" "idleinhibit always" "noborder" "noshadow" "renderunfocused" "workspace name:game"])
|
||||
(tag.media ["center" "keepaspectratio" "size <90% <90%"])
|
||||
(tag.music ["tile" "workspace special:music"])
|
||||
(tag.office ["group override set" "tile" "workspace special:office"])
|
||||
(tag.password ["center" "tile" "workspace special:password"])
|
||||
(tag.music ["tile" "workspace special:music silent"])
|
||||
(tag.office ["group override set" "tile" "workspace special:office silent"])
|
||||
(tag.password ["center" "tile" "workspace special:password silent"])
|
||||
(tag.pip ["keepaspectratio" "move ${pip.x} ${pip.y}" "noinitialfocus" "pin" "size ${pip.w} ${pip.h}"])
|
||||
(tag.social ["group override set" "tile"])
|
||||
(tag.steam ["suppressevent activate activatefocus" "workspace special:steam"])
|
||||
(tag.steam ["suppressevent activate activatefocus" "workspace special:steam silent"])
|
||||
(tag.terminal ["tile"])
|
||||
(tag.vm ["workspace special:vm"])
|
||||
(tag.wine ["noborder" "noshadow"])
|
||||
(tag.vm ["workspace special:vm silent"])
|
||||
|
||||
### Overrides
|
||||
(class "dev\\.benz\\.walker" ["noanim" "noshadow" "pin" "stayfocused"]) # Imitate layer
|
||||
|
@ -308,7 +305,7 @@ in {
|
|||
(fields {
|
||||
class = "^org\\.gnome\\.Loupe$";
|
||||
title = "^wallpaper.png$";
|
||||
} ["tile" "workspace special:wallpaper"])
|
||||
} ["tile" "workspace special:wallpaper silent"])
|
||||
(fields {
|
||||
class = "^org\\.gnome\\.Nautilus$";
|
||||
title = "^Home$"; # Main window
|
||||
|
|
|
@ -231,7 +231,7 @@ in {
|
|||
"extensions.formautofill.creditCards.enabled" = locked false;
|
||||
"general.autoScroll" = locked false;
|
||||
"general.smoothScroll" = locked true;
|
||||
"gfx.webrender.software" = locked true;
|
||||
"gfx.webrender.software" = locked config.custom.programs.looking-glass.igpu; # Reduce load on iGPU
|
||||
"layers.acceleration.force-enabled" = locked true;
|
||||
"layout.css.always_underline_links" = locked false;
|
||||
"layout.css.backdrop-filter.enabled" = locked true;
|
||||
|
|
|
@ -8,6 +8,7 @@ with lib; let
|
|||
in {
|
||||
options.custom.programs.looking-glass = {
|
||||
enable = mkOption {default = false;};
|
||||
igpu = mkOption {default = false;};
|
||||
kvmfr = mkOption {default = true;};
|
||||
};
|
||||
|
||||
|
|
|
@ -125,7 +125,7 @@ in {
|
|||
reload_style_on_change = true; # Reload CSS when modified
|
||||
|
||||
## GLOBAL ##
|
||||
layer = "top";
|
||||
layer = "bottom";
|
||||
position = "bottom";
|
||||
|
||||
## POSITION ##
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
full = true;
|
||||
profile = "desktop";
|
||||
wallpaper = true;
|
||||
programs.looking-glass.enable = true;
|
||||
services.power-profiles-daemon.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
profile = "desktop"; # Inherit desktop
|
||||
|
||||
services = {
|
||||
auto-cpufreq.enable = true;
|
||||
#// power-profiles-daemon.enable = true;
|
||||
#// auto-cpufreq.enable = true;
|
||||
power-profiles-daemon.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue