mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
further i3 configration, VFIO overhaul
This commit is contained in:
parent
29c6d142f8
commit
9dbef76fad
15 changed files with 542 additions and 90 deletions
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue