Reinit
19
arch_setup.sh
Executable file
@@ -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
|
||||||
4
aur_setup.sh
Executable file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
yay --noconfirm -S hyprshot
|
||||||
|
yay --noconfirm -S schildichat-desktop-bin
|
||||||
34
flake.nix
Normal file
@@ -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;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
228
hyprland.conf
Normal file
@@ -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
|
||||||
16
hyprpaper.conf
Normal file
@@ -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
|
||||||
52
pure_setup.sh
Executable file
@@ -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
|
||||||
BIN
wallpaper/FFM_Skyline.jpg
Normal file
|
After Width: | Height: | Size: 222 KiB |
BIN
wallpaper/RooftopSunset.jpeg
Normal file
|
After Width: | Height: | Size: 3.2 MiB |
BIN
wallpaper/WP2.png
Normal file
|
After Width: | Height: | Size: 5.0 MiB |
BIN
wallpaper/WallpaperCatCity.jpg
Normal file
|
After Width: | Height: | Size: 12 MiB |
BIN
wallpaper/XP.jpg
Normal file
|
After Width: | Height: | Size: 842 KiB |
BIN
wallpaper/autumn_catgirl.jpg
Normal file
|
After Width: | Height: | Size: 8.9 MiB |
BIN
wallpaper/background.png
Normal file
|
After Width: | Height: | Size: 3.0 MiB |
BIN
wallpaper/cafe_catgirl.jpg
Normal file
|
After Width: | Height: | Size: 225 KiB |
BIN
wallpaper/cat_and_catgirl.jpg
Normal file
|
After Width: | Height: | Size: 594 KiB |
BIN
wallpaper/catgirl_reading.jpg
Normal file
|
After Width: | Height: | Size: 535 KiB |
BIN
wallpaper/catgirl_with_bird_at_water.png
Normal file
|
After Width: | Height: | Size: 2.1 MiB |
BIN
wallpaper/evening-sky.png
Normal file
|
After Width: | Height: | Size: 4.6 MiB |
BIN
wallpaper/fairy_catgirl.jpg
Normal file
|
After Width: | Height: | Size: 452 KiB |
BIN
wallpaper/hoshino.png
Normal file
|
After Width: | Height: | Size: 2.1 MiB |
BIN
wallpaper/pink_blossom_catgirl.jpg
Normal file
|
After Width: | Height: | Size: 11 MiB |
BIN
wallpaper/resting_background.jpg
Normal file
|
After Width: | Height: | Size: 422 KiB |
BIN
wallpaper/sketching_artist_catgirl.jpg
Normal file
|
After Width: | Height: | Size: 7.8 MiB |
BIN
wallpaper/sparkle_laying.png
Normal file
|
After Width: | Height: | Size: 12 MiB |
BIN
wallpaper/train.jpg
Normal file
|
After Width: | Height: | Size: 429 KiB |
7
xdg_portal.sh
Executable file
@@ -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 &
|
||||||