[SCRIPT] Updated

This commit is contained in:
t
2025-03-31 20:14:11 +02:00
parent 810f54cb65
commit 314a27eb42
472 changed files with 11721 additions and 921 deletions
+53 -27
View File
@@ -27,38 +27,41 @@ $launchpad = nwggrid
# Cursor
env = XCURSOR_SIZE,24
env = XCURSOR_THEME,Adwaita
env = XCURSOR_THEME,macOS
env = HYPRCURSOR_SIZE,24
env = HYPRCURSOR_THEME,macOS
# Nvidia
env = LIBVA_DRIVER_NAME,nvidia
env = XDG_SESSION_TYPE,wayland
env = GBM_BACKEND,nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = NVD_BACKEND,direct
# env = NVD_BACKEND,direct
# Electron
env = ELECTRON_OZONE_PLATFORM_HINT,auto
# env = ELECTRON_OZONE_PLATFORM_HINT,auto
# Firefox
env = MOZ_DISABLE_RDD_SANDBOX,1
env = EGL_PLATFORM,wayland
env = MOZ_ENABLE_WAYLAND,1
# env = MOZ_DISABLE_RDD_SANDBOX,1
# env = EGL_PLATFORM,wayland
# env = MOZ_ENABLE_WAYLAND,1
# For qt apps
env = QT_QPA_PLATFORM,wayland
env = QT_QPA_PLATFORMTHEME,qt5ct
# env = QT_QPA_PLATFORM,wayland
# env = QT_QPA_PLATFORMTHEME,qt5ct
env = GTK_THEME,Material
env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_DESKTOP,Hyprland
env = bitdepth,10
#-----------------------------------------------------------------------------------------------------------
# EXEC
#-----------------------------------------------------------------------------------------------------------
exec-once = ignis init
exec-once=/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = telegram-desktop -startintray
exec-once = nm-applet
@@ -70,14 +73,16 @@ exec-once = wl-paste --type text --watch cliphist store
exec-once = wl-paste --type image --watch cliphist store
exec-once = fcitx5
exec-once = hyprswitch init --show-title &
exec-once = hyprswitch init --show-title --size-factor 5.5 --workspaces-per-row 5 &
#-----------------------------------------------------------------------------------------------------------
# INPUT
#-----------------------------------------------------------------------------------------------------------
cursor {
no_hardware_cursors = true
no_hardware_cursors = false
use_cpu_buffer = true
warp_on_change_workspace = true
}
input {
@@ -122,15 +127,15 @@ decoration {
blur {
enabled = true
size = 12
size = 12 # 12
passes = 4
new_optimizations = true
}
shadow {
enabled = true
range = 30
render_power = 4
enabled = false # true
range = 30 # 30
render_power = 4 # 4
color = rgb(000000)
}
# old shadow settings
@@ -145,13 +150,16 @@ decoration {
#-----------------------------------------------------------------------------------------------------------
animations {
# animation = NAME, ONOFF, SPEED, CURVE [, STYLE]
enabled = yes
# bezier = quart, 0.25, 1, 0.5, 1
bezier = quart, 0.25, 1, 0.5, 1
animation = windows, 1, 6, quart, slide
animation = windows, 1, 4, quart, slide
# animation = windows, 1, 4, quart, gnomed # hyprland 0.48.0 introduces gnomed
animation = border, 1, 6, quart
animation = borderangle, 1, 6, quart
# animation = borderangle, 1, 6, quart
animation = fade, 1, 6, quart
animation = workspaces, 1, 6, quart
}
@@ -165,6 +173,13 @@ dwindle {
preserve_split = yes
}
#-----------------------------------------------------------------------------------------------------------
# MASTER
#-----------------------------------------------------------------------------------------------------------
master {
new_status = master
}
#-----------------------------------------------------------------------------------------------------------
# MISC
@@ -182,24 +197,33 @@ render {
explicit_sync = true
}
#-----------------------------------------------------------------------------------------------------------
# EXPERIMENTAL
#-----------------------------------------------------------------------------------------------------------
# experimental {
# hdr = false
# }
#----------------------b-------------------------------------------------------------------------------------
# WINDOW RULES
#-----------------------------------------------------------------------------------------------------------
windowrule = float,^(pavucontrol)$
windowrule = pin,^(pavucontrol)$
windowrule = size 900 500,^(pavucontrol)$
# windowrule = float,^(pavucontrol)$
# windowrule = pin,^(pavucontrol)$
# windowrule = size 900 500,^(pavucontrol)$
#windowrule = float,^(kitty)$
#windowrule = size 640 400,^(kitty)$
windowrule = float,class:^(Material Settings)$
windowrulev2 = opacity 0.0 override, class:^(xwaylandvideobridge)$
windowrulev2 = noanim, class:^(xwaylandvideobridge)$
windowrulev2 = noinitialfocus, class:^(xwaylandvideobridge)$
windowrulev2 = maxsize 1 1, class:^(xwaylandvideobridge)$
windowrulev2 = noblur, class:^(xwaylandvideobridge)$
# windowrulev2 = opacity 0.0 override, class:^(xwaylandvideobridge)$
# windowrulev2 = noanim, class:^(xwaylandvideobridge)$
# windowrulev2 = noinitialfocus, class:^(xwaylandvideobridge)$
# windowrulev2 = maxsize 1 1, class:^(xwaylandvideobridge)$
# windowrulev2 = noblur, class:^(xwaylandvideobridge)$
# windowrulev2 = nofocus, class:^(xwaylandvideobridge)$
layerrule = blur,^(ignis_BAR.*)$
layerrule = noanim,^(ignis_NOTIFICATION_POPUP.*)$
@@ -308,6 +332,8 @@ bind = ,XF86AudioPrev, exec, playerctl previous
bind = CONTROL SHIFT, ESCAPE, exec, missioncenter
# hyprswitch
bind = $mod, $key, exec, hyprswitch gui --mod-key $mod --key $key --close mod-key-release --reverse-key=mod=$reverse --sort-recent && hyprswitch dispatch
bind = $mod $reverse, $key, exec, hyprswitch gui --mod-key $mod --key $key --close mod-key-release --reverse-key=mod=$reverse --sort-recent && hyprswitch dispatch -r
bind = $mod, $key, exec, hyprswitch gui --mod-key $mod --key $key --close mod-key-release --reverse-key=key=$reverse && hyprswitch dispatch
bind = $mod $reverse, $key, exec, hyprswitch gui --mod-key $mod --key $key --close mod-key-release --reverse-key=key=$reverse && hyprswitch dispatch -r
windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
+325
View File
@@ -0,0 +1,325 @@
#-----------------------------------------------------------------------------------------------------------
# IMPORTING FILE WITH BORDER COLOR
#-----------------------------------------------------------------------------------------------------------
source=~/.cache/ignis/material/dark_colors-hyprland.conf
source = ~/.config/hypr/monitors.conf
# Monitor primary
workspace = name:1, monitor:DP-3
exec-once = hyprctl dispatch workspace 1
# Set programs that you use
$terminal = kitty
$fileManager = nautilus
#$menu = tofi-drun --config .config/tofi/config | xargs hyprctl dispatch exec -- # wofi --show drun
$browser = zen-browser
#$shareclip = kdeconnect-cli --device=347E8D05994A40EEBFCFFBCE700FDA6B --send-clipboard
$key = tab
$mod = alt
$reverse = grave
$launchpad = nwggrid
#-----------------------------------------------------------------------------------------------------------
# ENVIRONMENT
#-----------------------------------------------------------------------------------------------------------
# Cursor
env = XCURSOR_SIZE,24
# env = XCURSOR_THEME,Adwaita
# Nvidia
env = LIBVA_DRIVER_NAME,nvidia
env = XDG_SESSION_TYPE,wayland
env = GBM_BACKEND,nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = NVD_BACKEND,direct
# Electron
env = ELECTRON_OZONE_PLATFORM_HINT,auto
# Firefox
env = MOZ_DISABLE_RDD_SANDBOX,1
env = EGL_PLATFORM,wayland
env = MOZ_ENABLE_WAYLAND,1
# For qt apps
env = QT_QPA_PLATFORM,wayland
env = QT_QPA_PLATFORMTHEME,qt5ct
env = GTK_THEME,Material
env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_DESKTOP,Hyprland
#-----------------------------------------------------------------------------------------------------------
# EXEC
#-----------------------------------------------------------------------------------------------------------
exec-once = ignis init
exec-once=/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = telegram-desktop -startintray
exec-once = nm-applet
exec-once = blueman-applet
exec-once = /usr/lib/polkit-kde-authentication-agent-1
# exec-once = swww-daemon
# exec-once = swww img /home/timo/.config/hypr/wallpaper/wallpaper.jpg
exec-once = wl-paste --type text --watch cliphist store
exec-once = wl-paste --type image --watch cliphist store
exec-once = fcitx5
exec-once = hyprswitch init --show-title &
#-----------------------------------------------------------------------------------------------------------
# INPUT
#-----------------------------------------------------------------------------------------------------------
cursor {
no_hardware_cursors = false
use_cpu_buffer = true
warp_on_change_workspace = true
}
input {
kb_layout = de
kb_variant =
kb_model =
kb_options = grp:win_space_toggle
kb_rules =
accel_profile = flat
follow_mouse = 1
touchpad {
natural_scroll = no
}
#scroll_factor = 2
sensitivity = 0
}
#-----------------------------------------------------------------------------------------------------------
# GENERAL
#-----------------------------------------------------------------------------------------------------------
general {
gaps_in = 5
gaps_out = 20
border_size = 2
col.active_border = $primary
col.inactive_border = rgb(000000)
resize_on_border=true
layout = dwindle
}
#-----------------------------------------------------------------------------------------------------------
# DECORATION
#-----------------------------------------------------------------------------------------------------------
decoration {
rounding = 15
blur {
enabled = true
size = 12 # 12
passes = 4
new_optimizations = true
}
shadow {
enabled = false # true
range = 30 # 30
render_power = 4 # 4
color = rgb(000000)
}
# old shadow settings
# drop_shadow = yes
# shadow_range = 30
# shadow_render_power = 4
# col.shadow = rgb(000000)
}
#-----------------------------------------------------------------------------------------------------------
# ANIMATIONS
#-----------------------------------------------------------------------------------------------------------
animations {
enabled = yes
# bezier = quart, 0.25, 1, 0.5, 1
bezier = quart, 0.25, 1, 0.5, 1
animation = windows, 1, 6, quart, slide
animation = border, 1, 6, quart
# animation = borderangle, 1, 6, quart
animation = fade, 1, 6, quart
animation = workspaces, 1, 6, quart
}
#-----------------------------------------------------------------------------------------------------------
# WINDOW LAYOUTS
#-----------------------------------------------------------------------------------------------------------
dwindle {
pseudotile = yes
preserve_split = yes
}
#-----------------------------------------------------------------------------------------------------------
# MISC
#-----------------------------------------------------------------------------------------------------------
misc {
disable_hyprland_logo=true
}
#-----------------------------------------------------------------------------------------------------------
# RENDER
#-----------------------------------------------------------------------------------------------------------
render {
explicit_sync = true
}
#-----------------------------------------------------------------------------------------------------------
# EXPERIMENTAL
#-----------------------------------------------------------------------------------------------------------
experimental {
hdr = false
}
#----------------------b-------------------------------------------------------------------------------------
# WINDOW RULES
#-----------------------------------------------------------------------------------------------------------
windowrule = float,^(pavucontrol)$
windowrule = pin,^(pavucontrol)$
windowrule = size 900 500,^(pavucontrol)$
#windowrule = float,^(kitty)$
#windowrule = size 640 400,^(kitty)$
windowrule = float,class:^(Material Settings)$
windowrulev2 = opacity 0.0 override, class:^(xwaylandvideobridge)$
windowrulev2 = noanim, class:^(xwaylandvideobridge)$
windowrulev2 = noinitialfocus, class:^(xwaylandvideobridge)$
windowrulev2 = maxsize 1 1, class:^(xwaylandvideobridge)$
windowrulev2 = noblur, class:^(xwaylandvideobridge)$
windowrulev2 = nofocus, class:^(xwaylandvideobridge)$
layerrule = blur,^(ignis_BAR.*)$
layerrule = noanim,^(ignis_NOTIFICATION_POPUP.*)$
layerrule = noanim,^(ignis_CONTROL_CENTER.*)$
#-----------------------------------------------------------------------------------------------------------
# BINDS
#-----------------------------------------------------------------------------------------------------------
# Key modifier
$mainMod = SUPER
# Binds to control windows
bind = $mainMod, Q, killactive,
bind = $mainMod SHIFT, M, exit, # force quit Hyprland
bind = $mainMod, T, togglefloating,
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle
bind = ,F11, fullscreen, 0
bind = $mainMod, C, centerwindow
bind = $mainMod, D, pin
# Used to switch windows left, right, ... with another windows, also move to another screen
bind = $mainMod SHIFT, left, movewindow, l
bind = $mainMod SHIFT, right, movewindow, r
bind = $mainMod SHIFT, up, movewindow, u
bind = $mainMod SHIFT, down, movewindow, d
# Rsize but not working after reboot
# bind = $mainMod CTRL, left, resizeactive, -50 0
# bind = $mainMod CTRL, up, resizeactive, 0 50
# bind = $mainMod CTRL, down, resizeactive, 0 -50
# bind = $mainMod CTRL, right, resizeactive, 50 0
# ignis
bind = $mainMod, SPACE, exec, ignis toggle ignis_LAUNCHER
bind = $mainMod, M, exec, ignis toggle ignis_POWERMENU
bind = ALT, F4, exec, ignis toggle ignis_POWERMENU
bind = $mainMod, R, exec, ~/.config/ignis/scripts/recording.py start
bind = $mainMod SHIFT, R, exec, ~/.config/ignis/scripts/recording.py continue
bind = $mainMod SHIFT, T, exec, ~/.config/ignis/scripts/recording.py stop
bind = $mainMod SHIFT, P, exec, ~/.config/ignis/scripts/recording.py pause
# Launch apps
bind = $mainMod, Return, exec, $terminal
bind = $mainMod, L, exec, hyprlock
bind = $mainMod, E, exec, $fileManager
bind = $mainMod SHIFT, S, exec, grimblast --notify --freeze copysave area
bind = $mainMod, S, exec, grimblast --notify --freeze copysave output
bind = ,PRINT, exec, grimblast --notify --freeze copysave output
bind = $mainMod, B, exec, $browser
bind = $mainMod SHIFT, SPACE, exec, $launchpad
# Focus control
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d
# Workspace switching
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
# Move active window to workspace
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
# Switch between existing workspaces by scrolling the mouse
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1
# Move and resize window
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
# Media binds
# bind = ,xf86audiomute, exec, pactl -- set-sink-mute @DEFAULT_SINK@ toggle
bind = ,XF86AudioRaiseVolume, exec, pamixer -i 5 && ignis open ignis_OSD
bind = ,XF86AudioLowerVolume, exec, pamixer -d 5 && ignis open ignis_OSD
bind = ,XF86AudioMute, exec, pamixer -t && ignis open ignis_OSD
bind = ,xf86monbrightnessdown, exec, blight -d backlight/amdgpu_bl1 set -25.5
bind = ,xf86monbrightnessup, exec, blight -d backlight/amdgpu_bl1 set +25.5
bind = ,XF86AudioPlay, exec, playerctl play-pause
bind = ,XF86AudioPause, exec, playerctl play-pause
bind = ,XF86AudioNext, exec, playerctl next
bind = ,XF86AudioPrev, exec, playerctl previous
# taskmgr
bind = CONTROL SHIFT, ESCAPE, exec, missioncenter
# hyprswitch
bind = $mod, $key, exec, hyprswitch gui --mod-key $mod --key $key --close mod-key-release --reverse-key=mod=$reverse --sort-recent && hyprswitch dispatch
bind = $mod $reverse, $key, exec, hyprswitch gui --mod-key $mod --key $key --close mod-key-release --reverse-key=mod=$reverse --sort-recent && hyprswitch dispatch -r
+78
View File
@@ -0,0 +1,78 @@
$rosewater = rgb(f5e0dc)
$rosewaterAlpha = f5e0dc
$flamingo = rgb(f2cdcd)
$flamingoAlpha = f2cdcd
$pink = rgb(f5c2e7)
$pinkAlpha = f5c2e7
$mauve = rgb(cba6f7)
$mauveAlpha = cba6f7
$red = rgb(f38ba8)
$redAlpha = f38ba8
$maroon = rgb(eba0ac)
$maroonAlpha = eba0ac
$peach = rgb(fab387)
$peachAlpha = fab387
$yellow = rgb(f9e2af)
$yellowAlpha = f9e2af
$green = rgb(a6e3a1)
$greenAlpha = a6e3a1
$teal = rgb(94e2d5)
$tealAlpha = 94e2d5
$sky = rgb(89dceb)
$skyAlpha = 89dceb
$sapphire = rgb(74c7ec)
$sapphireAlpha = 74c7ec
$blue = rgb(89b4fa)
$blueAlpha = 89b4fa
$lavender = rgb(b4befe)
$lavenderAlpha = b4befe
$text = rgb(cdd6f4)
$textAlpha = cdd6f4
$subtext1 = rgb(bac2de)
$subtext1Alpha = bac2de
$subtext0 = rgb(a6adc8)
$subtext0Alpha = a6adc8
$overlay2 = rgb(9399b2)
$overlay2Alpha = 9399b2
$overlay1 = rgb(7f849c)
$overlay1Alpha = 7f849c
$overlay0 = rgb(6c7086)
$overlay0Alpha = 6c7086
$surface2 = rgb(585b70)
$surface2Alpha = 585b70
$surface1 = rgb(45475a)
$surface1Alpha = 45475a
$surface0 = rgb(313244)
$surface0Alpha = 313244
$base = rgb(1e1e2e)
$baseAlpha = 1e1e2e
$mantle = rgb(181825)
$mantleAlpha = 181825
$crust = rgb(11111b)
$crustAlpha = 11111b
+4 -4
View File
@@ -1,5 +1,5 @@
# Generated by nwg-displays on 2025-01-26 at 00:56:09. Do not edit manually.
monitor=HDMI-A-1,3840x2160@60.0,-2048x0,1.0,mirror,DP-3,bitdepth,10
monitor=DP-2,2560x1080@60.0,644x-1080,1.0,mirror,10
monitor=DP-3,3840x2160@60.0,0x0,1.0,bitdepth,8 # bitdepth 8 for screensharing
monitor=HDMI-A-1,3840x2160@60.0,0x1080,1.0,mirror,DP-3,bitdepth,10
monitor=DP-2,2560x1080@60.0,4484x0,1.0
monitor=DP-3,3840x2160@60.0,3840x1080,1.0,bitdepth,10
env = XWAYLAND_PRIMARY_OUTPUT,DP-3