commit 60b28cbadba0f5df68c0bfd77207e5a980f506f6 Author: nichkara Date: Sun Feb 1 22:40:33 2026 +0100 Reinit diff --git a/arch_setup.sh b/arch_setup.sh new file mode 100755 index 0000000..e5d6dbf --- /dev/null +++ b/arch_setup.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +pacman --noconfirm -Syyu + +pacman --noconfirm -S git \ +networkmanager \ +blueman \ +hyprland \ +wofi \ +waybar \ +grim \ +swaync \ +evolution \ +nextcloud \ +firefox \ +pamixer \ +swaylock \ +hyprpaper \ +lxsession diff --git a/aur_setup.sh b/aur_setup.sh new file mode 100755 index 0000000..af22497 --- /dev/null +++ b/aur_setup.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +yay --noconfirm -S hyprshot +yay --noconfirm -S schildichat-desktop-bin diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..302a796 --- /dev/null +++ b/flake.nix @@ -0,0 +1,34 @@ +{ + description = "Nichkaras Hyprland desktop"; + + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + home-manager.url = "github:nix-community/home-manager"; + home-manager.inputs.nixpkgs.follows = "nixpkgs"; + }; + + outputs = { self, nixpkgs, home-manager, ... }: + let + system = "x86_64-linux"; + in { + homeConfigurations.user = home-manager.lib.homeManagerConfiguration { + pkgs = import nixpkgs { inherit system; }; + modules = [ + { + home.username = "nichkara"; + home.homeDirectory = "/home/nichkara"; + + # Programme + programs.hyprland.enable = true; + programs.waybar.enable = true; + programs.kitty.enable = true; + + # Config-Dateien einbinden + xdg.configFile."hypr/hyprland.conf".source = ./hyprland.conf; + xdg.configFile."waybar/config".source = ../.config/waybar/config; + xdg.configFile."kitty/kitty.conf".source = ../.config/kitty/kitty.conf; + } + ]; + }; + }; +} diff --git a/hyprland.conf b/hyprland.conf new file mode 100644 index 0000000..5856bc9 --- /dev/null +++ b/hyprland.conf @@ -0,0 +1,228 @@ +# Monitor +monitor=,1920x1080,auto,1 + +# Input +$mainMod = SUPER +input { + kb_layout = de + kb_variant = + kb_model = + kb_options = caps:swapescape + kb_rules = + + follow_mouse = 1 + + touchpad { + natural_scroll = yes + } + + sensitivity = 0 # -1.0 - 1.0, 0 means no modification. +} + +# Exec / Startup +# exec-once = protonmail-bridge +exec-once = waybar +exec-once = hyprpaper +exec-once = nm-applet --indicator +exec-once = blueman-applet +exec-once = sleep 1 && schildichat-desktop +exec-once = sleep 1 && evolution -c mail +exec-once = sleep 2 && nextcloud +exec-once = ~/.config/hypr/xdg_portal.sh +exec-once = lxpolkit + +# General +general { + # See https://wiki.hyprland.org/Configuring/Variables/ for more + + gaps_in = 3 + gaps_out = 10 + border_size = 2 + col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg + col.inactive_border = rgba(595959aa) + + layout = dwindle +} + +# Decoration +decoration { + # See https://wiki.hyprland.org/Configuring/Variables/ for more + + rounding = 10 + + blur { + enabled = true + size = 3 + passes = 1 + } + +# drop_shadow = yes +# shadow_range = 4 +# shadow_render_power = 3 +# col.shadow = rgba(1a1a1aee) +} + +# Animation +animations { + enabled = yes + + # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more + + bezier = myBezier, 0.05, 0.9, 0.1, 1.05 + + animation = windows, 1, 7, myBezier + animation = windowsOut, 1, 7, default, popin 80% + animation = border, 1, 10, default + animation = borderangle, 1, 8, default + animation = fade, 1, 7, default + animation = workspaces, 1, 6, default +} + +# Misc +# misc { +# hide_cursor_on_touch = true +# } + +dwindle { + # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more + pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below + preserve_split = yes # you probably want this +} + +master { + # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more + # new_is_master = true +} + +#gestures { + # See https://wiki.hyprland.org/Configuring/Variables/ for more +# workspace_swipe = on +#} + +# Example per-device config +# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more + +# Gestures +group { + focus_removed_window = true + + groupbar { + font_family = OpenDyslexicM Nerd Font Mono + } +} + +# Layouts + +# Window rules + +# Binds +binds { + pass_mouse_when_bound = true +} + +# Hyprcursor +#env = HYPRCURSOR_THEME, "Future-Cyan-Hyprcursor_Theme" +#env = HYPRCURSOR_SIZE,44 +#env = XCURSOR_THEME,Future-Cyan-Hyprcursor_Theme +#env = XCURSOR_SIZE,44 +#exec-once = gsettings set org.gnome.desktop.interface cursor-theme Future-Cyan-Hyprcursor_Theme + +# Keybindings +bind = $mainMod, Q, exec, kitty +bind = $mainMod, C, killactive, +bind = $mainMod, M, exec, evolution -c mail +bind = $mainMod SHIFT, M, exec, evolution -c calendar +bind = $mainMod SHIFT, M, exec, evolution -c calendar +bind = $mainMod, E, exec, nemo +bind = $mainMod, R, exec, wofi --show drun +bind = $mainMod SHIFT, P, exec, firefox --private-window # pseudo, # dwindle +bind = $mainMod SHIFT, F, exec, firefox +bind = $mainMod, S, exec, hyprshot -m window -m active -z -o ~/Pictures/screenshots -f $(date +"sc_%Y-%m-%d_%H-%M-%s").png +bind = $mainMod SHIFT, S, exec, hyprshot --clipboard-only -m window -m active -z -o ~/Pictures/screenshots -f $(date +"sc_%Y-%m-%d_%H-%M-%s").png +bind = $mainMod ALT, S, exec, hyprshot -m region -z -o ~/Pictures/screenshots -f $(date +"sc_%Y-%m-%d_%H-%M-%s").png +bind = $mainMod SHIFT ALT, S, exec, hyprshot --clipboard-only -m region -z -o ~/Pictures/screenshots -f $(date +"sc_%Y-%m-%d_%H-%M-%s").png +bind = $mainMod, O, togglesplit, # dwindle +bind = $mainMod, T, togglefloating, +bind = $mainMod, F, fullscreen +bind = $mainMod, P, togglefloating +bind = $mainMod, P, pin +bind = $mainMod, P, movewindow, r +bind = $mainMod, P, movewindow, u +bind = $mainMod SHIFT, Q, exec, hyprctl dispatch exit +binde = $mainMod, right, exec, hyprctl switchxkblayout at-translated-set-2-keyboard prev + +# Keybindings special keys +bind = , XF86MonBrightnessUp, exec, brightnessctl set 5%+ +bind = , XF86MonBrightnessDown, exec, brightnessctl set 5%- +bind = , XF86AudioLowerVolume, exec, pamixer -d 4 +bind = , XF86AudioRaiseVolume, exec, pamixer -i 4 +bind = , XF86AudioMute, exec, pamixer -t +bind = , XF86AudioMicMute, exec, pamixer --default-source -t +bind = $mainMod, XF86AudioLowerVolume, exec, --default-source pamixer -d 4 +bind = $mainMod, XF86AudioRaiseVolume, exec, --default-source pamixer -i 4 +bind = $mainMod, N, exec, swaylock -c 000000 -e -i ~/.config/hypr/wallpaper/resting_background.jpg + +# Window Management +bindm = $mainMod, mouse:272, movewindow +bindm = $mainMod, mouse:273, resizewindow +bindm = $mainMod SHIFT, mouse:272, resizewindow + +# Move focus with mainMod + vim navigation +bind = $mainMod, h, movefocus, l +bind = $mainMod, l, movefocus, r +bind = $mainMod, k, movefocus, u +bind = $mainMod, j, movefocus, d + +bind = $mainMod SHIFT, h, movewindow, l +bind = $mainMod SHIFT, l, movewindow, r +bind = $mainMod SHIFT, k, movewindow, u +bind = $mainMod SHIFT, j, movewindow, d + +# Workspace Management +bind = $mainMod, 1, workspace, 1 +bind = $mainMod, 2, workspace, 2 +bind = $mainMod, 3, workspace, 3 +bind = $mainMod, 4, workspace, 4 +bind = $mainMod, 5, workspace, 5 +bind = $mainMod, 6, workspace, 6 +bind = $mainMod, 7, workspace, 7 +bind = $mainMod, 8, workspace, 8 +bind = $mainMod, 9, workspace, 9 +bind = $mainMod, 0, workspace, 10 + +bind = CONTROL ALT, h, workspace, -1 +bind = CONTROL ALT, l, workspace, +1 +bind = CONTROL ALT, left, workspace, -1 +bind = CONTROL ALT, right, workspace, +1 + +bind = CONTROL ALT SHIFT, h, movetoworkspace, -1 +bind = CONTROL ALT SHIFT, l, movetoworkspace, +1 +bind = CONTROL ALT SHIFT, left, movetoworkspace, -1 +bind = CONTROL ALT SHIFT, right, movetoworkspace, +1 + +bind = $mainMod CONTROL SHIFT, h, movetoworkspacesilent, -1 +bind = $mainMod CONTROL SHIFT, l, movetoworkspacesilent, +1 +bind = $mainMod CONTROL SHIFT, left, movetoworkspacesilent, -1 +bind = $mainMod CONTROL SHIFT, right, movetoworkspacesilent, +1 + +bind = $mainMod SHIFT, 1, movetoworkspace, 1 +bind = $mainMod SHIFT, 2, movetoworkspace, 2 +bind = $mainMod SHIFT, 3, movetoworkspace, 3 +bind = $mainMod SHIFT, 4, movetoworkspace, 4 +bind = $mainMod SHIFT, 5, movetoworkspace, 5 +bind = $mainMod SHIFT, 6, movetoworkspace, 6 +bind = $mainMod SHIFT, 7, movetoworkspace, 7 +bind = $mainMod SHIFT, 8, movetoworkspace, 8 +bind = $mainMod SHIFT, 9, movetoworkspace, 9 +bind = $mainMod SHIFT, 0, movetoworkspace, 10 + +bind = $mainMod ALT, 1, movetoworkspacesilent, 1 +bind = $mainMod ALT, 2, movetoworkspacesilent, 2 +bind = $mainMod ALT, 3, movetoworkspacesilent, 3 +bind = $mainMod ALT, 4, movetoworkspacesilent, 4 +bind = $mainMod ALT, 5, movetoworkspacesilent, 5 +bind = $mainMod ALT, 6, movetoworkspacesilent, 6 +bind = $mainMod ALT, 7, movetoworkspacesilent, 7 +bind = $mainMod ALT, 8, movetoworkspacesilent, 8 +bind = $mainMod ALT, 9, movetoworkspacesilent, 9 +bind = $mainMod ALT, 0, movetoworkspacesilent, 10 diff --git a/hyprpaper.conf b/hyprpaper.conf new file mode 100644 index 0000000..d7443ad --- /dev/null +++ b/hyprpaper.conf @@ -0,0 +1,16 @@ +preload = ~/.config/hypr/wallpaper/background.png +preload = ~/.config/hypr/wallpaper/WP2.png +preload = ~/.config/hypr/wallpaper/WallpaperCatCity.jpg +preload = ~/.config/hypr/wallpaper/RooftopSunset.jpeg +preload = ~/.config/hypr/wallpaper/FFM_Skyline.jpg +preload = ~/.config/hypr/wallpaper/resting_background.jpg +preload = ~/.config/hypr/wallpaper/XP.jpg +preload = ~/.config/hypr/wallpaper/train.jpg +preload = ~/.config/hypr/wallpaper/evening-sky.png +preload = ~/.config/hypr/wallpaper/sparkle_laying.png +preload = ~/.config/hypr/wallpaper/hoshino.png +preload = ~/.config/hypr/wallpaper/cafe_catgirl.jpg +preload = ~/.config/hypr/wallpaper/catgirl_with_bird_at_water.png +wallpaper = , ~/.config/hypr/wallpaper/catgirl_with_bird_at_water.png + +splash = true diff --git a/pure_setup.sh b/pure_setup.sh new file mode 100755 index 0000000..f432948 --- /dev/null +++ b/pure_setup.sh @@ -0,0 +1,52 @@ +#!/bin/bash +set -x + +cd ~/.config/ + +if [ ! -d "hypr" ]; then + git clone git@git.nickr.eu:ArchConfig/hypr +else + cd hypr + git pull + cd .. +fi + +if [ ! -d "waybar" ]; then + git clone git@git.nickr.eu:ArchConfig/waybar +else + cd hypr + git pull + cd .. +fi + +if [ ! -d "nvim" ]; then + git clone git@git.nickr.eu:yannickreiss/nvim +else + cd nvim + git pull + cd .. +fi + +if [ ! -d "wofi" ]; then + git clone git@git.nickr.eu:ArchConfig/wofi +else + cd wofi + git pull + cd .. +fi + +if [ ! -d "kitty" ]; then + git clone git@git.nickr.eu:ArchConfig/kitty +else + cd kitty + git pull + cd .. +fi + +if [ ! -d "evolution" ]; then + git clone git@git.nickr.eu:ArchConfig/evolution +else + cd evolution + git pull + cd .. +fi diff --git a/wallpaper/FFM_Skyline.jpg b/wallpaper/FFM_Skyline.jpg new file mode 100644 index 0000000..75ae7f3 Binary files /dev/null and b/wallpaper/FFM_Skyline.jpg differ diff --git a/wallpaper/RooftopSunset.jpeg b/wallpaper/RooftopSunset.jpeg new file mode 100644 index 0000000..83f0900 Binary files /dev/null and b/wallpaper/RooftopSunset.jpeg differ diff --git a/wallpaper/WP2.png b/wallpaper/WP2.png new file mode 100644 index 0000000..394a0fa Binary files /dev/null and b/wallpaper/WP2.png differ diff --git a/wallpaper/WallpaperCatCity.jpg b/wallpaper/WallpaperCatCity.jpg new file mode 100644 index 0000000..fd391bb Binary files /dev/null and b/wallpaper/WallpaperCatCity.jpg differ diff --git a/wallpaper/XP.jpg b/wallpaper/XP.jpg new file mode 100644 index 0000000..7cd8086 Binary files /dev/null and b/wallpaper/XP.jpg differ diff --git a/wallpaper/autumn_catgirl.jpg b/wallpaper/autumn_catgirl.jpg new file mode 100644 index 0000000..9d2734e Binary files /dev/null and b/wallpaper/autumn_catgirl.jpg differ diff --git a/wallpaper/background.png b/wallpaper/background.png new file mode 100644 index 0000000..546b753 Binary files /dev/null and b/wallpaper/background.png differ diff --git a/wallpaper/cafe_catgirl.jpg b/wallpaper/cafe_catgirl.jpg new file mode 100644 index 0000000..8fc167b Binary files /dev/null and b/wallpaper/cafe_catgirl.jpg differ diff --git a/wallpaper/cat_and_catgirl.jpg b/wallpaper/cat_and_catgirl.jpg new file mode 100644 index 0000000..94e1e28 Binary files /dev/null and b/wallpaper/cat_and_catgirl.jpg differ diff --git a/wallpaper/catgirl_reading.jpg b/wallpaper/catgirl_reading.jpg new file mode 100644 index 0000000..e4f9ca1 Binary files /dev/null and b/wallpaper/catgirl_reading.jpg differ diff --git a/wallpaper/catgirl_with_bird_at_water.png b/wallpaper/catgirl_with_bird_at_water.png new file mode 100644 index 0000000..40bbd37 Binary files /dev/null and b/wallpaper/catgirl_with_bird_at_water.png differ diff --git a/wallpaper/evening-sky.png b/wallpaper/evening-sky.png new file mode 100644 index 0000000..5386ac1 Binary files /dev/null and b/wallpaper/evening-sky.png differ diff --git a/wallpaper/fairy_catgirl.jpg b/wallpaper/fairy_catgirl.jpg new file mode 100644 index 0000000..a2b47ae Binary files /dev/null and b/wallpaper/fairy_catgirl.jpg differ diff --git a/wallpaper/hoshino.png b/wallpaper/hoshino.png new file mode 100644 index 0000000..b8574ea Binary files /dev/null and b/wallpaper/hoshino.png differ diff --git a/wallpaper/pink_blossom_catgirl.jpg b/wallpaper/pink_blossom_catgirl.jpg new file mode 100644 index 0000000..db243d9 Binary files /dev/null and b/wallpaper/pink_blossom_catgirl.jpg differ diff --git a/wallpaper/resting_background.jpg b/wallpaper/resting_background.jpg new file mode 100644 index 0000000..b50a56a Binary files /dev/null and b/wallpaper/resting_background.jpg differ diff --git a/wallpaper/sketching_artist_catgirl.jpg b/wallpaper/sketching_artist_catgirl.jpg new file mode 100644 index 0000000..fb2e820 Binary files /dev/null and b/wallpaper/sketching_artist_catgirl.jpg differ diff --git a/wallpaper/sparkle_laying.png b/wallpaper/sparkle_laying.png new file mode 100644 index 0000000..12ce4e5 Binary files /dev/null and b/wallpaper/sparkle_laying.png differ diff --git a/wallpaper/train.jpg b/wallpaper/train.jpg new file mode 100644 index 0000000..d9452c6 Binary files /dev/null and b/wallpaper/train.jpg differ diff --git a/xdg_portal.sh b/xdg_portal.sh new file mode 100755 index 0000000..762c3f9 --- /dev/null +++ b/xdg_portal.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +sleep 1 +killall -e xdg-desktop-portal-hyprland +killall xdg-desktop-portal +/usr/lib/xdg-desktop-portal-hyprland & +sleep 2 +/usr/lib/xdg-desktop-portal &