Cleanup stow path
This commit is contained in:
@@ -5,7 +5,7 @@ mon=$1
|
||||
# when using a laptop, i want to easily switch screens
|
||||
if [ "$(hostname)" = "itomori" ]; then
|
||||
if [ ${mon} == "external" ]; then
|
||||
notify-send -i /usr/share/icons/Papirus/48x48/devices/computer.svg "Screen update" "Switching to external monitor..."
|
||||
notify-send -i /usr/share/icons/Papirus/48x48/status/notification-display-brightness-high.svg "Screen update" "Switching to external monitor..."
|
||||
sleep 2
|
||||
# set layout for external monitor
|
||||
$HOME/.screenlayout/external.sh
|
||||
@@ -16,7 +16,7 @@ if [ "$(hostname)" = "itomori" ]; then
|
||||
xrandr --output DP-3 --scale 1.4
|
||||
xrandr --output DP-4 --scale 1.4
|
||||
elif [ ${mon} == "single" ]; then
|
||||
notify-send -i /usr/share/icons/Papirus/48x48/devices/computer.svg "Screen update" "Switching to single monitor..."
|
||||
notify-send -i /usr/share/icons/Papirus/48x48/status/notification-display-brightness-high.svg "Screen update" "Switching to single monitor..."
|
||||
sleep 2
|
||||
# set layout for built in display
|
||||
xrandr --output eDP-1 --mode 2880x1800 --pos 0x0 --rotate normal --output DP-1 --off --output DP-2 --off --output DP-3 --off --output DP-4 --off
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# send notification
|
||||
notify-send -i /usr/share/icons/Papirus/48x48/devices/computer-laptop.svg "Reload" "Reloading desktop..."
|
||||
notify-send -i /usr/share/icons/Papirus/48x48/status/state_paused.svg "Reload" "Reloading desktop..."
|
||||
|
||||
# bar
|
||||
killall -q polybar
|
||||
@@ -15,4 +15,4 @@ feh --bg-fill $HOME/data/Seafile/images/wallpaper/wallpaper.png
|
||||
source $HOME/.profile
|
||||
|
||||
# send notification
|
||||
notify-send -i /usr/share/icons/Papirus/48x48/devices/computer-laptop.svg "Reload" "Reloaded desktop"
|
||||
notify-send -i /usr/share/icons/Papirus/48x48/status/state_running.svg "Reload" "Reload done!"
|
||||
|
||||
Reference in New Issue
Block a user