removed elogind bloatware
This commit is contained in:
parent
cd7a9d846e
commit
6b1a92e419
5 changed files with 39 additions and 16 deletions
17
config-files/polkit/00-polkit.rules
Normal file
17
config-files/polkit/00-polkit.rules
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
polkit.addRule(function(action, subject)
|
||||||
|
{
|
||||||
|
if (action.id == "org.freedesktop.policykit.exec" && action.lookup("program") == "/bin/shutdown" && subject.isInGroup("wheel"))
|
||||||
|
return polkit.Result.YES;
|
||||||
|
});
|
||||||
|
|
||||||
|
polkit.addRule(function(action, subject)
|
||||||
|
{
|
||||||
|
if (action.id == "org.freedesktop.policykit.exec" && action.lookup("program") == "/bin/zzz" && subject.isInGroup("wheel"))
|
||||||
|
return polkit.Result.YES;
|
||||||
|
});
|
||||||
|
|
||||||
|
polkit.addRule(function(action, subject)
|
||||||
|
{
|
||||||
|
if (action.id.startsWith("org.freedesktop.udisks2.") && subject.isInGroup("wheel"))
|
||||||
|
return polkit.Result.YES;
|
||||||
|
});
|
|
@ -5,7 +5,7 @@
|
||||||
"position": "top",
|
"position": "top",
|
||||||
"modules-left": ["wlr/taskbar"],
|
"modules-left": ["wlr/taskbar"],
|
||||||
"modules-center": ["clock"],
|
"modules-center": ["clock"],
|
||||||
"modules-right": ["temperature","memory","tray","custom/search","custom/poweroff"],
|
"modules-right": ["memory","tray","custom/search","custom/poweroff"],
|
||||||
"fixed-center": true,
|
"fixed-center": true,
|
||||||
"spacing": 20,
|
"spacing": 20,
|
||||||
"custom/poweroff":
|
"custom/poweroff":
|
||||||
|
@ -36,10 +36,6 @@
|
||||||
"interval": 30,
|
"interval": 30,
|
||||||
"format": " {}%"
|
"format": " {}%"
|
||||||
},
|
},
|
||||||
"temperature":
|
|
||||||
{
|
|
||||||
"format": " {temperatureC}°C"
|
|
||||||
},
|
|
||||||
"wlr/taskbar":
|
"wlr/taskbar":
|
||||||
{
|
{
|
||||||
"format": "{icon}",
|
"format": "{icon}",
|
||||||
|
|
|
@ -19,12 +19,13 @@ zoom_enabled_for = none
|
||||||
|
|
||||||
[autostart]
|
[autostart]
|
||||||
audio = pipewire
|
audio = pipewire
|
||||||
audio_notify = sleep 5; dbus-launch pa-notify -t 2
|
audio_notify = sleep 5; pa-notify -t 2
|
||||||
|
audio_player = playerctld daemon
|
||||||
automount = udiskie -As
|
automount = udiskie -As
|
||||||
autostart_wf_shell = false
|
autostart_wf_shell = false
|
||||||
background = wf-background
|
background = wf-background
|
||||||
bar = waybar
|
bar = waybar
|
||||||
element = dbus-launch element-desktop --hidden --enable-features=UseOzonePlatform --ozone-platform=wayland
|
element = element-desktop --hidden --enable-features=UseOzonePlatform --ozone-platform=wayland
|
||||||
idle = swayidle -w timeout 590 gtklock before-sleep gtklock
|
idle = swayidle -w timeout 590 gtklock before-sleep gtklock
|
||||||
network = sleep 5; nm-applet --indicator
|
network = sleep 5; nm-applet --indicator
|
||||||
notifications = mako
|
notifications = mako
|
||||||
|
@ -56,6 +57,9 @@ binding_kanshi = <super> KEY_K
|
||||||
binding_launcher = <super> KEY_S
|
binding_launcher = <super> KEY_S
|
||||||
binding_matrix = <super> KEY_E
|
binding_matrix = <super> KEY_E
|
||||||
binding_mute = KEY_MUTE
|
binding_mute = KEY_MUTE
|
||||||
|
binding_next = KEY_NEXTSONG
|
||||||
|
binding_playpause = KEY_PLAYPAUSE
|
||||||
|
binding_previous = KEY_PREVIOUSSONG
|
||||||
binding_screenshot = <shift> KEY_SYSRQ
|
binding_screenshot = <shift> KEY_SYSRQ
|
||||||
binding_screenshot_interactive = KEY_SYSRQ
|
binding_screenshot_interactive = KEY_SYSRQ
|
||||||
binding_terminal = <super> KEY_T
|
binding_terminal = <super> KEY_T
|
||||||
|
@ -69,8 +73,11 @@ command_firefox = firefox
|
||||||
command_gamma = wlsunset -l 52.0 -L 5.9 -t 3000
|
command_gamma = wlsunset -l 52.0 -L 5.9 -t 3000
|
||||||
command_kanshi = kanshi
|
command_kanshi = kanshi
|
||||||
command_launcher = wofi --show drun
|
command_launcher = wofi --show drun
|
||||||
command_matrix = dbus-launch element-desktop --enable-features=UseOzonePlatform --ozone-platform=wayland
|
command_matrix = element-desktop --enable-features=UseOzonePlatform --ozone-platform=wayland
|
||||||
command_mute = pamixer -t
|
command_mute = pamixer -t
|
||||||
|
command_next = playerctl next
|
||||||
|
command_playpause = playerctl play-pause
|
||||||
|
command_previous = playerctl previous
|
||||||
command_screenshot = grim $(date '+%F_%T').png
|
command_screenshot = grim $(date '+%F_%T').png
|
||||||
command_screenshot_interactive = slurp | grim -g - $(date '+%F_%T').png
|
command_screenshot_interactive = slurp | grim -g - $(date '+%F_%T').png
|
||||||
command_terminal = foot
|
command_terminal = foot
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
"label" : "hibernate",
|
"label" : "hibernate",
|
||||||
"action" : "loginctl hibernate",
|
"action" : "gtklock & pkexec /bin/zzz -Z",
|
||||||
"text" : "Hibernate",
|
"text" : "Hibernate",
|
||||||
"keybind" : "h"
|
"keybind" : "h"
|
||||||
}
|
}
|
||||||
|
@ -18,19 +18,19 @@
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
"label" : "shutdown",
|
"label" : "shutdown",
|
||||||
"action" : "loginctl poweroff",
|
"action" : "pkexec /bin/shutdown -P now",
|
||||||
"text" : "Shutdown",
|
"text" : "Shutdown",
|
||||||
"keybind" : "s"
|
"keybind" : "s"
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
"label" : "suspend",
|
"label" : "suspend",
|
||||||
"action" : "loginctl suspend",
|
"action" : "gtklock & pkexec /bin/zzz -z",
|
||||||
"text" : "Suspend",
|
"text" : "Suspend",
|
||||||
"keybind" : "u"
|
"keybind" : "u"
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
"label" : "reboot",
|
"label" : "reboot",
|
||||||
"action" : "loginctl reboot",
|
"action" : "pkexec /bin/shutdown -r now",
|
||||||
"text" : "Reboot",
|
"text" : "Reboot",
|
||||||
"keybind" : "r"
|
"keybind" : "r"
|
||||||
}
|
}
|
||||||
|
|
|
@ -98,7 +98,7 @@ Post install:
|
||||||
{
|
{
|
||||||
# ln -s /etc/sv/NetworkManager /var/service
|
# ln -s /etc/sv/NetworkManager /var/service
|
||||||
# ln -s /etc/sv/dbus /var/service
|
# ln -s /etc/sv/dbus /var/service
|
||||||
# vim /etc/NetworkManager/conf.d/rand_mac.conf:
|
# vim /etc/NetworkManager/NetworkManager.conf:
|
||||||
{
|
{
|
||||||
> [device-mac-randomization]
|
> [device-mac-randomization]
|
||||||
> wifi.scan-rand-mac-address=yes
|
> wifi.scan-rand-mac-address=yes
|
||||||
|
@ -185,9 +185,12 @@ Post install:
|
||||||
}
|
}
|
||||||
Session & login manager:
|
Session & login manager:
|
||||||
{
|
{
|
||||||
# xbps-install -Sy elogind sddm sddm-kcm seatd wayland xorg-minimal xorg-fonts qt5-wayland qt6-wayland xorg-server-xwayland
|
# xbps-install -Sy polkit dumb_runtime_dir sddm sddm-kcm seatd wayland xorg-minimal xorg-fonts qt5-wayland qt6-wayland xorg-server-xwayland
|
||||||
# ln -s /etc/sv/seatd /var/service/
|
# ln -s /etc/sv/seatd /var/service/
|
||||||
# ln -s /etc/sv/sddm /var/service/
|
# ln -s /etc/sv/sddm /var/service/
|
||||||
|
# ln -s /etc/sv/polkitd /var/service/
|
||||||
|
|
||||||
|
# cp void-desktop/config-files/polkit/00-polkit.rules /etc/polkit-1/rules.d/
|
||||||
|
|
||||||
(chili theme)
|
(chili theme)
|
||||||
# xbps-install -Sy qt5 qt5-quickcontrols qt5-graphicaleffects
|
# xbps-install -Sy qt5 qt5-quickcontrols qt5-graphicaleffects
|
||||||
|
@ -207,7 +210,7 @@ Post install:
|
||||||
{
|
{
|
||||||
> [Desktop Entry]
|
> [Desktop Entry]
|
||||||
> Name=Wayfire
|
> Name=Wayfire
|
||||||
> Exec=dbus-run-session wayfire
|
> Exec=wayfire
|
||||||
> TryExec=wayfire
|
> TryExec=wayfire
|
||||||
> Type=Application
|
> Type=Application
|
||||||
> DesktopnNames=Wayfire
|
> DesktopnNames=Wayfire
|
||||||
|
@ -278,7 +281,7 @@ Post install:
|
||||||
{
|
{
|
||||||
> [autostart]
|
> [autostart]
|
||||||
> audio = pipewire
|
> audio = pipewire
|
||||||
> audio_notify = sleep 5; dbus-launch pa-notify -t 2
|
> audio_notify = sleep 5; pa-notify -t 2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Lockscreen:
|
Lockscreen:
|
||||||
|
|
Loading…
Reference in a new issue