Update base skel scripts and some configs

This commit is contained in:
natemaia 2019-12-17 22:45:26 -08:00
parent 074d0a8164
commit 38b00d4dd3
2 changed files with 6 additions and 10 deletions

View File

@ -29,14 +29,14 @@
# the top and down respectively. # the top and down respectively.
# The width can be negative. In this case the actual width is the # The width can be negative. In this case the actual width is the
# screen width minus the width defined in within the geometry option. # screen width minus the width defined in within the geometry option.
geometry = "600x40+100+50" geometry = "600x20+50+50"
# Show how many messages are currently hidden (because of geometry). # Show how many messages are currently hidden (because of geometry).
indicate_hidden = yes indicate_hidden = yes
# Shrink window if it's smaller than the width. Will be ignored if # Shrink window if it's smaller than the width. Will be ignored if
# width is 0. # width is 0.
shrink = no shrink = yes
# The transparency of the window. Range: [0; 100]. # The transparency of the window. Range: [0; 100].
# This option will only work if a compositing window manager is # This option will only work if a compositing window manager is
@ -54,10 +54,10 @@
separator_height = 0 separator_height = 0
# Padding between text and separator. # Padding between text and separator.
padding = 8 padding = 10
# Horizontal padding. # Horizontal padding.
horizontal_padding = 8 horizontal_padding = 20
# Defines width in pixels of frame around the notification window. # Defines width in pixels of frame around the notification window.
# Set to 0 to disable. # Set to 0 to disable.

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
NAME="${0##*/}" NAME="${0##*/}"
VER="0.7" VER="0.71"
usage() usage()
{ {
@ -66,11 +66,7 @@ else
rofi -hide-scrollbar -kb-row-select 'Tab' -kb-row-tab 'Control+space' -dmenu -mesg 'Tab for Autocomplete' -i -p 'Web Search')" rofi -hide-scrollbar -kb-row-select 'Tab' -kb-row-tab 'Control+space' -dmenu -mesg 'Tab for Autocomplete' -i -p 'Web Search')"
;; ;;
-l|--logout) -l|--logout)
if grep -q 'startx' $HOME/.*profile; then
ANS="$(rofi -sep "|" -dmenu -i -p 'System' -width 20 -hide-scrollbar -line-padding 4 -padding 20 -lines 3 <<< " Lock| Reboot| Shutdown")"
else
ANS="$(rofi -sep "|" -dmenu -i -p 'System' -width 20 -hide-scrollbar -line-padding 4 -padding 20 -lines 4 <<< " Lock| Logout| Reboot| Shutdown")" ANS="$(rofi -sep "|" -dmenu -i -p 'System' -width 20 -hide-scrollbar -line-padding 4 -padding 20 -lines 4 <<< " Lock| Logout| Reboot| Shutdown")"
fi
case "$ANS" in case "$ANS" in
*Lock) i3lock-fancy ;; *Lock) i3lock-fancy ;;
*Reboot) systemctl reboot ;; *Reboot) systemctl reboot ;;