Permalink
Browse files

switch from gnome-settings-daemon to xsettingsd

...seems like a more lightweight way of providing various settings to
Gtk apps (and maybe other stuff? I'm not sure).

Various other font tweaks and such in this commit.
  • Loading branch information...
1 parent 829248b commit 3d055a3796b2e99a865304918771764c04ee7923 @brennen committed Jan 10, 2017
Showing with 64 additions and 20 deletions.
  1. +3 −3 home/.Xresources
  2. +3 −0 home/.gitconfig
  3. +1 −1 home/.sh_common
  4. +1 −1 home/.xmobarrc
  5. +4 −3 home/.xmonad/xmonad.hs
  6. +50 −0 home/.xsettingsd
  7. +2 −12 home/bin/xmonad.start
View
@@ -1,4 +1,4 @@
-! https://lists.debian.org/debian-user/2005/09/msg01385.html
+ https://lists.debian.org/debian-user/2005/09/msg01385.html
urxvt*buffered: true
urxvt*cursorBlink: true
urxvt*underlineColor: yellow
@@ -9,8 +9,8 @@ urxvt*font: -*-terminesspowerline-*-*-*-*-28-*-*-*-*-*-*-*, \
xft:DejaVu\ Sans\ Mono\ for\ Powerline:style=Book:pixelsize=28:antialias=true:hinting=slight, \
xft:Lohit\ Kannada:style=Regular:pixelsize=16:antialias=true:hinting=slight
! Emacs.font: -*-terminesspowerline-*-*-*-*-28-*-*-*-*-*-*-*
-XTerm*faceSize: 14
-UXTerm*faceSize: 14
+XTerm*faceSize: 18
+UXTerm*faceSize: 18
#else
urxvt*font: -*-terminesspowerline-*-*-*-*-16-*-*-*-*-*-*-*, \
xft:DejaVu\ Sans\ Mono\ for\ Powerline:style=Book:pixelsize=16:antialias=true:hinting=slight, \
View
@@ -33,3 +33,6 @@
[gui]
[push]
default = simple
+[gui]
+ fontui = -family \"DejaVu Sans\" -size 26 -weight normal -slant roman -underline 0 -overstrike 0
+ fontdiff = -family \"DejaVu Sans Mono\" -size 22 -weight normal -slant roman -underline 0 -overstrike 0
View
@@ -8,7 +8,7 @@
#
# Beware that other modifications to path might be made in .zshrc or .bashrc
export GOPATH=~/gocode
-export PATH=~/code/ansible/bin:~/firefox:~/bin:/usr/local/bin:~/.local/bin/:$PATH:$GOPATH/bin:~/.chefdk/gem/ruby/2.3.0/bin
+export PATH=~/code/ansible/bin:~/firefox:~/bin:~/.xmonad:/usr/local/bin:~/.local/bin/:$PATH:$GOPATH/bin:~/.chefdk/gem/ruby/2.3.0/bin
# Needed for ansible - wouldn't surprise me if this interfered with other
# things:
View
@@ -1,4 +1,4 @@
-Config { font = "xft:Bitstream Vera Sans Mono:size=9:antialias=true"
+Config { font = "xft:Bitstream Vera Sans Mono:size=23:antialias=true"
, bgColor = "darkgreen"
, fgColor = "grey"
, position = BottomW L 90
@@ -53,12 +53,12 @@ colorAqua = "#8abeb7"
colorBlue = "#81a2be"
colorPurple = "#b294bb"
-myTerminal = "xterm"
+myTerminal = "konsole"
-- i3lock is a locking mechanism presumably designed originally for i3.
-- It has a nice little input indicator thingy, and with -i can show an
-- image:
-myLockScreen = "i3lock"
+myLockScreen = "i3lock --image tree_bg.png"
-- rofi is a launcher similar to dmenu, with some neat extra features.
-- It's in Debian - apt-get install rofi
@@ -98,7 +98,8 @@ myTabConfig = defaultTheme
, inactiveColor = colorBackground
, inactiveTextColor = colorComment
, activeTextColor = colorForeground
- , fontName = "xft: Droid Sans 34"
+ , fontName = "xft: Droid Sans 20"
+ , decoHeight = 50
}
myLayout = avoidStruts
View
@@ -0,0 +1,50 @@
+Gdk/UnscaledDPI 127795
+Net/CursorBlink 1
+Gtk/RecentFilesMaxAge -1
+Xft/DPI 255590
+Net/EnableInputFeedbackSounds 0
+Gtk/FontName "Cantarell 11"
+Net/DoubleClickTime 400
+Gtk/ShellShowsAppMenu 0
+Xft/Hinting 1
+Gtk/Modules "canberra-gtk-module"
+Gtk/IMStatusStyle "callback"
+Gtk/CursorThemeName "Adwaita"
+Gtk/IMModule "gtk-im-context-simple"
+Gtk/CanChangeAccels 0
+Gtk/ToolbarStyle "both-horiz"
+Xft/RGBA "none"
+Gtk/ColorPalette "black:white:gray50:red:purple:blue:light blue:green:yellow:orange:lavender:brown:goldenrod4:dodger blue:pink:light green:gray10:gray30:gray75:gray90"
+Gtk/ShowUnicodeMenu 0
+Net/EnableEventSounds 1
+Gtk/ToolbarIconSize "large"
+Gtk/MenuBarAccel "F10"
+Gtk/ShellShowsDesktop 0
+Xft/HintStyle "hintslight"
+Gtk/ButtonImages 0
+Gtk/IMPreeditStyle "callback"
+Gtk/TitlebarMiddleClick "none"
+Gtk/TimeoutInitial 200
+Gtk/EnablePrimaryPaste 1
+Gtk/TitlebarRightClick "menu"
+Xft/Antialias 1
+Gdk/WindowScalingFactor 2
+Gtk/KeynavUseCaret 0
+Gtk/CursorBlinkTimeout 10
+Gtk/MenuImages 0
+Net/DndDragThreshold 8
+Gtk/ColorScheme ""
+Gtk/DialogsUseHeader 1
+Gtk/CursorThemeSize 48
+Gtk/KeyThemeName "Default"
+Gtk/RecentFilesEnabled 1
+Gtk/EnableAnimations 1
+Net/SoundThemeName "freedesktop"
+Gtk/AutoMnemonics 1
+Gtk/ShowInputMethodMenu 0
+Net/ThemeName "Adwaita"
+Net/CursorBlinkTime 1200
+Gtk/DecorationLayout "menu:minimize,maximize,close"
+Net/IconThemeName "Adwaita"
+Net/FallbackIconTheme "gnome"
+Gtk/TimeoutRepeat 20
View
@@ -4,15 +4,12 @@
# should be pointed at by /usr/share/xsessions/xmonad.desktop. Lately I have
# just been keeping it in ~/bin.
-# This might not work correctly on anything besides Ubuntu 15.10.
-
-# Unity is hot garbage
-# unity-settings-daemon &
-gnome-settings-daemon &
+# gnome-settings-daemon &
# Load resources
xrdb -merge .Xresources
xmodmap ~/.xmodmap
+xsettingsd &
# Set up an icon tray
trayer --SetDockType true --SetPartialStrut true --edge bottom --align right --widthtype percent --width 10 --height 40 --alpha 10 --tint "0x00ff00" &
@@ -32,13 +29,6 @@ if [ -x /usr/bin/nm-applet ] ; then
nm-applet --sm-disable &
fi
-# You might want this on a laptop, or at any rate there was a time when you
-# might have.
-if [ -x /usr/bin/gnome-power-manager ] ; then
- sleep 3
- gnome-power-manager &
-fi
-
# compton -b
exec xmonad-session

0 comments on commit 3d055a3

Please sign in to comment.