further i3 configration, VFIO overhaul

This commit is contained in:
kat witch 2022-01-06 02:09:46 +00:00 committed by kat
parent 29c6d142f8
commit 9dbef76fad
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
15 changed files with 542 additions and 90 deletions

View file

@ -18,6 +18,7 @@
mouse_middle_click = "context";
mouse_left_click = "close_current";
show_indicators = false;
fullscreen = "pushback"; # default is to "show"
#dmenu = "${config.programs.dmenu.package}/bin/dmenu";
dmenu = "${config.programs.rofi.package}/bin/rofi";
browser = "${pkgs.xdg-utils}/bin/xdg-open";

View file

@ -1,6 +1,12 @@
{ config, base16, pkgs, lib, ... }: with lib;
{
programs.zsh.loginExtra = ''
if [[ -z "''${TMUX-}" && -z "''${DISPLAY-}" && "''${XDG_VTNR-}" = 1 && $(${pkgs.coreutils}/bin/id -u) != 0 ]]; then
${pkgs.xorg.xinit}/bin/startx
fi
'';
services.i3gopher = { enable = true; };
home.file.".xinitrc".text = ''
@ -27,10 +33,10 @@
"7"
"8"
"9"
]
++ [ (bindWorkspace "0" "10:10") ]
++ lib.imap1 (i: v: bindWorkspace v "${toString (10 + i)}:${v}") [
"F1"
]
++ [ (bindWorkspace "0" "10:10") ]
++ lib.imap1 (i: v: bindWorkspace v "${toString (10 + i)}:${v}") [
"F1"
"F2"
"F3"
"F4"

View file

@ -1,6 +1,7 @@
{ config, base16, lib, pkgs, ... }: with lib; {
programs.rofi = {
enable = true;
terminal = "${pkgs.kitty}/bin/kitty";
font = "${config.kw.theme.font.name} 9";
theme = let
# Use `mkLiteral` for string-like values that should show without