diff options
Diffstat (limited to '.local/bin/dmlog')
-rwxr-xr-x | .local/bin/dmlog | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/dmlog b/.local/bin/dmlog index acf373c..6410007 100755 --- a/.local/bin/dmlog +++ b/.local/bin/dmlog @@ -13,7 +13,7 @@ use constant { SHUTDOWN_PATH => '/sbin/shutdown', LOGINCTL_PATH => '/usr/bin/loginctl', NOTIF_PATH => 'notify-send', - HOSTNAME => (split /\./, hostname()) + HOSTNAME => (split /\./, hostname())[0] }; use constant LIST => [ 'lock screen', |