no more autostart
This commit is contained in:
parent
7538e8c6c5
commit
ae25daf01c
@ -1,23 +1,43 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# start universal things here like keyboard map, cursor, and default screenlayout
|
# autostart="dunst nm-applet picom input-leap"
|
||||||
# keyboard layout
|
#
|
||||||
setxkbmap us -variant dvorak -option ctrl:nocaps &
|
# for program in $autostart; do
|
||||||
|
# pidof -s "$program" || "$program" &
|
||||||
|
# done >/dev/null 2>&1
|
||||||
|
|
||||||
# cursor
|
declare -a autostart
|
||||||
xsetroot -cursor_name left_ptr
|
autostart=(
|
||||||
|
# start universal things here like keyboard map, cursor, and default screenlayout
|
||||||
|
# keyboard layout
|
||||||
|
"setxkbmap us -variant dvorak -option ctrl:nocaps"
|
||||||
|
|
||||||
# numlock
|
# cursor
|
||||||
numlockx
|
"xsetroot -cursor_name left_ptr"
|
||||||
|
|
||||||
# set default desktop window layout
|
# numlock
|
||||||
"$HOME/.screenlayout/default.sh"
|
"numlockx"
|
||||||
|
|
||||||
nitrogen --restore &
|
# set default desktop window layout
|
||||||
|
"$HOME/.screenlayout/default.sh"
|
||||||
|
|
||||||
# I don't use the following but I like it so I'll leave it for now.
|
"nitrogen --restore"
|
||||||
autostart="dunst nm-applet picom"
|
|
||||||
|
|
||||||
for program in $autostart; do
|
"dunst"
|
||||||
|
|
||||||
|
"nm-applet"
|
||||||
|
|
||||||
|
"picom"
|
||||||
|
|
||||||
|
"nextcloud --background"
|
||||||
|
|
||||||
|
"input-leap"
|
||||||
|
)
|
||||||
|
|
||||||
|
for program in "${autostart[@]}"; do
|
||||||
pidof -s "$program" || "$program" &
|
pidof -s "$program" || "$program" &
|
||||||
done >/dev/null 2>&1
|
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
|
#!/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