Last active
September 23, 2021 23:26
-
-
Save KalenAnson/6caf267667b96869472558b1d69505ab to your computer and use it in GitHub Desktop.
Awesome window manager .xinitrc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I like the synergy setup here.