hyprland config
This commit is contained in:
parent
a5208fedba
commit
82ddd5bebb
@ -8,22 +8,19 @@ in {
|
|||||||
env = XDG_SESSION_DESKTOP,hyprland
|
env = XDG_SESSION_DESKTOP,hyprland
|
||||||
env = GDK_BACKEND,wayland
|
env = GDK_BACKEND,wayland
|
||||||
env = QT_QPA_PLATFORM,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
|
env = WLR_NO_HARDWARE_CURSORS,1
|
||||||
|
|
||||||
monitor=eDP-1,1920x1080@60.096001,0x0,1
|
monitor=eDP-1,1920x1080@60.096001,0x0,1
|
||||||
|
|
||||||
general {
|
general {
|
||||||
gaps_in = 0
|
gaps_in = 5
|
||||||
gaps_out = -1
|
gaps_out = 5
|
||||||
border_size = 0
|
border_size = 2
|
||||||
col.active_border = rgba(002B36ee) 45deg
|
col.active_border = rgba(002B36ee) 45deg
|
||||||
col.inactive_border = rgba(07364299)
|
col.inactive_border = rgba(07364299)
|
||||||
|
no_border_on_floating = false
|
||||||
layout = dwindle
|
layout = dwindle
|
||||||
|
no_cursor_warps = true
|
||||||
}
|
}
|
||||||
|
|
||||||
input {
|
input {
|
||||||
@ -42,10 +39,11 @@ in {
|
|||||||
|
|
||||||
decoration {
|
decoration {
|
||||||
rounding = 10
|
rounding = 10
|
||||||
blur = yes
|
blur = true
|
||||||
blur_size = 3
|
blur_size = 6
|
||||||
blur_passes = 1
|
blur_passes = 3
|
||||||
blur_new_optimizations = on
|
blur_new_optimizations = true
|
||||||
|
blur_ignore_opacity = true
|
||||||
drop_shadow = yes
|
drop_shadow = yes
|
||||||
shadow_range = 4
|
shadow_range = 4
|
||||||
col.shadow = rgba(1a1a1aee)
|
col.shadow = rgba(1a1a1aee)
|
||||||
@ -63,8 +61,9 @@ in {
|
|||||||
# }
|
# }
|
||||||
|
|
||||||
dwindle {
|
dwindle {
|
||||||
|
no_gaps_when_only = false
|
||||||
preserve_split = yes
|
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 {
|
master {
|
||||||
@ -78,7 +77,7 @@ in {
|
|||||||
}
|
}
|
||||||
|
|
||||||
exec-once = waybar
|
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 = ${modifier}
|
||||||
$SUPER_SHIFT = ${modifier}_SHIFT
|
$SUPER_SHIFT = ${modifier}_SHIFT
|
||||||
@ -105,4 +104,8 @@ in {
|
|||||||
bindl=, XF86MonBrightnessUp, exec, brightnessctl set +5% && notify-send -t 2000 "Increased brightness to" "$(brightnessctl get)"
|
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;
|
enable_audio_bell = false;
|
||||||
close_on_child_death = true;
|
close_on_child_death = true;
|
||||||
cursor_blink_interval = 0;
|
cursor_blink_interval = 0;
|
||||||
|
background_opacity = "0.8";
|
||||||
|
|
||||||
open_url_with = "librewolf";
|
open_url_with = "librewolf";
|
||||||
wayland_titlebar_color = "background";
|
wayland_titlebar_color = "background";
|
||||||
|
@ -1,7 +1,24 @@
|
|||||||
{ inputs, pkgs, ... }: {
|
{ inputs, pkgs, ... }: {
|
||||||
programs.hyprland = {
|
programs.hyprland = {
|
||||||
enable = true;
|
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 = {
|
services.xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
jq
|
jq
|
||||||
neofetch
|
neofetch
|
||||||
ripgrep # rg in home/hyprland.nix
|
ripgrep # rg in home/hyprland.nix
|
||||||
swww
|
|
||||||
tree
|
tree
|
||||||
wget
|
wget
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
|
Loading…
x
Reference in New Issue
Block a user