mirror of
https://github.com/adi1090x/rofi.git
synced 2024-11-22 22:28:21 -05:00
Made the hostname UNIX-universal
This commit is contained in:
parent
7069fdc87b
commit
228163c739
@ -15,7 +15,7 @@ theme='style-1'
|
||||
|
||||
# CMDs
|
||||
uptime="`uptime -p | sed -e 's/up //g'`"
|
||||
host=`hostname`
|
||||
host=$(uname -a | awk '{print $2}')
|
||||
|
||||
# Options
|
||||
shutdown=' Shutdown'
|
||||
|
@ -16,7 +16,7 @@ theme='style-1'
|
||||
|
||||
# CMDs
|
||||
uptime="`uptime -p | sed -e 's/up //g'`"
|
||||
host=`hostname`
|
||||
host=$(uname -a | awk '{print $2}')
|
||||
|
||||
# Options
|
||||
shutdown=''
|
||||
|
@ -15,7 +15,7 @@ theme='style-1'
|
||||
|
||||
# CMDs
|
||||
uptime="`uptime -p | sed -e 's/up //g'`"
|
||||
host=`hostname`
|
||||
host=$(uname -a | awk '{print $2}')
|
||||
|
||||
# Options
|
||||
shutdown=''
|
||||
|
@ -15,7 +15,7 @@ theme='style-5'
|
||||
|
||||
# CMDs
|
||||
uptime="`uptime -p | sed -e 's/up //g'`"
|
||||
host=`hostname`
|
||||
host=$(uname -a | awk '{print $2}')
|
||||
|
||||
# Options
|
||||
shutdown=''
|
||||
|
@ -16,7 +16,7 @@ theme='style-1'
|
||||
# CMDs
|
||||
lastlogin="`last $USER | head -n1 | tr -s ' ' | cut -d' ' -f5,6,7`"
|
||||
uptime="`uptime -p | sed -e 's/up //g'`"
|
||||
host=`hostname`
|
||||
host=$(uname -a | awk '{print $2}')
|
||||
|
||||
# Options
|
||||
hibernate=''
|
||||
|
@ -16,7 +16,7 @@ theme='style-1'
|
||||
# CMDs
|
||||
lastlogin="`last $USER | head -n1 | tr -s ' ' | cut -d' ' -f5,6,7`"
|
||||
uptime="`uptime -p | sed -e 's/up //g'`"
|
||||
host=`hostname`
|
||||
host=$(uname -a | awk '{print $2}')
|
||||
|
||||
# Options
|
||||
hibernate=''
|
||||
|
Loading…
Reference in New Issue
Block a user