fix:amd-pstate-epp

style:hy_animations_config

remove:scx&&swayosd&&tsukimi

feat:use_polkit_gnome

add:embedded
This commit is contained in:
dichgrem
2026-01-21 23:06:05 +08:00
parent a2485dca51
commit 0a7063ba13
14 changed files with 95 additions and 176 deletions

View File

@@ -1,6 +1,5 @@
exec-once = fcitx5 -d -r
exec-once = nm-applet
exec-once = swayosd-server
exec-once = swww-daemon
exec-once = swww restore
exec-once = xprop -root -f _XWAYLAND_GLOBAL_OUTPUT_SCALE 32c -set _XWAYLAND_GLOBAL_OUTPUT_SCALE $SCALE

View File

@@ -1,33 +1,15 @@
source = ~/.config/hypr/theme.conf
#animations {
# enabled = true
# bezier = liner, 1, 1, 1, 1
# bezier = overshot, 0.13, 0.99, 0.29, 1.1
# bezier = wind, 0.05, 0.9, 0.1, 1.05
# bezier = winIn, 0.1, 1.1, 0.1, 1.1
# animation = windows, 1, 6, wind, slide
# animation = windowsIn, 1, 7, winIn, slide
# animation = windowsOut, 1, 7, default, popin 80%
# animation = windowsMove, 1, 5, wind, slide
# animation = border, 1, 1, liner
# animation = fade, 1, 10, default
# animation = workspaces, 1, 8, default, slidefade 20%
# animation = specialWorkspaceIn, 1, 8, default, fade
# animation = specialWorkspaceOut, 1, 8, default, fade
#}
animations {
enabled = yes
bezier = smooth, 0.1, 0.9, 0.2, 1.0
bezier = default, 0.25, 0.8, 0.5, 1
bezier = wind, 0.05, 0.9, 0.1, 1.05
animation = windowsIn, 1, 4, smooth, slide
animation = windowsOut, 1, 2, default, popin 80%
animation = windowsMove, 1, 4, wind, slide
animation = border, 1, 5, default
animation = workspacesIn, 1, 6, smooth, slide
animation = workspacesOut, 1, 6, smooth, slidefade 80%
bezier = niri, 0.2, 0.8, 0.2, 1.0
animation = windowsIn, 1, 3, niri, slide
animation = windowsOut, 1, 2, niri, popin 80%
animation = windowsMove, 1, 3, niri, slide
animation = workspacesIn, 1, 3, niri, slide
animation = workspacesOut, 1, 3, niri, slidefade 70%
animation = border, 1, 1, niri
animation = fade, 1, 1, niri
}
@@ -37,20 +19,26 @@ debug {
}
general {
border_size = 1
gaps_in = 2
gaps_out = 2
}
decoration {
rounding = 0
active_opacity = 1.0
blur {
enabled = false
}
dim_inactive = false
fullscreen_opacity = 1.0
inactive_opacity = 1.0
rounding = 4
shadow {
enabled = false
}
}
general {
col.active_border = rgba(313244ff)
col.inactive_border = rgba(1e1e2eff)
}
ecosystem {
no_donation_nag = true
@@ -61,16 +49,6 @@ ecosystem {
env = XDG_SESSION_DESKTOP, Hyprland
general {
gaps_in = 1
gaps_out = 1
border_size = 2
col.active_border = $lavender
col.inactive_border = $base
layout = tile
}
gestures {
workspace_swipe = true
workspace_swipe_fingers = 3
@@ -114,36 +92,6 @@ misc {
}
#plugin {
# hy3 {
# no_gaps_when_only = 1
# node_collapse_policy = 1
# group_inset = 10
# tab_first_window = true
# tabs {
# col.active = rgb(b4befe)
# col.active.border = rgb(313244)
# col.active.text = rgb(181825)
# col.inactive = rgb(181825)
# col.inactive.border = rgb(313244)
# col.inactive.text = rgb(b4befe)
# col.urgent = rgb(f2cdcd)
# col.urgent.border = rgb(313244)
# col.urgent.text = rgb(181825)
# from_top = false
# height = 14
# padding = 2
# render_text = true
# rounding = 6
# text_center = true
# text_font = Sarasa Gothic SC
# text_height = 10
# text_padding = 0
# }
# }
#}
xwayland {
force_zero_scaling = true
}

View File

@@ -175,8 +175,8 @@ bind = SUPER, mouse:276, workspace, e-1
## Brightness control
bindel = , XF86MonBrightnessUp, exec, swayosd-client --brightness +5
bindel = , XF86MonBrightnessDown, exec, swayosd-client --brightness -5
bindel = , XF86MonBrightnessUp, exec, brightnessctl -d amdgpu_bl1 s +5%
bindel = , XF86MonBrightnessDown, exec, brightnessctl -d amdgpu_bl1 s 5%-
## Playback control
@@ -190,13 +190,13 @@ bindl = CONTROL_ALT, right, exec, playerctl next
bindl = CONTROL_ALT, left, exec, playerctl previous
## Volume control
bindel = ,XF86AudioRaiseVolume, exec, swayosd-client --output-volume +2
bindel = ,XF86AudioLowerVolume, exec, swayosd-client --output-volume -2
bindl = ,XF86AudioMicMute, exec, swayosd-client --input-volume mute-toggle
bindl = ,XF86AudioMute, exec, swayosd-client --output-volume mute-toggle
## Volume control (stable, PipeWire)
bindel = , XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
bindel = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bindl = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bindl = , XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
## Volume control (bonus)
bindel = CONTROL_ALT, up, exec, swayosd-client --output-volume +2
bindel = CONTROL_ALT, down, exec, swayosd-client --output-volume -2
bindel = CONTROL_ALT, up, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
bindel = CONTROL_ALT, down, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-

View File

@@ -165,17 +165,26 @@ binds {
// Powers off the monitors. To turn them back on, do any input like
// moving the mouse or pressing any other key.
Super+Shift+P { power-off-monitors; }
// Volume control (stable)
XF86AudioRaiseVolume {
spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "5%+";
}
XF86AudioLowerVolume {
spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "5%-";
}
XF86AudioMute {
spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle";
}
XF86AudioMicMute {
spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle";
}
XF86MonBrightnessUp {
spawn "brightnessctl" "set" "+5%";
}
// Volume control
XF86AudioLowerVolume allow-when-locked=true { spawn "swayosd-client" "--output-volume" "-2"; }
XF86AudioMute allow-when-locked=true { spawn "swayosd-client" "--output-volume" "mute-toggle"; }
XF86AudioRaiseVolume allow-when-locked=true { spawn "swayosd-client" "--output-volume" "+2"; }
XF86MonBrightnessDown allow-when-locked=true { spawn "swayosd-client" "--brightness" "-5"; }
XF86MonBrightnessUp allow-when-locked=true { spawn "swayosd-client" "--brightness" "+5"; }
// Volume control (bonus)
Ctrl+Alt+Down allow-when-locked=true { spawn "swayosd-client" "--output-volume" "-2"; }
Ctrl+Alt+Up allow-when-locked=true { spawn "swayosd-client" "--output-volume" "+2"; }
XF86MonBrightnessDown {
spawn "brightnessctl" "set" "5%-";
}
}
@@ -197,13 +206,10 @@ screenshot-path "~/Pictures/Screenshots/SCREENSHOT-%Y-%m-%d-%H:%M:%S.png"
spawn-at-startup "fcitx5" "-d" "-r"
spawn-at-startup "nm-applet"
spawn-at-startup "blueman-applet"
spawn-at-startup "sh" "-c" "dbus-update-activation-environment --systemd --all && systemctl --user stop niri-session.target && systemctl --user start niri-session.target"
spawn-at-startup "swayosd-server"
spawn-at-startup "swww-daemon"
spawn-at-startup "swww" "img" "$HOME/Git/DCGOS/dotfiles/.local/share/wallpapers/yohoho.jpg"
spawn-at-startup "swww" "restore"
spawn-at-startup "waybar"
spawn-at-startup "lxqt-policykit-agent"
window-rule {
block-out-from "screen-capture"

View File

@@ -39,7 +39,7 @@
},
"backlight": {
"device": "intel_backlight",
"device": "amdgpu_bl1",
"format": "{icon} {percent}%",
"format-icons": [""],
"on-scroll-down": "brightnessctl s 2%-",
@@ -86,15 +86,7 @@
"on-click": "activate",
"on-click-middle": "close",
},
/*
"custom/screenshot": {
"format": " 󰨵 ",
"on-click": "sh ~/.config/waybar/scripts/Screenshot-Area.sh",
"on-click-right": "nemo ~/Pictures/Screenshots",
"on-click-middle": "sh ~/.config/waybar/scripts/Screenshot-Fullscreen.sh",
"tooltip": false,
},
*/
"tray": {
"spacing": 8,
},
@@ -108,6 +100,7 @@
"on-scroll-down": "busctl --user -- call rs.wl-gammarelay / rs.wl.gammarelay UpdateBrightness d -0.02",
"tooltip": false
},
"custom/wl-gammarelay-temperature": {
"format": "{}K",
"exec": "wl-gammarelay-rs watch {t}",
@@ -117,47 +110,21 @@
"on-scroll-down": "busctl --user -- call rs.wl-gammarelay / rs.wl.gammarelay UpdateTemperature n -100",
"tooltip": false
},
/*
"wireplumber": {
"on-click": "pwvucontrol",
"on-click-right": "easyeffects",
"on-click-middle": "swayosd-client --output-volume mute-toggle",
"on-scroll-down": "swayosd-client --output-volume -2",
"on-scroll-up": "swayosd-client --output-volume +2",
"format": "{icon} {volume}%",
"format-muted": "MUTE",
"format-source": "",
"format-source-muted": "",
"format-icons": {
"default": ["", "", ""],
},
},
*/
"wireplumber": {
"on-click": "pwvucontrol",
"on-click-right": "easyeffects",
"on-click-middle": "swayosd-client --output-volume mute-toggle",
"on-scroll-down": "swayosd-client --output-volume -2",
"on-scroll-up": "swayosd-client --output-volume +2",
"format": "{icon} {volume}%",
"format-muted": "MUTE",
"format-muted": " MUTE",
"format-source": "",
"format-source-muted": "",
"format-icons": {
"default": ["", "", ""],
"default": ["", "", ""]
},
"on-scroll-up": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+",
"on-scroll-down": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-",
"on-click": "pwvucontrol",
"on-click-right": "easyeffects"
},
/*
"clock": {
"interval": 60,
"align": 0,
"rotate": 0,
"tooltip-format": "<tt><big>{calendar}</big></tt>",
"format": " {:%d.%m.%Y}",
"format-alt": " {:%b%d %a,%G}",
},
*/
"clock": {
"interval": 60,
"align": 0,