Browse Source

More stuff

master
Taylor Bockman 9 years ago
parent
commit
155dde3daf
  1. 16
      README.md
  2. 8
      dotfiles/config/i3/config
  3. 7
      scripts/sysinstall/install_packages.sh
  4. 7
      scripts/sysinstall/services/10-physlock
  5. 10
      scripts/sysinstall/services/screensaver.service

16
README.md

@ -16,8 +16,6 @@ repository for the same thing. The directory structure is as follows:
Take care with the dotfiles. My configurations change the terminal colors to be solarized dark. If you do not like them
they can be easily changed in the Xresources dotfile.
# Issues
There are of course a things that aren't covered (yet).
@ -32,7 +30,8 @@ There are of course a things that aren't covered (yet).
# Software To Install
Below is a not comprehensive list of software you should install and configure
Below is a not a comprehensive list of software you should install and configure. The *install_packages.sh* script is
a work in progress that will get the system up and running with everything I am using.
## Package Management
@ -50,15 +49,10 @@ background to show the wallpaper. If you use sh instead of zsh, change it approp
## Display
1. xorg
2. xorg-xinit
3. xmonad
4. xmonad-contrib
5. bar
3. i3
## Screen Locking
1. Physlock
## Compositing
1. Compton
1. Physlock
## Fonts
1. infinality-bundle
@ -72,5 +66,5 @@ background to show the wallpaper. If you use sh instead of zsh, change it approp
1. GVim
## Browsing
1. Google Chrome (With a dark theme)
1. Google Chrome

8
dotfiles/config/i3/config

@ -11,6 +11,8 @@
set $mod Mod4
for_window [class="^.*"] border pixel 1
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
font pango:Inconsolata 8
@ -40,6 +42,12 @@ bindsym $mod+t exec urxvt -geometry 80x30 -e htop
# kill focused window
bindsym $mod+Shift+q kill
# Lock screen and TTYs
bindsym $mod+Mod1+l exec physlock -d
# Lock and hibernate
bindsym $mod+Mod1+h exec physlock -d & systemctl hibernate
# start dmenu (a program launcher)
bindsym $mod+d exec dmenu_run
# There also is the (new) i3-dmenu-desktop which only displays applications

7
scripts/sysinstall/install_packages.sh

@ -77,7 +77,14 @@ done
sudo sed -i -e 's/#en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/g' /etc/locale.gen
sudo locale-gen
# TODO: This section
# install dotfiles
# run dotfile installer script
# configure physlock
# copy services/screensaver.service into /etc/systemd/system/ after
# copy services/10-physlock to /etc/pm/sleep.d/10-vlock
# replacing USERNAME with their name via sed.
# remember to use sudo

7
scripts/sysinstall/services/10-physlock

@ -0,0 +1,7 @@
#!/bin/bash
case $1 in
resume | thaw)
physlock -d &
;;
esac

10
scripts/sysinstall/services/screensaver.service

@ -0,0 +1,10 @@
[Unit]
Description=Lock session
Before=sleep.target
[Service]
Type=simple
ExecStart=/usr/bin/physlock -d -u USERNAME
[Install]
WantedBy=sleep.target
Loading…
Cancel
Save