mirror of
https://github.com/caperren/nixos-configs.git
synced 2025-11-08 11:41:14 +00:00
Compare commits
3 Commits
c631417ec5
...
cdb9b3f2f8
| Author | SHA1 | Date | |
|---|---|---|---|
| cdb9b3f2f8 | |||
| 8f05b33391 | |||
| b7ba045305 |
@@ -1,19 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
let
|
|
||||||
spotifyPlayerDesktopEntry = pkgs.writeTextFile {
|
|
||||||
name = "spotify-player-desktop";
|
|
||||||
destination = "/share/applications/spotify-player.desktop";
|
|
||||||
text = ''
|
|
||||||
[Desktop Entry]
|
|
||||||
Type=Application
|
|
||||||
Name=Spotify Player
|
|
||||||
Exec=kitty -e spotify_player
|
|
||||||
Icon=spotify_player
|
|
||||||
Terminal=false
|
|
||||||
Categories=Media;
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
boot = {
|
boot = {
|
||||||
# Make v4l2loopback kernel module available to NixOS.
|
# Make v4l2loopback kernel module available to NixOS.
|
||||||
@@ -45,8 +30,8 @@ in
|
|||||||
plex-desktop
|
plex-desktop
|
||||||
projectm_3
|
projectm_3
|
||||||
sox
|
sox
|
||||||
|
spotify
|
||||||
spotify-player
|
spotify-player
|
||||||
spotifyPlayerDesktopEntry
|
|
||||||
vlc
|
vlc
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -33,6 +33,7 @@
|
|||||||
grim
|
grim
|
||||||
hyprpaper
|
hyprpaper
|
||||||
hyprpicker
|
hyprpicker
|
||||||
|
j4-dmenu-desktop
|
||||||
kanshi
|
kanshi
|
||||||
libnotify
|
libnotify
|
||||||
mako
|
mako
|
||||||
@@ -42,7 +43,7 @@
|
|||||||
swayimg
|
swayimg
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
wlogout
|
wlogout
|
||||||
wofi
|
bemenu
|
||||||
];
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,10 +40,13 @@ in
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.bemenu.enable = true;
|
||||||
|
|
||||||
programs.kitty = {
|
programs.kitty = {
|
||||||
font.name = "JetBrains Mono";
|
font.name = "JetBrains Mono";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Application config files
|
||||||
home.file.".config/hypr/hypridle.conf".source = ./dotfiles/hypridle/hypridle.conf;
|
home.file.".config/hypr/hypridle.conf".source = ./dotfiles/hypridle/hypridle.conf;
|
||||||
home.file.".config/hypr/hyprpaper.conf".source = ./dotfiles/hyprpaper/hyprpaper.conf;
|
home.file.".config/hypr/hyprpaper.conf".source = ./dotfiles/hyprpaper/hyprpaper.conf;
|
||||||
home.file.".config/hypr/backgrounds/black.png".source = ./dotfiles/hyprpaper/black.png;
|
home.file.".config/hypr/backgrounds/black.png".source = ./dotfiles/hyprpaper/black.png;
|
||||||
@@ -55,6 +58,11 @@ in
|
|||||||
home.file.".config/waybar/style.css".source = ./dotfiles/waybar/style.css;
|
home.file.".config/waybar/style.css".source = ./dotfiles/waybar/style.css;
|
||||||
home.file.".config/wlogout/layout".source = ./dotfiles/wlogout/layout;
|
home.file.".config/wlogout/layout".source = ./dotfiles/wlogout/layout;
|
||||||
|
|
||||||
|
# Desktop entry files so bemenu can find them
|
||||||
|
home.file.".local/share/glava.desktop".source = ./dotfiles/.local/share/glava.desktop;
|
||||||
|
home.file.".local/share/spotify-player.desktop".source =
|
||||||
|
./dotfiles/.local/share/spotify-player.desktop;
|
||||||
|
|
||||||
gtk = {
|
gtk = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
|||||||
7
users/caperren/dotfiles/.local/share/glava.desktop
Normal file
7
users/caperren/dotfiles/.local/share/glava.desktop
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Name=Glava
|
||||||
|
Exec=glava
|
||||||
|
Icon=glava
|
||||||
|
Terminal=false
|
||||||
|
Categories=Media;
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Name=Spotify Player
|
||||||
|
Exec=kitty -e spotify_player
|
||||||
|
Icon=spotify_player
|
||||||
|
Terminal=false
|
||||||
|
Categories=Media;
|
||||||
@@ -6,5 +6,4 @@ source = ~/.config/hypr/hyprland-common.conf
|
|||||||
|
|
||||||
# Application launch
|
# Application launch
|
||||||
exec-once = brightnessctl -sd platform::kbd_backlight set 1
|
exec-once = brightnessctl -sd platform::kbd_backlight set 1
|
||||||
exec-once = brightnessctl -s set 30%
|
exec-once = brightnessctl -s set 30%
|
||||||
exec-once = slack -u
|
|
||||||
@@ -1,12 +1,12 @@
|
|||||||
# Always enable new monitors in automatic mode
|
# Always enable new monitors in automatic mode, for when kanshi doesn't know about the setup
|
||||||
monitor=,preferred,auto,1
|
monitor=,preferred,auto,1
|
||||||
|
|
||||||
# Set programs that you use
|
# Set programs that you use
|
||||||
$terminal = kitty
|
$terminal = kitty
|
||||||
$fileManager = thunar
|
$fileManager = thunar
|
||||||
$menu = wofi --show drun
|
$menu = bemenu-run
|
||||||
|
|
||||||
# Some default env vars.
|
# Some default env vars
|
||||||
env = XCURSOR_SIZE,24
|
env = XCURSOR_SIZE,24
|
||||||
env = QT_QPA_PLATFORMTHEME,qt5ct # change to qt6ct if you have that
|
env = QT_QPA_PLATFORMTHEME,qt5ct # change to qt6ct if you have that
|
||||||
|
|
||||||
@@ -158,17 +158,16 @@ bind = ,XF86MonBrightnessDown, exec, brightnessctl s 1%-
|
|||||||
bind = ,XF86MonBrightnessUp, exec, brightnessctl s +1%
|
bind = ,XF86MonBrightnessUp, exec, brightnessctl s +1%
|
||||||
|
|
||||||
# Application launch
|
# Application launch
|
||||||
exec-once = kanshi
|
exec-once = kanshi # Automatically handles display configurations
|
||||||
exec-once = ydotoold
|
exec-once = ydotoold # Autoclicker/autokeyboard for automation
|
||||||
exec-once = hypridle
|
exec-once = hypridle # Hyprland/wayland specific idle lock tool
|
||||||
exec-once = hyprpaper
|
exec-once = hyprpaper # Hyprland/wayland specific wallpaper tool
|
||||||
|
|
||||||
exec-once = wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 10%
|
exec-once = wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 10% # Keep eardrums intact on reboot
|
||||||
|
|
||||||
# Loop needed until waybar gtk icon crash fixed
|
exec-once = waybar # Wayland specific status bar
|
||||||
exec-once = bash -c "while true; do waybar; sleep 3; done"
|
|
||||||
|
|
||||||
exec-once = sleep 5 && nm-applet
|
exec-once = sleep 5 && nm-applet # Traditional notifications area
|
||||||
exec-once = sleep 5 && blueman-applet
|
exec-once = sleep 5 && blueman-applet # Traditional bluetooth management tool
|
||||||
exec-once = sleep 5 && streamdeck -n
|
exec-once = sleep 5 && streamdeck -n # Streamdeck management tool
|
||||||
exec-once = sleep 5 && Telegram -startintray
|
exec-once = sleep 5 && Telegram -startintray # Gotta keep in touch with peeps
|
||||||
Reference in New Issue
Block a user