mirror of
https://github.com/Dichgrem/DCGOS.git
synced 2025-12-17 03:31:59 -05:00
fix:policykit
This commit is contained in:
123
dotfiles/.config/niri/config.kdl
vendored
123
dotfiles/.config/niri/config.kdl
vendored
@@ -1,46 +1,18 @@
|
|||||||
animations {
|
input {
|
||||||
// Uncomment to turn off all animations.
|
disable-power-key-handling
|
||||||
// You can also put "off" into each individual animation to disable it.
|
focus-follows-mouse
|
||||||
// off
|
warp-mouse-to-focus
|
||||||
|
|
||||||
// Slow down all animations by this factor. Values below 1 speed them up instead.
|
mouse {
|
||||||
// slowdown 3.0
|
accel-profile "flat"
|
||||||
|
scroll-factor 0.5
|
||||||
// Individual animations.
|
|
||||||
|
|
||||||
workspace-switch {
|
|
||||||
spring damping-ratio=1.0 stiffness=1000 epsilon=0.0001
|
|
||||||
}
|
}
|
||||||
|
touchpad {
|
||||||
window-open {
|
accel-profile "flat"
|
||||||
duration-ms 150
|
dwt
|
||||||
curve "ease-out-expo"
|
natural-scroll
|
||||||
}
|
scroll-factor 0.5
|
||||||
|
tap
|
||||||
window-close {
|
|
||||||
duration-ms 150
|
|
||||||
curve "ease-out-quad"
|
|
||||||
}
|
|
||||||
|
|
||||||
horizontal-view-movement {
|
|
||||||
spring damping-ratio=1.0 stiffness=800 epsilon=0.0001
|
|
||||||
}
|
|
||||||
|
|
||||||
window-movement {
|
|
||||||
spring damping-ratio=1.0 stiffness=800 epsilon=0.0001
|
|
||||||
}
|
|
||||||
|
|
||||||
window-resize {
|
|
||||||
spring damping-ratio=1.0 stiffness=800 epsilon=0.0001
|
|
||||||
}
|
|
||||||
|
|
||||||
config-notification-open-close {
|
|
||||||
spring damping-ratio=0.6 stiffness=1000 epsilon=0.001
|
|
||||||
}
|
|
||||||
|
|
||||||
screenshot-ui-open {
|
|
||||||
duration-ms 200
|
|
||||||
curve "ease-out-quad"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -219,32 +191,10 @@ hotkey-overlay {
|
|||||||
skip-at-startup
|
skip-at-startup
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
input {
|
|
||||||
disable-power-key-handling
|
|
||||||
focus-follows-mouse
|
|
||||||
warp-mouse-to-focus
|
|
||||||
|
|
||||||
mouse {
|
|
||||||
accel-profile "flat"
|
|
||||||
scroll-factor 0.5
|
|
||||||
}
|
|
||||||
touchpad {
|
|
||||||
accel-profile "flat"
|
|
||||||
dwt
|
|
||||||
natural-scroll
|
|
||||||
scroll-factor 0.5
|
|
||||||
tap
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
prefer-no-csd
|
prefer-no-csd
|
||||||
|
|
||||||
|
|
||||||
screenshot-path "~/Pictures/Screenshots/SCREENSHOT-%Y-%m-%d-%H:%M:%S.png"
|
screenshot-path "~/Pictures/Screenshots/SCREENSHOT-%Y-%m-%d-%H:%M:%S.png"
|
||||||
|
|
||||||
|
|
||||||
spawn-at-startup "fcitx5" "-d" "-r"
|
spawn-at-startup "fcitx5" "-d" "-r"
|
||||||
spawn-at-startup "nm-applet"
|
spawn-at-startup "nm-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 "sh" "-c" "dbus-update-activation-environment --systemd --all && systemctl --user stop niri-session.target && systemctl --user start niri-session.target"
|
||||||
@@ -253,6 +203,7 @@ spawn-at-startup "swww-daemon"
|
|||||||
spawn-at-startup "sh" "-c" "sleep 1 && swww img $HOME/Git/DCGOS/dotfiles/.local/share/wallpapers/yohoho.jpg"
|
spawn-at-startup "sh" "-c" "sleep 1 && swww img $HOME/Git/DCGOS/dotfiles/.local/share/wallpapers/yohoho.jpg"
|
||||||
spawn-at-startup "swww" "restore"
|
spawn-at-startup "swww" "restore"
|
||||||
spawn-at-startup "waybar"
|
spawn-at-startup "waybar"
|
||||||
|
spawn-at-startup "lxqt-policykit-agent"
|
||||||
|
|
||||||
window-rule {
|
window-rule {
|
||||||
block-out-from "screen-capture"
|
block-out-from "screen-capture"
|
||||||
@@ -268,6 +219,52 @@ window-rule {
|
|||||||
geometry-corner-radius 10
|
geometry-corner-radius 10
|
||||||
}
|
}
|
||||||
|
|
||||||
|
animations {
|
||||||
|
// Uncomment to turn off all animations.
|
||||||
|
// You can also put "off" into each individual animation to disable it.
|
||||||
|
// off
|
||||||
|
|
||||||
|
// Slow down all animations by this factor. Values below 1 speed them up instead.
|
||||||
|
// slowdown 3.0
|
||||||
|
|
||||||
|
// Individual animations.
|
||||||
|
|
||||||
|
workspace-switch {
|
||||||
|
spring damping-ratio=1.0 stiffness=1000 epsilon=0.0001
|
||||||
|
}
|
||||||
|
|
||||||
|
window-open {
|
||||||
|
duration-ms 150
|
||||||
|
curve "ease-out-expo"
|
||||||
|
}
|
||||||
|
|
||||||
|
window-close {
|
||||||
|
duration-ms 150
|
||||||
|
curve "ease-out-quad"
|
||||||
|
}
|
||||||
|
|
||||||
|
horizontal-view-movement {
|
||||||
|
spring damping-ratio=1.0 stiffness=800 epsilon=0.0001
|
||||||
|
}
|
||||||
|
|
||||||
|
window-movement {
|
||||||
|
spring damping-ratio=1.0 stiffness=800 epsilon=0.0001
|
||||||
|
}
|
||||||
|
|
||||||
|
window-resize {
|
||||||
|
spring damping-ratio=1.0 stiffness=800 epsilon=0.0001
|
||||||
|
}
|
||||||
|
|
||||||
|
config-notification-open-close {
|
||||||
|
spring damping-ratio=0.6 stiffness=1000 epsilon=0.001
|
||||||
|
}
|
||||||
|
|
||||||
|
screenshot-ui-open {
|
||||||
|
duration-ms 200
|
||||||
|
curve "ease-out-quad"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
layout {
|
layout {
|
||||||
center-focused-column "on-overflow"
|
center-focused-column "on-overflow"
|
||||||
border {
|
border {
|
||||||
|
|||||||
@@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
hostname,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: let
|
|
||||||
inherit (import ../../hosts/${hostname}/env.nix) HotSpot-Use-Case;
|
|
||||||
in
|
|
||||||
with lib;
|
|
||||||
mkIf HotSpot-Use-Case
|
|
||||||
{
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
linux-wifi-hotspot
|
|
||||||
];
|
|
||||||
}
|
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
playerctl
|
lxqt.lxqt-policykit
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user