forked from Shinonome/dots-hyprland
swaylock instead of gtklock (#177)
This commit is contained in:
@@ -57,7 +57,8 @@ 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('gtklock') });
|
||||
const lockButton = SessionButton('Lock', 'lock', () => { App.closeWindow('session'); execAsync('swaylock') });
|
||||
const logoutButton = SessionButton('Logout', 'logout', () => { App.closeWindow('session'); execAsync(['bash', '-c', 'loginctl terminate-user $USER']) });
|
||||
const sleepButton = SessionButton('Sleep', 'sleep', () => { App.closeWindow('session'); execAsync('systemctl suspend') });
|
||||
// hibernate, shutdown, reboot
|
||||
|
||||
Regular → Executable
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"label" : "lock",
|
||||
"action" : "gtklock",
|
||||
"action" : "swaylock",
|
||||
"text" : "lock",
|
||||
"keybind" : "l"
|
||||
}
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 132 KiB |
Regular → Executable
-1
@@ -6,7 +6,6 @@
|
||||
|
||||
window {
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
background-image: url('./noise.png');
|
||||
}
|
||||
|
||||
button {
|
||||
|
||||
Reference in New Issue
Block a user