diff options
author | jack <[email protected]> | 2023-11-20 17:47:11 -0700 |
---|---|---|
committer | jack <[email protected]> | 2023-11-20 17:47:11 -0700 |
commit | a48ab64f3f8e3004e6bcd9431b2810ea106f3e39 (patch) | |
tree | be8b4c17bb9b2d59d93e479b99b7bbdb43da481a | |
parent | 0fd7df369678bb805fbc523b00eded9f0d699f18 (diff) | |
download | dots-a48ab64f3f8e3004e6bcd9431b2810ea106f3e39.tar.gz dots-a48ab64f3f8e3004e6bcd9431b2810ea106f3e39.zip |
working X
-rw-r--r-- | etc/X11/xorg.conf.d/20-intel.conf | 4 | ||||
-rw-r--r-- | etc/chrony.conf | 14 | ||||
-rw-r--r-- | etc/elogind/logind.conf | 31 | ||||
-rw-r--r-- | etc/elogind/sleep.conf | 22 | ||||
-rw-r--r-- | etc/group | 29 | ||||
-rw-r--r-- | etc/hosts | 2 | ||||
-rw-r--r-- | etc/passwd | 9 | ||||
-rwxr-xr-x | home/jack/.fehbg | 2 | ||||
-rwxr-xr-x | home/jack/.xinitrc | 14 | ||||
-rw-r--r-- | home/jack/.zshrc | 8 |
10 files changed, 127 insertions, 8 deletions
diff --git a/etc/X11/xorg.conf.d/20-intel.conf b/etc/X11/xorg.conf.d/20-intel.conf new file mode 100644 index 00000000..86eb7ae7 --- /dev/null +++ b/etc/X11/xorg.conf.d/20-intel.conf @@ -0,0 +1,4 @@ +Section "Device" + Identifier "Intel Graphics" + Driver "modesetting" +EndSection diff --git a/etc/chrony.conf b/etc/chrony.conf new file mode 100644 index 00000000..9692b1aa --- /dev/null +++ b/etc/chrony.conf @@ -0,0 +1,14 @@ +# Use public NTP servers from the pool.ntp.org project. +pool pool.ntp.org iburst + +# Record the rate at which the system clock gains/losses time. +driftfile /var/lib/chrony/drift + +# In first three updates step the system clock instead of slew +# if the adjustment is larger than 1 second. +makestep 1.0 3 + +# Enable kernel synchronization of the real-time clock (RTC). +rtcsync + +hwclockfile /etc/adjtime diff --git a/etc/elogind/logind.conf b/etc/elogind/logind.conf new file mode 100644 index 00000000..a269a79d --- /dev/null +++ b/etc/elogind/logind.conf @@ -0,0 +1,31 @@ +[Login] +#KillUserProcesses=yes +#KillOnlyUsers= +#KillExcludeUsers=root +#InhibitDelayMaxSec=5 +#UserStopDelaySec=10 +HandlePowerKey=ignore +#HandlePowerKeyLongPress=ignore +#HandleRebootKey=reboot +#HandleRebootKeyLongPress=poweroff +#HandleSuspendKey=suspend +#HandleSuspendKeyLongPress=hibernate +#HandleHibernateKey=hibernate +#HandleHibernateKeyLongPress=ignore +HandleLidSwitch=suspend +#HandleLidSwitchExternalPower=suspend +#HandleLidSwitchDocked=ignore +#PowerKeyIgnoreInhibited=no +#SuspendKeyIgnoreInhibited=no +#HibernateKeyIgnoreInhibited=no +#LidSwitchIgnoreInhibited=yes +#RebootKeyIgnoreInhibited=no +#HoldoffTimeoutSec=30s +#IdleAction=ignore +#IdleActionSec=30min +#RuntimeDirectorySize=10% +#RuntimeDirectoryInodesMax= +#RemoveIPC=yes +#InhibitorsMax=8192 +#SessionsMax=8192 +#StopIdleSessionSec=infinity diff --git a/etc/elogind/sleep.conf b/etc/elogind/sleep.conf new file mode 100644 index 00000000..0764145f --- /dev/null +++ b/etc/elogind/sleep.conf @@ -0,0 +1,22 @@ +[Sleep] +AllowSuspend=yes +#AllowHibernation=yes +#AllowSuspendThenHibernate=yes +#AllowHybridSleep=yes +#SuspendMode= +#SuspendState=mem standby freeze +#HibernateMode=platform shutdown +#HibernateState=disk +#HybridSleepMode=suspend platform shutdown +#HybridSleepState=disk +#HibernateDelaySec= +#SuspendEstimationSec=60min + +# elogind additions +#AllowPowerOffInterrupts=no +#BroadcastPowerOffInterrupts=yes +#AllowSuspendInterrupts=no +#BroadcastSuspendInterrupts=yes +#SuspendByUsing= +#HibernateByUsing= +#HandleNvidiaSleep=no diff --git a/etc/group b/etc/group new file mode 100644 index 00000000..31b7c24e --- /dev/null +++ b/etc/group @@ -0,0 +1,29 @@ +root:x:0: +bin:x:1:daemon +sys:x:2: +kmem:x:3: +tape:x:4: +tty:x:5: +daemon:x:6: +floppy:x:7: +disk:x:8: +lp:x:9: +dialout:x:10: +audio:x:11:jack +video:x:12:jack +utmp:x:13: +usb:x:14: +cdrom:x:15: +adm:x:16: +messagebus:x:18: +input:x:24:jack +mail:x:34: +kvm:x:61: +uuidd:x:80: +wheel:x:97:jack +users:x:999:jack +nogroup:x:65534: +jack:x:1000: +sshd:x:50: +keyd:x:1001: +polkitd:x:27: diff --git a/etc/hosts b/etc/hosts new file mode 100644 index 00000000..3cff4424 --- /dev/null +++ b/etc/hosts @@ -0,0 +1,2 @@ +127.0.0.1 localhost +127.0.1.1 kepler diff --git a/etc/passwd b/etc/passwd new file mode 100644 index 00000000..7f2da756 --- /dev/null +++ b/etc/passwd @@ -0,0 +1,9 @@ +root:x:0:0:root:/root:/bin/zsh +bin:x:1:1:bin:/dev/null:/usr/bin/false +daemon:x:6:6:Daemon User:/dev/null:/usr/bin/false +messagebus:x:18:18:D-Bus Message Daemon User:/run/dbus:/usr/bin/false +uuidd:x:80:80:UUID Generation Daemon User:/dev/null:/usr/bin/false +nobody:x:65534:65534:Unprivileged User:/dev/null:/usr/bin/false +jack:x:1000:1000::/home/jack:/bin/zsh +sshd:x:50:50:sshd PrivSep:/var/lib/sshd:/bin/false +polkitd:x:27:27:PolicyKit Daemon Owner:/etc/polkit-1:/bin/false diff --git a/home/jack/.fehbg b/home/jack/.fehbg new file mode 100755 index 00000000..e66da3b2 --- /dev/null +++ b/home/jack/.fehbg @@ -0,0 +1,2 @@ +#!/bin/sh +feh --no-fehbg --bg-fill '/home/jack/Pictures/fish.png' diff --git a/home/jack/.xinitrc b/home/jack/.xinitrc new file mode 100755 index 00000000..3d383d02 --- /dev/null +++ b/home/jack/.xinitrc @@ -0,0 +1,14 @@ +#!/bin/sh + +if [ -d /etc/X11/app-defaults/xinitrc.d ] ; then + for f in /etc/X11/app-defaults/xinitrc.d/?*.sh ; do + [ -x "$f" ] && . "$f" + done + unset f +fi + +feh --bg-fill /home/jack/Pictures/fish.png & + +st & + +exec dbus-launch --sh-syntax --exit-with-session /usr/local/bin/dwm diff --git a/home/jack/.zshrc b/home/jack/.zshrc index b196b762..c87b2d2e 100644 --- a/home/jack/.zshrc +++ b/home/jack/.zshrc @@ -1,12 +1,4 @@ #!/bin/zsh -if test -z "${XDG_RUNTIME_DIR}"; then - export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir - if ! test -d "${XDG_RUNTIME_DIR}"; then - mkdir "${XDG_RUNTIME_DIR}" - chmod 0700 "${XDG_RUNTIME_DIR}" - fi -fi - export HISTFILE=~/.zsh_history export HISTSIZE=20000 export SAVEHIST=20000 |