Purge Bloxelcom
This commit is contained in:
parent
bdd47c9572
commit
7d30617bb7
4 changed files with 128 additions and 145 deletions
|
@ -97,7 +97,7 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
# Add a kernel entry to boot from the secondary GPU
|
||||
# Additional entry to boot from the second GPU
|
||||
specialisation = {
|
||||
gputwo.configuration = {
|
||||
boot.kernelParams = commonKernelParams ++ [ "vfio-pci.ids=10de:2504,10de:228e" ];
|
||||
|
|
51
PC/jimbo.nix
51
PC/jimbo.nix
|
@ -80,11 +80,11 @@ let
|
|||
rofiScripts = pkgs.writeScriptBin "rofiscripts" ''
|
||||
# Scratchpad function
|
||||
handle_scratchpads() {
|
||||
SCRATCHPADS=$(echo -e "Gotop\nMusic\nAudio\nEasyEffects" | rofi -dmenu -i -p "Scratchpads")
|
||||
SCRATCHPADS=$(echo -e "Gotop\nMusic\nSound\nEasyEffects" | rofi -dmenu -i -p "Scratchpads")
|
||||
case $SCRATCHPADS in
|
||||
Gotop) foot -a gotop -T Gotop gotop;;
|
||||
Music) foot -a music -T Music ncmpcpp;;
|
||||
Audio) foot -a audio -T Audio ncpamixer;;
|
||||
Sound) foot -a sound -T Sound ncpamixer;;
|
||||
EasyEffects) easyeffects;;
|
||||
esac
|
||||
}
|
||||
|
@ -1192,7 +1192,7 @@ in
|
|||
# Scratchpads
|
||||
{ command = "foot -a gotop -T Gotop gotop"; }
|
||||
{ command = "foot -a music -T Music ncmpcpp"; }
|
||||
{ command = "foot -a audio -T Audio ncpamixer"; }
|
||||
{ command = "foot -a sound -T Sound ncpamixer"; }
|
||||
{ command = "easyeffects"; }
|
||||
|
||||
# Daemons and tray apps
|
||||
|
@ -1543,32 +1543,31 @@ in
|
|||
titlebar = false;
|
||||
commands = [
|
||||
# Scratchpads
|
||||
{ command = ''floating enable, sticky enable, move scratchpad, mark borderless'';
|
||||
criteria = { con_mark = "scratchpad"; }; }
|
||||
{ command = ''mark scratchpad'';
|
||||
criteria = { app_id = "gotop"; }; }
|
||||
{ command = ''mark scratchpad'';
|
||||
criteria = { app_id = "music"; }; }
|
||||
{ command = ''mark scratchpad'';
|
||||
criteria = { app_id = "audio"; }; }
|
||||
{ command = ''mark scratchpad, opacity 0.9'';
|
||||
criteria = { app_id = "com.github.wwmm.easyeffects"; }; }
|
||||
{ criteria = { con_mark = "scratchpad"; };
|
||||
command = ''floating enable, sticky enable, move scratchpad, mark borderless''; }
|
||||
{ criteria = { app_id = "gotop"; };
|
||||
command = ''mark scratchpad''; }
|
||||
{ criteria = { app_id = "music"; };
|
||||
command = ''mark scratchpad''; }
|
||||
{ criteria = { app_id = "audio"; };
|
||||
command = ''mark scratchpad''; }
|
||||
{ criteria = { app_id = "com.github.wwmm.easyeffects"; };
|
||||
command = ''mark scratchpad, opacity 0.9''; }
|
||||
|
||||
# Create a "Scratchpad" for apps I don't want to be seen when launched
|
||||
{ command = ''move scratchpad''; criteria = { con_mark = "hiddenaway"; }; }
|
||||
{ criteria = { con_mark = "hiddenaway"; }; command = ''move scratchpad''; }
|
||||
|
||||
# Give apps that don't have them borders
|
||||
{ command = ''border pixel ${borderWeight}''; criteria = { con_mark = "borderless"; }; }
|
||||
{ command = ''mark borderless''; criteria = { app_id = "com.github.wwmm.easyeffects"; }; }
|
||||
{ command = ''mark borderless''; criteria = { class = "steam"; }; }
|
||||
{ command = ''mark borderless''; criteria = { app_id = "swappy"; }; }
|
||||
{ command = ''mark borderless''; criteria = { app_id = "virt-manager"; }; }
|
||||
{ command = ''mark borderless''; criteria = { window_role = "pop-up"; }; }
|
||||
{ criteria = { con_mark = "borderless"; }; command = ''border pixel ${borderWeight}''; }
|
||||
{ criteria = { app_id = "com.github.wwmm.easyeffects"; }; command = ''mark borderless''; }
|
||||
{ criteria = { class = "steam"; }; command = ''mark borderless''; }
|
||||
{ criteria = { app_id = "swappy"; }; command = ''mark borderless''; }
|
||||
{ criteria = { app_id = "virt-manager"; }; command = ''mark borderless''; }
|
||||
{ criteria = { window_role = "pop-up"; }; command = ''mark borderless''; }
|
||||
|
||||
# Floating or fullscreen rules
|
||||
{ command = ''floating enable''; criteria = { app_id = "smb"; }; }
|
||||
{ command = ''floating enable''; criteria = { app_id = "float"; }; }
|
||||
{ command = ''floating enable, fullscreen enable global''; criteria = { title = "^GlobalShot"; }; }
|
||||
{ criteria = { app_id = "float"; }; command = ''floating enable''; }
|
||||
{ criteria = { title = "^GlobalShot"; }; command = ''floating enable, fullscreen enable global''; }
|
||||
];
|
||||
};
|
||||
assigns = {
|
||||
|
@ -1632,9 +1631,9 @@ in
|
|||
all-outputs = true;
|
||||
tooltip = false;
|
||||
rewrite = {
|
||||
"(.*) — Firefox" = " $1";
|
||||
"Firefox" = " Firefox";
|
||||
"(.*) - YouTube — Firefox" = " $1";
|
||||
"(.*) — LibreWolf" = " $1";
|
||||
"LibreWolf" = " Firefox";
|
||||
"(.*) - LibreWolf — Firefox" = " $1";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue