mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-23 03:25:39 +00:00
i3 tabbed terminal, mess with lock cmd
This commit is contained in:
parent
835cebebfb
commit
e3d9fe083c
@ -1,4 +1,11 @@
|
|||||||
{ config, pkgs, lib, ... }: {
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
|
||||||
|
lockCmd =
|
||||||
|
''exec i3lock --no-fork --color "${config.gui.colorscheme.base00}"'';
|
||||||
|
|
||||||
|
in {
|
||||||
|
|
||||||
config = lib.mkIf config.services.xserver.enable {
|
config = lib.mkIf config.services.xserver.enable {
|
||||||
|
|
||||||
@ -108,15 +115,14 @@
|
|||||||
"XF86AudioPrev" = "exec playerctl previous";
|
"XF86AudioPrev" = "exec playerctl previous";
|
||||||
|
|
||||||
# Launchers
|
# Launchers
|
||||||
"${modifier}+Return" = "exec alacritty";
|
"${modifier}+Return" = "exec alacritty; layout tabbed";
|
||||||
"${modifier}+space" =
|
"${modifier}+space" =
|
||||||
"exec --no-startup-id ${config.gui.launcherCommand}";
|
"exec --no-startup-id ${config.gui.launcherCommand}";
|
||||||
"${modifier}+Shift+c" = "reload";
|
"${modifier}+Shift+c" = "reload";
|
||||||
"${modifier}+Shift+r" = "restart";
|
"${modifier}+Shift+r" = "restart";
|
||||||
"${modifier}+Shift+q" = ''
|
"${modifier}+Shift+q" = ''
|
||||||
exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"'';
|
exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"'';
|
||||||
"${modifier}+Shift+x" =
|
"${modifier}+Shift+x" = lockCmd;
|
||||||
''exec i3lock --color "${config.gui.colorscheme.base00}"'';
|
|
||||||
"${modifier}+Shift+t" = "exec alacritty";
|
"${modifier}+Shift+t" = "exec alacritty";
|
||||||
|
|
||||||
# Window options
|
# Window options
|
||||||
|
@ -27,10 +27,12 @@
|
|||||||
xclip # Clipboard
|
xclip # Clipboard
|
||||||
];
|
];
|
||||||
|
|
||||||
home-manager.users.${config.user}.programs.fish.shellAliases = {
|
home-manager.users.${config.user} = {
|
||||||
|
programs.fish.shellAliases = {
|
||||||
pbcopy = "xclip -selection clipboard -in";
|
pbcopy = "xclip -selection clipboard -in";
|
||||||
pbpaste = "xclip -selection clipboard -out";
|
pbpaste = "xclip -selection clipboard -out";
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user