zenix: fmt, obs wlrobs
This commit is contained in:
parent
9c6e2ac6bf
commit
c85858eab7
6 changed files with 55 additions and 37 deletions
|
|
@ -1,40 +1,44 @@
|
|||
{pkgs, config, ...}: let
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
inherit (config.lib.cosmic) Actions;
|
||||
in {
|
||||
programs.cosmic = {
|
||||
enable = true;
|
||||
input.asDefaults = true;
|
||||
input.binds = {
|
||||
# Navigation
|
||||
Super. "h" = (Actions.Focus "Left");
|
||||
Super. "l" = (Actions.Focus "Right");
|
||||
Super. "j" = (Actions.Focus "Down");
|
||||
Super. "k" = (Actions.Focus "Up");
|
||||
Super.Shift. "h" = (Actions.Move "Left");
|
||||
Super.Shift. "l" = (Actions.Move "Right");
|
||||
Super.Shift. "j" = (Actions.Move "Down");
|
||||
Super.Shift. "k" = (Actions.Move "Up");
|
||||
Super. "1" = (Actions.Workspace 1);
|
||||
Super. "2" = (Actions.Workspace 2);
|
||||
Super. "3" = (Actions.Workspace 3);
|
||||
Super. "4" = (Actions.Workspace 4);
|
||||
Super. "5" = (Actions.Workspace 5);
|
||||
Super.Shift. "1" = (Actions.MoveToWorkspace 1);
|
||||
Super.Shift. "2" = (Actions.MoveToWorkspace 2);
|
||||
Super.Shift. "3" = (Actions.MoveToWorkspace 3);
|
||||
Super.Shift. "4" = (Actions.MoveToWorkspace 4);
|
||||
Super.Shift. "5" = (Actions.MoveToWorkspace 5);
|
||||
# Navigation
|
||||
Super. "h" = Actions.Focus "Left";
|
||||
Super. "l" = Actions.Focus "Right";
|
||||
Super. "j" = Actions.Focus "Down";
|
||||
Super. "k" = Actions.Focus "Up";
|
||||
Super.Shift. "h" = Actions.Move "Left";
|
||||
Super.Shift. "l" = Actions.Move "Right";
|
||||
Super.Shift. "j" = Actions.Move "Down";
|
||||
Super.Shift. "k" = Actions.Move "Up";
|
||||
Super. "1" = Actions.Workspace 1;
|
||||
Super. "2" = Actions.Workspace 2;
|
||||
Super. "3" = Actions.Workspace 3;
|
||||
Super. "4" = Actions.Workspace 4;
|
||||
Super. "5" = Actions.Workspace 5;
|
||||
Super.Shift. "1" = Actions.MoveToWorkspace 1;
|
||||
Super.Shift. "2" = Actions.MoveToWorkspace 2;
|
||||
Super.Shift. "3" = Actions.MoveToWorkspace 3;
|
||||
Super.Shift. "4" = Actions.MoveToWorkspace 4;
|
||||
Super.Shift. "5" = Actions.MoveToWorkspace 5;
|
||||
Super. "Space" = Actions.ToggleWindowFloating;
|
||||
Super. "f" = Actions.Maximize;
|
||||
Super. "m" = Actions.Minimize;
|
||||
Super.Shift. "x" = Actions.Close;
|
||||
Super.Shift. "v" = Actions.ToggleStacking;
|
||||
Super.Shift. "y" = Actions.ToggleSticky;
|
||||
# System
|
||||
Super. "d" = (Actions.Spawn config.programs.menu.drunCommand);
|
||||
Super. "Return" = (Actions.Spawn pkgs.alacritty);
|
||||
Super. "o" = (Actions.System "HomeFolder");
|
||||
Super.Shift. "s" = (Actions.System "Screenshot");
|
||||
# System
|
||||
Super. "d" = Actions.Spawn config.programs.menu.drunCommand;
|
||||
Super. "Return" = Actions.Spawn pkgs.alacritty;
|
||||
Super. "o" = Actions.System "HomeFolder";
|
||||
Super.Shift. "s" = Actions.System "Screenshot";
|
||||
};
|
||||
background = {
|
||||
displays = {
|
||||
|
|
@ -46,8 +50,10 @@ in {
|
|||
panels = {
|
||||
"Bar" = {
|
||||
applets = {
|
||||
start = [ "com.system76.CosmicAppletWorkspaces" ];
|
||||
center = [ "com.system76.CosmicAppList" ];
|
||||
start = [
|
||||
"com.system76.CosmicAppletWorkspaces"
|
||||
];
|
||||
center = [];
|
||||
end = [
|
||||
"com.system76.CosmicAppletTime"
|
||||
"com.system76.CosmicAppletTiling"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue