final touches

This commit is contained in:
Rouven Seifert 2023-01-21 23:42:49 +01:00
parent c8bca81c12
commit f27516a5a8
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
7 changed files with 61 additions and 86 deletions

View file

@ -8,7 +8,6 @@
./git ./git
./gpg ./gpg
./hyprland ./hyprland
./kdeconnect #TODO fix
./neovim ./neovim
./ssh ./ssh
./tmux ./tmux

View file

@ -1,15 +0,0 @@
{ config, ... }:
{
services.flameshot = {
enable = true;
settings = {
General = {
contrastOpacity = 188;
disabledTrayIcon = true;
};
Shortcuts = {
TYPE_COPY = "Return";
};
};
};
}

View file

@ -2,26 +2,9 @@
{ {
imports = [ ./waybar.nix ]; imports = [ ./waybar.nix ];
wayland.windowManager.hyprland.enable = true; wayland.windowManager.hyprland.enable = true;
xdg.configFile = { home.sessionVariables = {
"hypr/hyprland.conf".source = ./hyprland.conf; GRIM_DEFAULT_DIR = "~/Pictures/Screenshots/";
"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.packages = with pkgs; [ home.packages = with pkgs; [
pulseaudio # installed to have pactl pulseaudio # installed to have pactl
wofi wofi
@ -33,47 +16,63 @@
swaylock-effects 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 allow_images = true
term = alacritty term = alacritty
''; '';
xdg.configFile."wofi/style.css".text = '' "wofi/style.css".text = ''
window { window {
margin: 0px; margin: 0px;
border: 1px solid #${config.colorScheme.colors.base0D}; border: 1px solid #${config.colorScheme.colors.base0D};
background-color: #${config.colorScheme.colors.base00}; background-color: #${config.colorScheme.colors.base00};
} }
#input { #input {
margin: 5px; margin: 5px;
border: none; border: none;
color: #${config.colorScheme.colors.base05}; color: #${config.colorScheme.colors.base05};
background-color: #${config.colorScheme.colors.base02}; background-color: #${config.colorScheme.colors.base02};
} }
#inner-box, #inner-box,
#outer-box { #outer-box {
margin: 5px; margin: 5px;
border: none; border: none;
background-color: #${config.colorScheme.colors.base00}; background-color: #${config.colorScheme.colors.base00};
} }
#text { #text {
margin: 5px; margin: 5px;
border: none; border: none;
color: #${config.colorScheme.colors.base05}; color: #${config.colorScheme.colors.base05};
} }
#entry { #entry {
background-color: #${config.colorScheme.colors.base00}; background-color: #${config.colorScheme.colors.base00};
} }
#entry:selected { #entry:selected {
background-color: #${config.colorScheme.colors.base03}; background-color: #${config.colorScheme.colors.base03};
} }
''; '';
};
programs.mako = { programs.mako = {
enable = true; enable = true;

View file

@ -13,9 +13,6 @@ monitor=eDP-1, 1920x1080, 0x0, 1
input { input {
kb_layout = us kb_layout = us
kb_variant = dvorak-alt-intl kb_variant = dvorak-alt-intl
kb_model =
kb_options =
kb_rules =
follow_mouse = 1 follow_mouse = 1
@ -142,6 +139,7 @@ bindm = $mainMod, mouse:273, resizewindow
# All the fancy XF86 Keys # All the fancy XF86 Keys
bind = ,Print, exec, grim -g "$(slurp)" - | wl-copy -t image/png 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 = ,XF86MonBrightnessUp, exec, light -A 10
bind = ,XF86MonBrightnessDown, exec, light -U 10 bind = ,XF86MonBrightnessDown, exec, light -U 10
bind = ,XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle 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 = ,XF86Messenger, exec, makoctl dismiss
bind = SHIFT ,XF86Messenger, exec, makoctl restore bind = SHIFT ,XF86Messenger, exec, makoctl restore
bind = ,XF86Go, exec, makoctl invoke bind = ,XF86Go, exec, makoctl invoke
bind = ,XF86Display, exec, hyprpaper
bind = ,Cancel, exec, swaylock bind = ,Cancel, exec, swaylock

View file

@ -1,7 +0,0 @@
{ config, pkgs, ... }:
{
services.kdeconnect = {
enable = true;
indicator = true;
};
}

View file

@ -46,6 +46,7 @@
virt-manager virt-manager
powerline-fonts powerline-fonts
ventoy-bin ventoy-bin
ripgrep
# libs # libs
libyubikey libyubikey

View file

@ -14,8 +14,7 @@
{ {
plugin = dracula; plugin = dracula;
extraConfig = '' extraConfig = ''
set -g @dracula-show-fahrenheit false set -g @dracula-plugins "time"
set -g @dracula-plugins "weather time"
set -g @dracula-show-left-icon session set -g @dracula-show-left-icon session
set -g @dracula-show-powerline true set -g @dracula-show-powerline true
''; '';