wallpaper :D

This commit is contained in:
itamar 2026-04-16 19:18:00 +03:00
parent b3c3854628
commit 8c6b621d79
Signed by: itamar
GPG key ID: 4C315A8D67ADC36C
3 changed files with 40 additions and 23 deletions

View file

@ -34,7 +34,12 @@
LC_TELEPHONE = "he_IL.UTF-8";
LC_TIME = "he_IL.UTF-8";
};
programs.dconf.enable = true;
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true; # optional but nice
pinentryPackage = pkgs.pinentry-curses;
};
services.xserver.enable = true;
services.xserver.displayManager.lightdm.enable = true;
services.xserver.desktopManager.xfce.enable = false;

View file

@ -1,40 +1,51 @@
{ pkgs, lib, ... }:
let
let
mod = "Mod4";
in
{
# home.pointerCursor = {
# package = pkgs.gnome.adwaita-icon-theme;
# name = "Adwaita";
# size = 24;
# x11.enable = true;
# gtk.enable = true;
# };
# Make sure feh is available
home.packages = with pkgs; [
feh
xclip
];
xsession = {
enable = true;
windowManager.i3 = {
enable = true;
config = {
modifier = mod;
fonts = ["ibm3270"];
fonts = [ "ibm3270" ];
# ✅ Wallpaper
startup = [
{
command = "feh --bg-scale /home/star/Pictures/wp.png";
always = true;
}
];
keybindings = lib.mkOptionDefault {
"Mod1+1" = "exec mullvad-browser";
"Mod1+2" = "exec discord";
"${mod}+Shift+s" = "exec ${pkgs.maim}/bin/maim -s | xclip -selection clipboard -t image/png";
"Mod1+1" = "exec mullvad-browser";
"Mod1+2" = "exec discord";
# Focus
"${mod}+h" = "focus left";
"${mod}+j" = "focus down";
"${mod}+k" = "focus up";
"${mod}+l" = "focus right";
"${mod}+Shift+s" =
"exec ${pkgs.maim}/bin/maim -s | ${pkgs.xclip}/bin/xclip -selection clipboard -t image/png";
# Move
"${mod}+Shift+h" = "move left";
"${mod}+Shift+j" = "move down";
"${mod}+Shift+k" = "move up";
"${mod}+Shift+l" = "move right";
# Focus
"${mod}+h" = "focus left";
"${mod}+j" = "focus down";
"${mod}+k" = "focus up";
"${mod}+l" = "focus right";
# Move
"${mod}+Shift+h" = "move left";
"${mod}+Shift+j" = "move down";
"${mod}+Shift+k" = "move up";
"${mod}+Shift+l" = "move right";
};
};
};

View file

@ -12,6 +12,7 @@
# tdesktop
# killall
xclip
feh
maim
calc
# htop