hyprland config
This commit is contained in:
parent
a5208fedba
commit
82ddd5bebb
@ -8,22 +8,19 @@ in {
|
||||
env = XDG_SESSION_DESKTOP,hyprland
|
||||
env = GDK_BACKEND,wayland
|
||||
env = QT_QPA_PLATFORM,wayland
|
||||
env = SWWW_TRANSITION,grow
|
||||
env = SWWW_TRANSITION_STEP,200
|
||||
env = SWWW_TRANSITION_DURATION,1.5
|
||||
env = SWWW_TRANSITION_FPS,240
|
||||
env = SWWW_TRANSITION_WAVE,80,40
|
||||
env = WLR_NO_HARDWARE_CURSORS,1
|
||||
|
||||
monitor=eDP-1,1920x1080@60.096001,0x0,1
|
||||
|
||||
general {
|
||||
gaps_in = 0
|
||||
gaps_out = -1
|
||||
border_size = 0
|
||||
gaps_in = 5
|
||||
gaps_out = 5
|
||||
border_size = 2
|
||||
col.active_border = rgba(002B36ee) 45deg
|
||||
col.inactive_border = rgba(07364299)
|
||||
no_border_on_floating = false
|
||||
layout = dwindle
|
||||
no_cursor_warps = true
|
||||
}
|
||||
|
||||
input {
|
||||
@ -42,10 +39,11 @@ in {
|
||||
|
||||
decoration {
|
||||
rounding = 10
|
||||
blur = yes
|
||||
blur_size = 3
|
||||
blur_passes = 1
|
||||
blur_new_optimizations = on
|
||||
blur = true
|
||||
blur_size = 6
|
||||
blur_passes = 3
|
||||
blur_new_optimizations = true
|
||||
blur_ignore_opacity = true
|
||||
drop_shadow = yes
|
||||
shadow_range = 4
|
||||
col.shadow = rgba(1a1a1aee)
|
||||
@ -63,8 +61,9 @@ in {
|
||||
# }
|
||||
|
||||
dwindle {
|
||||
no_gaps_when_only = false
|
||||
preserve_split = yes
|
||||
# pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||
pseudotile = true # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||
}
|
||||
|
||||
master {
|
||||
@ -78,7 +77,7 @@ in {
|
||||
}
|
||||
|
||||
exec-once = waybar
|
||||
exec-once = sleep 0.5; swww init && swww query | rg color && swww img ${../assets/wallpaper_street.jpg}
|
||||
exec-once = hyprpaper
|
||||
|
||||
$SUPER = ${modifier}
|
||||
$SUPER_SHIFT = ${modifier}_SHIFT
|
||||
@ -105,4 +104,8 @@ in {
|
||||
bindl=, XF86MonBrightnessUp, exec, brightnessctl set +5% && notify-send -t 2000 "Increased brightness to" "$(brightnessctl get)"
|
||||
|
||||
'';
|
||||
xdg.configFile."hypr/hyprpaper.conf".text = ''
|
||||
preload = ${../assets/wallpaper_street.jpg}
|
||||
wallpaper = eDP-1,${../assets/wallpaper_street.jpg}
|
||||
'';
|
||||
}
|
||||
|
@ -5,6 +5,7 @@
|
||||
enable_audio_bell = false;
|
||||
close_on_child_death = true;
|
||||
cursor_blink_interval = 0;
|
||||
background_opacity = "0.8";
|
||||
|
||||
open_url_with = "librewolf";
|
||||
wayland_titlebar_color = "background";
|
||||
|
@ -1,8 +1,25 @@
|
||||
{ inputs, pkgs, ... }: {
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
xwayland = {
|
||||
enable = true;
|
||||
hidpi = true;
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
xdg-desktop-portal-hyprland
|
||||
# hyprland-protocols
|
||||
# xdg-desktop-portal
|
||||
# xdg-desktop-portal-gtk
|
||||
|
||||
rofi-wayland # launcher
|
||||
# wl-clipboard # wayland clipboard support
|
||||
# swaylock-effects # screenlocker
|
||||
# swayidle # idle daemon (screen time out)
|
||||
hyprpaper # Wallpaper daemon
|
||||
];
|
||||
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
excludePackages = [ pkgs.xterm ];
|
||||
|
@ -5,7 +5,6 @@
|
||||
jq
|
||||
neofetch
|
||||
ripgrep # rg in home/hyprland.nix
|
||||
swww
|
||||
tree
|
||||
wget
|
||||
wl-clipboard
|
||||
|
Loading…
x
Reference in New Issue
Block a user