arregla script de teclado
This commit is contained in:
parent
04d12e36ac
commit
ea52f5f7bd
|
@ -1,4 +1,4 @@
|
||||||
{maim, xclip, ...}: ''
|
{maim, xclip, callPackage, ...}: ''
|
||||||
|
|
||||||
# See https://i3wm.org/docs/userguide.html for a complete reference!
|
# See https://i3wm.org/docs/userguide.html for a complete reference!
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ exec_always --no-startup-id xrandr --output DisplayPort-0 --primary --mode 1920x
|
||||||
exec_always --no-startup-id compton -b
|
exec_always --no-startup-id compton -b
|
||||||
# exec_always --no-startup-id $HOME/.config/polybar/launch.sh
|
# exec_always --no-startup-id $HOME/.config/polybar/launch.sh
|
||||||
|
|
||||||
exec --no-startup-id ./keyboard.sh
|
exec --no-startup-id ${callPackage ./keyboard.nix {}}/bin/setkeyboard
|
||||||
# exec --no-startup-id ./wallpaper.sh
|
# exec --no-startup-id ./wallpaper.sh
|
||||||
# exec --no-startup-id dunst -config .config/dunst/dunstrc
|
# exec --no-startup-id dunst -config .config/dunst/dunstrc
|
||||||
|
|
||||||
|
@ -183,7 +183,7 @@ gaps outer 10
|
||||||
gaps inner 10
|
gaps inner 10
|
||||||
|
|
||||||
# screenshot
|
# screenshot
|
||||||
bindsym $mod+Shift+s exec ${maim} -s -u | ${xclip} -selection clipboard -t image/png -i
|
bindsym $mod+Shift+s exec ${maim}/bin/maim -s -u | ${xclip}/bin/xclip -selection clipboard -t image/png -i
|
||||||
|
|
||||||
# 2 screens
|
# 2 screens
|
||||||
workspace $ws1 output DisplayPort-0
|
workspace $ws1 output DisplayPort-0
|
||||||
|
|
9
home/i3/keyboard.nix
Executable file
9
home/i3/keyboard.nix
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
{setxkbmap, writeShellApplication, ...}:
|
||||||
|
writeShellApplication {
|
||||||
|
name = "setkeyboard";
|
||||||
|
runtimeInputs = [ setxkbmap ];
|
||||||
|
text = ''
|
||||||
|
setxkbmap -layout us,latam
|
||||||
|
setxkbmap -option 'grp:alt_shift_toggle'
|
||||||
|
'';
|
||||||
|
}
|
|
@ -1,3 +0,0 @@
|
||||||
setxkbmap -layout us,latam
|
|
||||||
setxkbmap -option 'grp:alt_shift_toggle'
|
|
||||||
export EDITOR=nvim
|
|
|
@ -1,4 +1,4 @@
|
||||||
{callPackage, lib, config, ...}:
|
{pkgs, lib, config, ...}:
|
||||||
with lib; let
|
with lib; let
|
||||||
cfg = config.programs.steam;
|
cfg = config.programs.steam;
|
||||||
in {
|
in {
|
||||||
|
@ -7,7 +7,7 @@ in {
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
home.packages = [
|
home.packages = [
|
||||||
(callPackage ./package.nix {})
|
(pkgs.callPackage ./package.nix {})
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue