Commit 14c7e5a6 authored by arpinux's avatar arpinux
Browse files

add hibernation. tx @croutons

parent 98c6689f
......@@ -5,7 +5,8 @@ nakedquit \- logout/quit menu for nakeDeb
.SH SYNOPSIS
.B nakedquit
.SH DESCRIPTION
nakedquit launches a menu handled by rofi(1) allowing you to logout, lock or suspend your session, reboot or shutdown your computer.
nakedquit launches a menu handled by rofi(1) allowing you to logout,
lock or suspend your session, hibernate, reboot or shutdown your computer.
.SH UTILISATION
Simply launch
.B nakedquit
......
......@@ -6,7 +6,7 @@ nakedquit \- menu d'extinction pour nakeDeb
.B nakedquit
.SH DESCRIPTION
nakedquit lance un menu pris en charge par rofi(1) pour se déconnecter,
verrouiller la session, suspendre l'activité, redémarrer ou éteindre
verrouiller la session, suspendre l'activité, hiberner, redémarrer ou éteindre
votre ordinateur.
.SH UTILISATION
Lancez simplement
......
......@@ -2,7 +2,7 @@
# a simple logout dialog
# launch exit menu
choice=$(printf "\n\n\n\n\n" | \
choice=$(printf "\n\n\n\n\n\n" | \
rofi -theme /usr/share/nakedrasi/nakedquit.rasi -dmenu)
# execute the choice in background
......@@ -10,7 +10,10 @@ case "$choice" in
) pgrep -x i3 > /dev/null && i3-msg exit || xdotool key Ctrl+Alt+BackSpace & ;;
) i3lock-fancy & ;;
) systemctl suspend & ;;
) systemctl hibernate & ;;
) systemctl reboot & ;;
) systemctl poweroff & ;;
) exit ;;
esac
exit 0
......@@ -4,7 +4,7 @@ Homepage: https://nakedeb.arpinux.org
Standards-Version: 3.9.2
Package: nakedtools
Version: 1.4.6-3
Version: 1.4.6-4
Copyright: copyright
Readme: readme
Maintainer: arnault perret <contact@arpinux.org>
......
......@@ -12,14 +12,14 @@
}
#window {
fullscreen: false;
width: 720px;
width: 770px;
border: 5px;
border-color: @blue;
background-color: @background;
text-color: @foreground;
font: "forkawesome 30";
padding: 20px;
children:[horibox];
padding: 15px;
children: [horibox];
}
#horibox {
orientation: horizontal;
......@@ -27,13 +27,13 @@
}
#listview {
layout: horizontal;
spacing: 20px;
spacing: 18px;
text-color: @foreground;
expand: true;
}
#element {
border: 0;
padding: 10px 31px;
border: 0;
padding: 10px 28px;
}
#element selected {
text-color: @foreground;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment