Skip to content

Instantly share code, notes, and snippets.

@KalenAnson
Last active September 23, 2021 23:26
Show Gist options
  • Save KalenAnson/6caf267667b96869472558b1d69505ab to your computer and use it in GitHub Desktop.
Save KalenAnson/6caf267667b96869472558b1d69505ab to your computer and use it in GitHub Desktop.
Awesome window manager .xinitrc
#!/bin/bash
# ø
# Place this file in the following location:
# $HOME/.xinitrc
# Disable bell
xset -b
# Disable all Power Saving Stuff
xset -dpms
xset s off
# X Root window color
xsetroot -solid darkgrey
# Merge resources (optional)
#xrdb -merge $HOME/.Xresources
# Caps to Ctrl, no caps
setxkbmap -layout us -option ctrl:nocaps
# Background Image (optional)
# feh --bg-scale ~/Desktop/bg2.jpg
# Launch a terminal session
xterm &
# Connect to a synergy server (set IP address)
SRV="192.168.1.0"
if ping -c 1 $SRV &> /dev/null
then
synergyc $SRV &
else
echo "No synergy server detected at $SRV"
fi
# Launch awesome
exec awesome
@reginaldbuxley
Copy link

I like the synergy setup here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment