mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
Compare commits
2 commits
0a0ebce67a
...
9f09c2ad82
| Author | SHA1 | Date | |
|---|---|---|---|
| 9f09c2ad82 | |||
| 995a79e600 |
5 changed files with 16 additions and 49 deletions
|
|
@ -42,34 +42,6 @@
|
|||
size = 24;
|
||||
};
|
||||
|
||||
# gtk = {
|
||||
# enable = true;
|
||||
# theme = {
|
||||
# name = "Orchis-Dark";
|
||||
# package = pkgs.orchis-theme;
|
||||
# };
|
||||
# iconTheme = {
|
||||
# name = "Adwaita";
|
||||
# package = pkgs.gnome.adwaita-icon-theme;
|
||||
# };
|
||||
# cursorTheme = {
|
||||
# name = "Adwaita";
|
||||
# package = pkgs.gnome.adwaita-icon-theme;
|
||||
# };
|
||||
# font = {
|
||||
# name = "JetBrainsMono Nerd Font";
|
||||
# size = 11;
|
||||
# };
|
||||
# };
|
||||
|
||||
# home.pointerCursor = {
|
||||
# gtk.enable = true;
|
||||
# # x11.enable = true;
|
||||
# package = pkgs.bibata-cursors;
|
||||
# name = "Bibata-Modern-Classic";
|
||||
# size = 16;
|
||||
# };
|
||||
|
||||
dconf = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
|
@ -85,7 +57,7 @@
|
|||
source = "~/nixos-config/modules/home/hyprland/displays.conf";
|
||||
|
||||
"debug:disable_scale_checks" = true;
|
||||
monitor = "eDP-1, 2256x1504@60, 0x0, 1.5"; # this works as I only have one computer using eDP-1 as a display, I could also add LVDS or DP-1 since that'd also be machine-specific.
|
||||
monitor = "eDP-1, 2256x1504@60, 0x0, 1.5";
|
||||
|
||||
# autostart
|
||||
exec-once = [
|
||||
|
|
@ -151,7 +123,6 @@
|
|||
|
||||
master = {
|
||||
special_scale_factor = 1;
|
||||
# no_gaps_when_only = true; # Returns errors for some reason
|
||||
};
|
||||
|
||||
decoration = {
|
||||
|
|
@ -227,6 +198,8 @@
|
|||
"$mainMod, G, togglegroup,"
|
||||
"SUPER, N, changegroupactive, f"
|
||||
"SUPER, P, changegroupactive, b"
|
||||
"$mainMod, Tab, changegroupactive, f"
|
||||
"$mainMod SHIFT, Tab, changegroupactive, b"
|
||||
|
||||
# clipboard manager
|
||||
"$mainMod SHIFT, V, exec, cliphist list | bemenu -l 5 --ignorecase | cliphist decode | wl-copy"
|
||||
|
|
@ -365,6 +338,7 @@
|
|||
"float,title:^(branchdialog)$"
|
||||
"float,title:^(Confirm to replace files)$"
|
||||
"float,title:^(File Operation Progress)$"
|
||||
"nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0"
|
||||
];
|
||||
|
||||
};
|
||||
|
|
|
|||
|
|
@ -19,24 +19,5 @@
|
|||
done
|
||||
'';
|
||||
};
|
||||
"/home/${username}/.local/bin/setbg" = {
|
||||
executable = true;
|
||||
text = ''
|
||||
#!/usr/bin/env bash
|
||||
|
||||
magick convert "$1" ~/.local/share/bg.png
|
||||
swww img ~/.local/share/bg.png --transition-type fade
|
||||
'';
|
||||
};
|
||||
"/home/${username}/.local/bin/walp" = {
|
||||
executable = true;
|
||||
text = ''
|
||||
#!/usr/bin/env bash
|
||||
|
||||
which swiv &>/dev/null && SIV=swiv || SIV=nsxiv # todo: switch to swiv, but that is not packaged for Nix yet.
|
||||
$SIV -t ~/Pictures/wallpapers/others/*
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
{ pkgs, ... }:
|
||||
let
|
||||
setbg = pkgs.writeScriptBin "setbg" (builtins.readFile ./scripts/setbg);
|
||||
walp = pkgs.writeScriptBin "walp" (builtins.readFile ./scripts/walp);
|
||||
runbg = pkgs.writeShellScriptBin "runbg" (builtins.readFile ./scripts/runbg.sh);
|
||||
notes = pkgs.writeShellScriptBin "notes" (builtins.readFile ./scripts/notes.sh);
|
||||
grabtext = pkgs.writeShellScriptBin "grabtext" (builtins.readFile ./scripts/grabtext.sh);
|
||||
|
|
@ -12,6 +14,8 @@ let
|
|||
in
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
setbg
|
||||
walp
|
||||
runbg
|
||||
notes
|
||||
grabtext
|
||||
|
|
|
|||
4
modules/home/scripts/scripts/setbg
Normal file
4
modules/home/scripts/scripts/setbg
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
magick convert "$1" ~/.local/share/bg.png
|
||||
swww img ~/.local/share/bg.png --transition-type fade
|
||||
4
modules/home/scripts/scripts/walp
Normal file
4
modules/home/scripts/scripts/walp
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
which swiv &>/dev/null && SIV=swiv || SIV=nsxiv # todo: switch to swiv, but that is not packaged for Nix yet.
|
||||
$SIV -t ~/Pictures/wallpapers/others/*
|
||||
Loading…
Add table
Add a link
Reference in a new issue