Fix polybar not starting

This commit is contained in:
Marco Thomas
2021-03-23 19:41:33 +01:00
parent 7adc7ce8cd
commit 821b7a22ac
5 changed files with 2 additions and 49 deletions

View File

@@ -1,23 +0,0 @@
#!/bin/bash
# options to be displayed
option0=" Lock"
option1=" Logout"
option2=" Reboot"
option3=" Shutdown"
# options passed into variable
options="$option0\n$option1\n$option2\n$option3"
chosen="$(echo -e "$options" | rofi -lines 8 -dmenu -p "")"
case $chosen in
$option0)
~/scripts/lock-laptop;;
$option1)
i3-msg exit;;
$option2)
systemctl reboot;;
$option3)
systemctl poweroff;;
esac

View File

@@ -1,21 +0,0 @@
#!/usr/bin/env bash
# set keyboard layout
setxkbmap -layout za
# start programs
fcitx -d &
nextcloud &
dunst &
picom &
nm-applet &
# adjust screens on nazarick
$HOME/scripts/fix_screens.sh
# launch polybar
$HOME/scripts/polybar.sh &
# wallpaper
feh --bg-scale $HOME/data/nextcloud/wallpaper/wallpaper.png
#asetroot $HOME/data/nextcloud/wallpaper/animated/current/ -t 50 &