Browse Source

Update i3wm config to use srandr; add configs

master
jcmdln 3 years ago
parent
commit
e3ce6808e8
2 changed files with 8 additions and 6 deletions
  1. 1
    1
      etc/i3/config
  2. 7
    5
      gein.sh

+ 1
- 1
etc/i3/config View File

@@ -13,7 +13,7 @@ bindsym $mod+d exec --no-startup-id dmenu_run
bindsym $mod+Return exec --no-startup-id st -f 'Noto Mono:10pt'

## Display
exec --no-startup-id "sh /etc/srandr.sh"
exec --no-startup-id "srandr"


### Appearance ###################################

+ 7
- 5
gein.sh View File

@@ -67,8 +67,6 @@ CONFIG() {
/etc/profile.d/alias.sh
/etc/profile.d/defaults.sh
/etc/profile.d/golang.sh
/etc/profile.d/gpkg.sh
/etc/profile.d/kbuild.sh
/etc/profile.d/racket.sh

/etc/emacs/default.el
@@ -77,10 +75,13 @@ CONFIG() {
/etc/i3/config

/etc/Xresources
/etc/srandr.sh
/etc/tmux.conf
/etc/vimrc
/etc/xinitrc

/usr/local/gein/gpkg
/usr/local/gein/kbuild
/usr/local/gein/srandr
"

# Files/Folders that need to be removed and re-created. Sometimes
@@ -93,11 +94,12 @@ CONFIG() {
/etc/profile.d
/etc/emacs
/etc/i3
/usr/local/gein
"

for Folder in $ConfigFolders; do
rm -rf $Folder
mkdir -p $Folder
[ -d "$Folder" ] && rm -rf "$Folder"
[ ! -d "$Folder"] && mkdir -p "$Folder"
done

for File in $Configs; do

Loading…
Cancel
Save