update, added assets
This commit is contained in:
11
home/i3.nix
11
home/i3.nix
@@ -12,6 +12,7 @@ in
|
||||
{
|
||||
programs.i3status = {
|
||||
enable = true;
|
||||
enableDefault = false;
|
||||
general = {
|
||||
output_format = "i3bar";
|
||||
interval = 1;
|
||||
@@ -34,7 +35,7 @@ in
|
||||
settings = {
|
||||
format = "LD %1min:%5min:%15min";
|
||||
format_above_threshold = "LD H (%1min:%5min)";
|
||||
max_threshold = "0.9";
|
||||
max_threshold = "4.9";
|
||||
};
|
||||
};
|
||||
"memory" = {
|
||||
@@ -79,6 +80,7 @@ in
|
||||
xsession.windowManager.i3 = {
|
||||
enable = true;
|
||||
config = {
|
||||
defaultWorkspace = ''workspace number "1"'';
|
||||
modifier = modKey;
|
||||
menu = MENU;
|
||||
terminal = TERM;
|
||||
@@ -88,6 +90,9 @@ in
|
||||
smartGaps = true;
|
||||
inner = 10;
|
||||
};
|
||||
startup = [
|
||||
{ command = "fcitx5 -r"; always = true; notification = false; }
|
||||
];
|
||||
modes = {
|
||||
resize = {
|
||||
"${UP}" = "resize shrink height 10 px or 10 ppt";
|
||||
@@ -117,6 +122,7 @@ in
|
||||
"${modKey}+e" = "layout toggle split";
|
||||
"${modKey}+Shift+space" = "floating toggle";
|
||||
"${modKey}+space" = "focus mode_toggle";
|
||||
"${modKey}+minus" = "scratchpad show";
|
||||
"${modKey}+Shift+minus" = "move scratchpad";
|
||||
"${modKey}+n" = "workspace next";
|
||||
"${modKey}+p" = "workspace prev";
|
||||
@@ -144,6 +150,9 @@ in
|
||||
"${modKey}+Shift+8" = ''move container to workspace number "8"'';
|
||||
"${modKey}+Shift+9" = ''move container to workspace number "9"'';
|
||||
"${modKey}+Shift+0" = ''move container to workspace number "10"'';
|
||||
"XF86AudioRaiseVolume" = ''exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5%'';
|
||||
"XF86AudioLowerVolume" = ''exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5%'';
|
||||
"XF86AudioMute" = ''exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user