From be4daf6acee2abc83bc5a918a8cc30654001bb9d Mon Sep 17 00:00:00 2001 From: Cheri Date: Sun, 11 Sep 2022 11:26:44 +0300 Subject: [PATCH] No more Gentoo --- .xprofile | 4 +++- rofi/rofi-power-menu | 12 ++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.xprofile b/.xprofile index ab9a812..981557a 100644 --- a/.xprofile +++ b/.xprofile @@ -31,9 +31,11 @@ if [ "$GDMSESSION" = "dwm" ]; then copyq & slstatus & /usr/bin/lxqt-policykit-agent & - pipewire & + #gentoo-pipewire-launcher & fi #bind Caps Lock to be Ctrl on hold and Esc on simple press setxkbmap -option 'caps:ctrl_modifier' xcape -e 'Caps_Lock=Escape' + +export VDPAU_DRIVER= radeonsi diff --git a/rofi/rofi-power-menu b/rofi/rofi-power-menu index 8719eea..860d674 100755 --- a/rofi/rofi-power-menu +++ b/rofi/rofi-power-menu @@ -38,13 +38,13 @@ icons[shutdown]="\uf011" icons[cancel]="\u00d7" declare -A actions -actions[lockscreen]="loginctl lock-session ${XDG_SESSION_ID-}" +actions[lockscreen]="systemctl lock-session ${XDG_SESSION_ID-}" #actions[switchuser]="???" -actions[logout]="loginctl terminate-session ${XDG_SESSION_ID-}" -actions[suspend]="loginctl suspend" -actions[hibernate]="loginctl hibernate" -actions[reboot]="loginctl reboot" -actions[shutdown]="loginctl poweroff" +actions[logout]="systemctl terminate-session ${XDG_SESSION_ID-}" +actions[suspend]="systemctl suspend" +actions[hibernate]="systemctl hibernate" +actions[reboot]="systemctl reboot" +actions[shutdown]="systemctl poweroff" # By default, ask for confirmation for actions that are irreversible confirmations=(reboot shutdown logout)