mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-15 05:13:10 +01:00
final touches
This commit is contained in:
parent
c8bca81c12
commit
f27516a5a8
|
@ -8,7 +8,6 @@
|
|||
./git
|
||||
./gpg
|
||||
./hyprland
|
||||
./kdeconnect #TODO fix
|
||||
./neovim
|
||||
./ssh
|
||||
./tmux
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
services.flameshot = {
|
||||
enable = true;
|
||||
settings = {
|
||||
General = {
|
||||
contrastOpacity = 188;
|
||||
disabledTrayIcon = true;
|
||||
};
|
||||
Shortcuts = {
|
||||
TYPE_COPY = "Return";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -2,26 +2,9 @@
|
|||
{
|
||||
imports = [ ./waybar.nix ];
|
||||
wayland.windowManager.hyprland.enable = true;
|
||||
xdg.configFile = {
|
||||
"hypr/hyprland.conf".source = ./hyprland.conf;
|
||||
"hypr/hyprpaper.conf".text = ''
|
||||
preload = ${../../../../images/wallpaper.png}
|
||||
wallpaper =eDP-1, ${../../../../images/wallpaper.png}
|
||||
wallpaper =HDMI-A-1, ${../../../../images/wallpaper.png}
|
||||
'';
|
||||
"swaylock/config".text = ''
|
||||
indicator-radius=200
|
||||
indicator-thickness=3
|
||||
inside-color=00000000
|
||||
inside-ver-color=${config.colorScheme.colors.base0D}
|
||||
inside-clear-color=${config.colorScheme.colors.base0B}
|
||||
ring-color=${config.colorScheme.colors.base03}
|
||||
ring-wrong-color=${config.colorScheme.colors.base08}
|
||||
screenshot
|
||||
effect-blur=7x5
|
||||
'';
|
||||
home.sessionVariables = {
|
||||
GRIM_DEFAULT_DIR = "~/Pictures/Screenshots/";
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
pulseaudio # installed to have pactl
|
||||
wofi
|
||||
|
@ -33,47 +16,63 @@
|
|||
swaylock-effects
|
||||
];
|
||||
|
||||
xdg.configFile."wofi/config".text = ''
|
||||
xdg.configFile = {
|
||||
"hypr/hyprland.conf".source = ./hyprland.conf;
|
||||
|
||||
"hypr/hyprpaper.conf".text = ''
|
||||
preload = ${../../../../images/wallpaper.png}
|
||||
wallpaper =eDP-1, ${../../../../images/wallpaper.png}
|
||||
wallpaper =HDMI-A-1, ${../../../../images/wallpaper.png}
|
||||
'';
|
||||
|
||||
"swaylock/config".text = ''
|
||||
indicator-radius=200
|
||||
indicator-thickness=3
|
||||
inside-color=00000000
|
||||
inside-ver-color=${config.colorScheme.colors.base0D}
|
||||
inside-clear-color=${config.colorScheme.colors.base0B}
|
||||
ring-color=${config.colorScheme.colors.base03}
|
||||
ring-wrong-color=${config.colorScheme.colors.base08}
|
||||
screenshot
|
||||
effect-blur=7x5
|
||||
'';
|
||||
|
||||
"wofi/config".text = ''
|
||||
allow_images = true
|
||||
term = alacritty
|
||||
'';
|
||||
|
||||
xdg.configFile."wofi/style.css".text = ''
|
||||
"wofi/style.css".text = ''
|
||||
window {
|
||||
margin: 0px;
|
||||
border: 1px solid #${config.colorScheme.colors.base0D};
|
||||
background-color: #${config.colorScheme.colors.base00};
|
||||
}
|
||||
|
||||
#input {
|
||||
margin: 5px;
|
||||
border: none;
|
||||
color: #${config.colorScheme.colors.base05};
|
||||
background-color: #${config.colorScheme.colors.base02};
|
||||
}
|
||||
|
||||
#inner-box,
|
||||
#outer-box {
|
||||
margin: 5px;
|
||||
border: none;
|
||||
background-color: #${config.colorScheme.colors.base00};
|
||||
}
|
||||
|
||||
#text {
|
||||
margin: 5px;
|
||||
border: none;
|
||||
color: #${config.colorScheme.colors.base05};
|
||||
}
|
||||
|
||||
#entry {
|
||||
background-color: #${config.colorScheme.colors.base00};
|
||||
}
|
||||
|
||||
#entry:selected {
|
||||
background-color: #${config.colorScheme.colors.base03};
|
||||
}
|
||||
|
||||
'';
|
||||
};
|
||||
|
||||
programs.mako = {
|
||||
enable = true;
|
||||
|
|
|
@ -13,9 +13,6 @@ monitor=eDP-1, 1920x1080, 0x0, 1
|
|||
input {
|
||||
kb_layout = us
|
||||
kb_variant = dvorak-alt-intl
|
||||
kb_model =
|
||||
kb_options =
|
||||
kb_rules =
|
||||
|
||||
follow_mouse = 1
|
||||
|
||||
|
@ -142,6 +139,7 @@ bindm = $mainMod, mouse:273, resizewindow
|
|||
|
||||
# All the fancy XF86 Keys
|
||||
bind = ,Print, exec, grim -g "$(slurp)" - | wl-copy -t image/png
|
||||
bind = SHIFT, Print, exec, grim -g "$(slurp)"
|
||||
bind = ,XF86MonBrightnessUp, exec, light -A 10
|
||||
bind = ,XF86MonBrightnessDown, exec, light -U 10
|
||||
bind = ,XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
|
@ -154,4 +152,5 @@ bind = ,XF86WLAN, exec, wpa_gui
|
|||
bind = ,XF86Messenger, exec, makoctl dismiss
|
||||
bind = SHIFT ,XF86Messenger, exec, makoctl restore
|
||||
bind = ,XF86Go, exec, makoctl invoke
|
||||
bind = ,XF86Display, exec, hyprpaper
|
||||
bind = ,Cancel, exec, swaylock
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
services.kdeconnect = {
|
||||
enable = true;
|
||||
indicator = true;
|
||||
};
|
||||
}
|
|
@ -46,6 +46,7 @@
|
|||
virt-manager
|
||||
powerline-fonts
|
||||
ventoy-bin
|
||||
ripgrep
|
||||
|
||||
# libs
|
||||
libyubikey
|
||||
|
|
|
@ -14,8 +14,7 @@
|
|||
{
|
||||
plugin = dracula;
|
||||
extraConfig = ''
|
||||
set -g @dracula-show-fahrenheit false
|
||||
set -g @dracula-plugins "weather time"
|
||||
set -g @dracula-plugins "time"
|
||||
set -g @dracula-show-left-icon session
|
||||
set -g @dracula-show-powerline true
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue