Compare commits
3 commits
8014e13950
...
180a87464c
Author | SHA1 | Date | |
---|---|---|---|
180a87464c | |||
d5797493c0 | |||
518273eec1 |
7 changed files with 8 additions and 17 deletions
|
@ -15,7 +15,7 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
theme = theme.gtkTheme pkgs;
|
theme = theme.gtkTheme pkgs;
|
||||||
};
|
};
|
||||||
background = ../modules/wallpapers/${theme.wallpaper};
|
background = theme.wallpaper;
|
||||||
};
|
};
|
||||||
defaultSession = "none+i3";
|
defaultSession = "none+i3";
|
||||||
};
|
};
|
||||||
|
|
|
@ -19,7 +19,7 @@ in
|
||||||
../modules/terminal
|
../modules/terminal
|
||||||
];
|
];
|
||||||
|
|
||||||
home.file."./.background-image".source = ../modules/wallpapers/${theme.wallpaper};
|
home.file."./.background-image".source = theme.wallpaper;
|
||||||
|
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ in with theme.colors; {
|
||||||
# Dependencies
|
# Dependencies
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
playerctl # pactl comes with PulseAudio
|
playerctl # pactl comes with PulseAudio
|
||||||
xclip # Copying screenshots to clipboard
|
wmctrl # For rofi power menu
|
||||||
];
|
];
|
||||||
|
|
||||||
# Screenshots
|
# Screenshots
|
||||||
|
@ -69,7 +69,10 @@ in with theme.colors; {
|
||||||
"${mod}+Return" = "exec kitty";
|
"${mod}+Return" = "exec kitty";
|
||||||
"${mod}+Shift+e" = "exec i3-msg exit"; # bypass default session exit confirmation menu
|
"${mod}+Shift+e" = "exec i3-msg exit"; # bypass default session exit confirmation menu
|
||||||
"${mod}+space" = "exec i3-msg open"; # Open blank space
|
"${mod}+space" = "exec i3-msg open"; # Open blank space
|
||||||
"Mod1+Q" = "exec /etc/profiles/per-user/elnu/bin/rofi-power";
|
"Mod1+Q" = let rofi-power = pkgs.substituteAll {
|
||||||
|
src = ./power.sh;
|
||||||
|
isExecutable = true;
|
||||||
|
}; in "exec ${rofi-power}";
|
||||||
|
|
||||||
# Audio controls
|
# Audio controls
|
||||||
"XF86AudioRaiseVolume" = "exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10%";
|
"XF86AudioRaiseVolume" = "exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10%";
|
||||||
|
|
|
@ -4,10 +4,6 @@ let
|
||||||
_theme = import ../theme;
|
_theme = import ../theme;
|
||||||
theme = _theme.theme; # Theme name
|
theme = _theme.theme; # Theme name
|
||||||
in {
|
in {
|
||||||
home.packages = with pkgs; [
|
|
||||||
(pkgs.callPackage ./power.nix { })
|
|
||||||
wmctrl # TODO: add as dependency of rofi-power
|
|
||||||
];
|
|
||||||
programs.rofi = {
|
programs.rofi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
inherit theme;
|
inherit theme;
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
{ pkgs, substituteAll }:
|
|
||||||
|
|
||||||
substituteAll {
|
|
||||||
name = "rofi-power";
|
|
||||||
src = ./power.sh;
|
|
||||||
|
|
||||||
dir = "bin";
|
|
||||||
isExecutable = true;
|
|
||||||
}
|
|
|
@ -9,3 +9,4 @@ in
|
||||||
css = lib: lib.strings.concatStringsSep "\n" (lib.attrValues (lib.mapAttrs (k: v: " --${k}: ${v};") theme.colors));
|
css = lib: lib.strings.concatStringsSep "\n" (lib.attrValues (lib.mapAttrs (k: v: " --${k}: ${v};") theme.colors));
|
||||||
}
|
}
|
||||||
// theme // { colors = theme.colors // colors; }
|
// theme // { colors = theme.colors // colors; }
|
||||||
|
// { wallpaper = ../wallpapers/${theme.wallpaper}; }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue