From 38b00d4dd3ac02938a60177040bacefad48115f3 Mon Sep 17 00:00:00 2001 From: natemaia Date: Tue, 17 Dec 2019 22:45:26 -0800 Subject: [PATCH] Update base skel scripts and some configs --- base/.config/dunst/dunstrc | 8 ++++---- base/bin/rofi_run | 8 ++------ 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/base/.config/dunst/dunstrc b/base/.config/dunst/dunstrc index 13daf17f..631ecd7d 100644 --- a/base/.config/dunst/dunstrc +++ b/base/.config/dunst/dunstrc @@ -29,14 +29,14 @@ # the top and down respectively. # The width can be negative. In this case the actual width is the # 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). indicate_hidden = yes # Shrink window if it's smaller than the width. Will be ignored if # width is 0. - shrink = no + shrink = yes # The transparency of the window. Range: [0; 100]. # This option will only work if a compositing window manager is @@ -54,10 +54,10 @@ separator_height = 0 # Padding between text and separator. - padding = 8 + padding = 10 # Horizontal padding. - horizontal_padding = 8 + horizontal_padding = 20 # Defines width in pixels of frame around the notification window. # Set to 0 to disable. diff --git a/base/bin/rofi_run b/base/bin/rofi_run index 55ddf0f9..091127ac 100755 --- a/base/bin/rofi_run +++ b/base/bin/rofi_run @@ -1,7 +1,7 @@ #!/usr/bin/env bash NAME="${0##*/}" -VER="0.7" +VER="0.71" 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')" ;; -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")" - fi + ANS="$(rofi -sep "|" -dmenu -i -p 'System' -width 20 -hide-scrollbar -line-padding 4 -padding 20 -lines 4 <<< " Lock| Logout| Reboot| Shutdown")" case "$ANS" in *Lock) i3lock-fancy ;; *Reboot) systemctl reboot ;;