mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
Various updates, flake update
This commit is contained in:
parent
e9e4a844f5
commit
ff1d56277f
11 changed files with 37 additions and 38 deletions
|
|
@ -9,7 +9,7 @@
|
|||
exiftool
|
||||
thunderbird
|
||||
mumble-develop
|
||||
dino-omemo
|
||||
dino
|
||||
tdesktop
|
||||
headsetcontrol
|
||||
transmission-remote-gtk
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
{ config, base16, pkgs, lib, ... }: with lib;
|
||||
|
||||
{
|
||||
let
|
||||
lockCmd = "${pkgs.i3lock}/bin/i3lock -nc 000000";
|
||||
in {
|
||||
programs.zsh.loginExtra = ''
|
||||
if [[ -z "''${TMUX-}" && -z "''${DISPLAY-}" && "''${XDG_VTNR-}" = 1 && $(${pkgs.coreutils}/bin/id -u) != 0 ]]; then
|
||||
${pkgs.xorg.xinit}/bin/startx
|
||||
|
|
@ -11,7 +12,7 @@
|
|||
i3gopher.enable = true;
|
||||
screen-locker = {
|
||||
enable = true;
|
||||
lockCmd = "${pkgs.i3lock-fancy}/bin/i3lock-fancy -n";
|
||||
inherit lockCmd;
|
||||
xautolock.enable = true;
|
||||
};
|
||||
};
|
||||
|
|
@ -58,7 +59,6 @@
|
|||
];
|
||||
workspaceBindings' = map (lib.mapAttrsToList bindsym) workspaceBindings;
|
||||
workspaceBindingsStr = lib.concatStringsSep "\n" (lib.flatten workspaceBindings');
|
||||
lockCommand = "${pkgs.i3lock-blur}/bin/i3lock-color -n";
|
||||
in
|
||||
{
|
||||
enable = true;
|
||||
|
|
@ -74,7 +74,7 @@
|
|||
modes = {
|
||||
"System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown" =
|
||||
{
|
||||
"l" = "exec ${lockCommand}, mode default";
|
||||
"l" = "exec ${lockCmd}, mode default";
|
||||
"e" = "exit, mode default";
|
||||
"s" = "exec systemctl suspend, mode default";
|
||||
"h" = "exec systemctl hibernate, mode default";
|
||||
|
|
@ -141,7 +141,7 @@
|
|||
|
||||
keybindings = {
|
||||
"${cfg.modifier}+Return" = "exec ${cfg.terminal}";
|
||||
"${cfg.modifier}+x" = "exec ${lockCommand}";
|
||||
"${cfg.modifier}+x" = "exec ${lockCmd}";
|
||||
|
||||
# focus windows - regular
|
||||
"${cfg.modifier}+Left" = "focus left";
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
gst_all_1.gstreamer.dev
|
||||
gst_all_1.gstreamer
|
||||
gst_all_1.gstreamer.out
|
||||
gst_all_1.gst-plugins-base
|
||||
gst_all_1.gst-plugins-good
|
||||
gst_all_1.gst-plugins-bad
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue