Compare commits
2 Commits
3aa810d7b3
...
339a62d601
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
339a62d601 | ||
|
|
9292866a87 |
@@ -43,7 +43,7 @@ mainbox {
|
||||
border-radius: 0px;
|
||||
border-color: @selected;
|
||||
background-color: transparent;
|
||||
children: [ "inputbar", "listview" ];
|
||||
children: [ "message", "inputbar", "listview" ];
|
||||
}
|
||||
message {
|
||||
enabled: true;
|
||||
|
||||
@@ -50,6 +50,7 @@ in
|
||||
|
||||
samfelag.modules.desktop.i3.extraKeybindings = lib.mkIf i3Cfg.enable {
|
||||
"${i3Cfg.mod}+Return" = "exec ${pkgs.alacritty}/bin/alacritty";
|
||||
"${i3Cfg.mod}+Shift+Return" = "exec ${pkgs.alacritty}/bin/alacritty -t floating-term";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -78,6 +78,14 @@ in {
|
||||
window = {
|
||||
border = 1;
|
||||
titlebar = false;
|
||||
|
||||
commands = [
|
||||
{
|
||||
# Allow floating terminals
|
||||
command = "floating enable";
|
||||
criteria = { title="^floating-term$"; };
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
gaps = {
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
|
||||
let
|
||||
cfg = config.samfelag.modules.dev.devenv;
|
||||
i3Cfg = config.samfelag.modules.desktop.i3;
|
||||
in
|
||||
{
|
||||
options.samfelag.modules.dev.devenv = {
|
||||
@@ -19,6 +20,11 @@ in
|
||||
devenv = "source $HOME/.local/share/devenv/devenv.sh";
|
||||
};
|
||||
|
||||
# TODO: This assumes we have alacritty and a python39 devenv set up (may want to fix this at some point)
|
||||
samfelag.modules.desktop.i3.extraKeybindings = lib.mkIf i3Cfg.enable {
|
||||
"${i3Cfg.mod}+Shift+P" = "exec ${pkgs.alacritty}/bin/alacritty -t floating-term -e zsh -c \"direnv exec ~/sandbox/python39 ipython\"";
|
||||
};
|
||||
|
||||
# - Requirements -----------------------------
|
||||
samfelag.modules.dev.direnv.enable = true;
|
||||
|
||||
|
||||
@@ -17,6 +17,9 @@ in
|
||||
hm.programs.rofi.pass = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
default_user="sastrey@gmail.com"
|
||||
default_user2="marc"
|
||||
|
||||
_rofi () {
|
||||
rofi -i -no-auto-select -theme /home/marc/.config/rofi/menus/pass/pass.rasi "$@"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user