no more autostart
This commit is contained in:
parent
7538e8c6c5
commit
ae25daf01c
@ -1,23 +1,43 @@
|
||||
#!/bin/sh
|
||||
|
||||
# autostart="dunst nm-applet picom input-leap"
|
||||
#
|
||||
# for program in $autostart; do
|
||||
# pidof -s "$program" || "$program" &
|
||||
# done >/dev/null 2>&1
|
||||
|
||||
declare -a autostart
|
||||
autostart=(
|
||||
# start universal things here like keyboard map, cursor, and default screenlayout
|
||||
# keyboard layout
|
||||
setxkbmap us -variant dvorak -option ctrl:nocaps &
|
||||
"setxkbmap us -variant dvorak -option ctrl:nocaps"
|
||||
|
||||
# cursor
|
||||
xsetroot -cursor_name left_ptr
|
||||
"xsetroot -cursor_name left_ptr"
|
||||
|
||||
# numlock
|
||||
numlockx
|
||||
"numlockx"
|
||||
|
||||
# set default desktop window layout
|
||||
"$HOME/.screenlayout/default.sh"
|
||||
|
||||
nitrogen --restore &
|
||||
"nitrogen --restore"
|
||||
|
||||
# I don't use the following but I like it so I'll leave it for now.
|
||||
autostart="dunst nm-applet picom"
|
||||
"dunst"
|
||||
|
||||
for program in $autostart; do
|
||||
"nm-applet"
|
||||
|
||||
"picom"
|
||||
|
||||
"nextcloud --background"
|
||||
|
||||
"input-leap"
|
||||
)
|
||||
|
||||
for program in "${autostart[@]}"; do
|
||||
pidof -s "$program" || "$program" &
|
||||
done >/dev/null 2>&1
|
||||
|
||||
# for program in $autostart; do
|
||||
# pidof -s "$program" || "$program" &
|
||||
# done >/dev/null 2>&1
|
||||
|
||||
@ -1,17 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Place things in here that I would usually start from within xmonad, things
|
||||
# that aren't in .xprofile
|
||||
|
||||
###############################################################################
|
||||
# System Applications
|
||||
###############################################################################
|
||||
|
||||
# conflicted about using this and/or xprofile...
|
||||
|
||||
###############################################################################
|
||||
# Startup Applications
|
||||
###############################################################################
|
||||
|
||||
nextcloud &
|
||||
element-desktop --hidden &
|
||||
@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
sed -n '/static Key keys/,$p' $DWM_DIR/config.def.h | less
|
||||
sed -n '/static const Keychord/,$p' $DWM_DIR/config.def.h | less
|
||||
|
||||
Loading…
Reference in New Issue
Block a user