mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-24 12:22:09 +00:00
Fix: Change swaylock to hyprlock in session window (#273)
This commit is contained in:
commit
39f5f79e40
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ const SessionButton = (name, icon, command, props = {}) => {
|
|||
export default () => {
|
||||
// lock, logout, sleep
|
||||
// const lockButton = SessionButton('Lock', 'lock', () => { App.closeWindow('session'); execAsync('gtklock') });
|
||||
const lockButton = SessionButton('Lock', 'lock', () => { App.closeWindow('session'); execAsync('swaylock') });
|
||||
const lockButton = SessionButton('Lock', 'lock', () => { App.closeWindow('session'); execAsync('hyprlock') });
|
||||
const logoutButton = SessionButton('Logout', 'logout', () => { App.closeWindow('session'); execAsync(['bash', '-c', 'pkill Hyprland || pkill sway']) });
|
||||
const sleepButton = SessionButton('Sleep', 'sleep', () => { App.closeWindow('session'); execAsync('systemctl suspend') });
|
||||
// hibernate, shutdown, reboot
|
||||
|
|
|
|||
Loading…
Reference in a new issue