aboutsummaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
authorJacob Janzen <jacob.a.s.janzen@gmail.com>2024-09-26 21:08:50 -0500
committerJacob Janzen <jacob.a.s.janzen@gmail.com>2024-09-26 21:08:50 -0500
commita9ce5f278243198310577165bb593a9eededad6c (patch)
treea09f4df71571d06d7e0721b9d00771674fe586bf /nixos
parent1c714dc335715deb71c254ae1251f45eaf088c1c (diff)
new stuff
Diffstat (limited to 'nixos')
-rw-r--r--nixos/.flake/home/hyprland.nix3
-rw-r--r--nixos/.flake/home/programs/core.nix2
-rw-r--r--nixos/.flake/home/programs/waybar.nix1
-rw-r--r--nixos/.flake/home/services/mako.nix2
-rw-r--r--nixos/.local/bin/poweroptions.org24
5 files changed, 29 insertions, 3 deletions
diff --git a/nixos/.flake/home/hyprland.nix b/nixos/.flake/home/hyprland.nix
index 94fd3a6..8f2495e 100644
--- a/nixos/.flake/home/hyprland.nix
+++ b/nixos/.flake/home/hyprland.nix
@@ -102,7 +102,8 @@
"$mainMod, S, exec, hyprshot -m window --clipboard-only"
"$mainMod SHIFT, S, exec, hyprshot -m region --clipboard-only"
"$mainMod SHIFT CONTROL, S, exec, hyprshot -m output --clipboard-only"
- "$mainMod, M, exit"
+ "$mainMod, M, exec, ~/.local/bin/poweroptions.sh"
+ "$mainMod, F, fullscreen"
];
bindel = [
",XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+"
diff --git a/nixos/.flake/home/programs/core.nix b/nixos/.flake/home/programs/core.nix
index 7eaab26..7fb94d1 100644
--- a/nixos/.flake/home/programs/core.nix
+++ b/nixos/.flake/home/programs/core.nix
@@ -15,10 +15,12 @@
home.packages = with pkgs; [
discord # not FOSS
fuzzel
+ gcc
htop
hyfetch
hyprshot
mpc-cli
+ mpv
networkmanagerapplet
obs-studio
pavucontrol
diff --git a/nixos/.flake/home/programs/waybar.nix b/nixos/.flake/home/programs/waybar.nix
index eb0f135..5ef4b17 100644
--- a/nixos/.flake/home/programs/waybar.nix
+++ b/nixos/.flake/home/programs/waybar.nix
@@ -31,7 +31,6 @@
};
clock = {
format = "{:%H:%M\t%Y-%m-%d}";
- tooltip-format = "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>";
};
cpu = {
format = "{usage}% ";
diff --git a/nixos/.flake/home/services/mako.nix b/nixos/.flake/home/services/mako.nix
index 94348e3..021cb8c 100644
--- a/nixos/.flake/home/services/mako.nix
+++ b/nixos/.flake/home/services/mako.nix
@@ -3,6 +3,6 @@
{
services.mako = {
enable = true;
- backgroundColor = "#ece0c9ff";
+ backgroundColor = "#191916ff";
};
}
diff --git a/nixos/.local/bin/poweroptions.org b/nixos/.local/bin/poweroptions.org
new file mode 100644
index 0000000..6f154ef
--- /dev/null
+++ b/nixos/.local/bin/poweroptions.org
@@ -0,0 +1,24 @@
+#+title: Power Options Script
+
+Use =fuzzel= to open a menu to power off, reboot, or log out.
+#+begin_src sh :tangle ~/.local/bin/poweroptions.sh :mkdirp yes :tangle-mode o755
+ #!/bin/sh
+
+ getoption () {
+ fuzzel --dmenu -l 3 -x 1 -r 10 << EOF
+ 󰐥 power off
+ 󰜉 restart
+ 󰍃 logout
+ EOF
+ }
+
+ option=$(getoption | xargs)
+ case $option in
+ '󰐥 power off')
+ systemctl poweroff;;
+ '󰜉 restart')
+ systemctl reboot;;
+ '󰍃 logout')
+ hyprctl dispatch exit;;
+ esac
+#+end_src