From 821b7a22acb1cf98cbcaa0933e9969189032b112 Mon Sep 17 00:00:00 2001 From: Marco Thomas Date: Tue, 23 Mar 2021 19:41:33 +0100 Subject: [PATCH] Fix polybar not starting --- files/.config/i3/config | 2 +- files/.config/polybar/config | 2 +- files/.xinitrc | 3 --- files/scripts/powermenu.sh | 23 ----------------------- files/scripts/run_on_startup.sh | 21 --------------------- 5 files changed, 2 insertions(+), 49 deletions(-) delete mode 100755 files/scripts/powermenu.sh delete mode 100755 files/scripts/run_on_startup.sh diff --git a/files/.config/i3/config b/files/.config/i3/config index 9fa1078..978cdbe 100644 --- a/files/.config/i3/config +++ b/files/.config/i3/config @@ -154,4 +154,4 @@ bindsym $mod+Shift+9 move container to workspace number $ws9 bindsym $mod+Shift+0 move container to workspace number $ws10 # ============================== Startup -#exec ~/scripts/run_on_startup.sh +exec ~/scripts/polybar.sh diff --git a/files/.config/polybar/config b/files/.config/polybar/config index 8081753..5232568 100644 --- a/files/.config/polybar/config +++ b/files/.config/polybar/config @@ -243,4 +243,4 @@ format-disconnected = "󰤮 No Connection" [module/sep] type = custom/text -content = | \ No newline at end of file +content = | diff --git a/files/.xinitrc b/files/.xinitrc index 2f11dcb..c63f2df 100755 --- a/files/.xinitrc +++ b/files/.xinitrc @@ -36,9 +36,6 @@ dunst & picom & nm-applet & -# launch bar -$HOME/scripts/polybar.sh - # wallpaper feh --bg-scale $HOME/data/nextcloud/wallpaper/wallpaper.png #asetroot $HOME/data/nextcloud/wallpaper/animated/current/ -t 50 & diff --git a/files/scripts/powermenu.sh b/files/scripts/powermenu.sh deleted file mode 100755 index b73ea19..0000000 --- a/files/scripts/powermenu.sh +++ /dev/null @@ -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 diff --git a/files/scripts/run_on_startup.sh b/files/scripts/run_on_startup.sh deleted file mode 100755 index ba3dd8f..0000000 --- a/files/scripts/run_on_startup.sh +++ /dev/null @@ -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 &