mirror of
				https://github.com/frebib/dotfiles.git
				synced 2024-06-14 12:57:23 +00:00 
			
		
		
		
	dotfiles: move .config/* to root
This seems to make more sense. Almost all files were within .config anyway. Signed-off-by: Joe Groocock <me@frebib.net>
This commit is contained in:
		
							
								
								
									
										15
									
								
								X11/xbindkeysrc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								X11/xbindkeysrc
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
# thumb wheel up => increase volume and unmute
 | 
			
		||||
"xdotool key --clearmodifiers XF86AudioRaiseVolume"
 | 
			
		||||
   b:6
 | 
			
		||||
 | 
			
		||||
# thumb wheel down => lower volume
 | 
			
		||||
"xdotool key --clearmodifiers XF86AudioLowerVolume"
 | 
			
		||||
   b:7
 | 
			
		||||
 | 
			
		||||
# backward button => previous song
 | 
			
		||||
"xte 'key XF86AudioPrev'"
 | 
			
		||||
   b:8
 | 
			
		||||
 | 
			
		||||
# forward button => next song
 | 
			
		||||
"xte 'key XF86AudioNext'"
 | 
			
		||||
   b:9
 | 
			
		||||
							
								
								
									
										22
									
								
								X11/xinitrc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								X11/xinitrc
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,22 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
 | 
			
		||||
# Run all system xinitrc shell scripts
 | 
			
		||||
xinitdir="/etc/X11/xinit/xinitrc.d"
 | 
			
		||||
if [ -d "$xinitdir" ]; then
 | 
			
		||||
    for script in $xinitdir/*; do
 | 
			
		||||
        echo "Loading xinit script $script"
 | 
			
		||||
        if [ -x "$script" -a ! -d "$script" ]; then
 | 
			
		||||
            . "$script"
 | 
			
		||||
        fi
 | 
			
		||||
    done
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
# Source generic xprofile stuff
 | 
			
		||||
source "$(dirname "${BASH_SOURCE[0]}")/xprofile"
 | 
			
		||||
 | 
			
		||||
# Start the gnome-keyring if it's installed
 | 
			
		||||
if exists gnome-keyring-daemon; then
 | 
			
		||||
    export $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh,gnupg)
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
exec i3
 | 
			
		||||
							
								
								
									
										23
									
								
								X11/xprofile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								X11/xprofile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
			
		||||
#!/bin/sh -u
 | 
			
		||||
 | 
			
		||||
# Graphical-specific environment variables
 | 
			
		||||
export TERMINAL="alacritty"
 | 
			
		||||
export BROWSER="firefox"
 | 
			
		||||
 | 
			
		||||
export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel"
 | 
			
		||||
export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/settings.ini"
 | 
			
		||||
export QT_QPA_PLATFORMTHEME=qt5ct
 | 
			
		||||
# https://www.reddit.com/r/linux/comments/72mfv8/psa_for_firefox_users_set_moz_use_xinput21_to/
 | 
			
		||||
export MOZ_USE_XINPUT2=1 # enable pixel-accurate scrolling in firefox
 | 
			
		||||
export XDG_CURRENT_DESKTOP="GNOME" # Fixes xdg-open
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# Load Xorg resources and set the DPI
 | 
			
		||||
xrdb -merge $XDG_CONFIG_HOME/X11/xresources
 | 
			
		||||
xrandr --dpi $(xrdb -query | grep -i xft.dpi | cut -d: -f2)
 | 
			
		||||
 | 
			
		||||
setxkbmap -option caps:none
 | 
			
		||||
xset r rate 200 18
 | 
			
		||||
 | 
			
		||||
test -f "$XDG_CONFIG_HOME"/X11/xmodmap && \
 | 
			
		||||
    xmodmap "$XDG_CONFIG_HOME"/X11/xmodmap
 | 
			
		||||
							
								
								
									
										89
									
								
								X11/xresources
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										89
									
								
								X11/xresources
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,89 @@
 | 
			
		||||
! Colour order:
 | 
			
		||||
!   black
 | 
			
		||||
!   red
 | 
			
		||||
!   green
 | 
			
		||||
!   yellow
 | 
			
		||||
!   blue
 | 
			
		||||
!   magenta
 | 
			
		||||
!   cyan
 | 
			
		||||
!   white/gray
 | 
			
		||||
 | 
			
		||||
! Normal colours
 | 
			
		||||
*.color0:       #333638
 | 
			
		||||
*.color1:       #f41f1c
 | 
			
		||||
*.color2:       #8bc34a
 | 
			
		||||
*.color3:       #ffc107
 | 
			
		||||
*.color4:       #0266f4
 | 
			
		||||
*.color5:       #cc17cc
 | 
			
		||||
*.color6:       #10aeba
 | 
			
		||||
*.color7:       #8b9396
 | 
			
		||||
 | 
			
		||||
! Bright colours
 | 
			
		||||
*.color8:       #475760
 | 
			
		||||
*.color9:       #e53727
 | 
			
		||||
*.color10:      #9ccc65
 | 
			
		||||
*.color11:      #ffa000
 | 
			
		||||
*.color12:      #81b3f9
 | 
			
		||||
*.color13:      #a56ecc
 | 
			
		||||
*.color14:      #5ddae2
 | 
			
		||||
*.color15:      #eceff1
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Xft.dpi:        96
 | 
			
		||||
Xft.antialias:  true
 | 
			
		||||
Xft.rgba:       rgb
 | 
			
		||||
Xft.hinting:    true
 | 
			
		||||
Xft.hintstyle:  hintfull
 | 
			
		||||
Xft.lcdfilter:  lcddefault
 | 
			
		||||
 | 
			
		||||
Xcursor.theme: Breeze_Obsidian
 | 
			
		||||
 | 
			
		||||
!!======================!!
 | 
			
		||||
!! RXVT-unicode setting !!
 | 
			
		||||
!!======================!!
 | 
			
		||||
 | 
			
		||||
urxvt.depth:                32
 | 
			
		||||
urxvt.internalBorder:       16
 | 
			
		||||
urxvt.blurRadius:           25
 | 
			
		||||
urxvt.saveLines:            10000
 | 
			
		||||
urxvt.preeditType:          Root
 | 
			
		||||
 | 
			
		||||
urxvt.scrollBar:            false
 | 
			
		||||
urxvt.jumpScroll:           false
 | 
			
		||||
urxvt.scrollTtyOutput:      false
 | 
			
		||||
urxvt.scrollWithBuffer:     true
 | 
			
		||||
urxvt.scrollTtyKeypress:    true
 | 
			
		||||
 | 
			
		||||
urxvt.altSendsEscape:       true
 | 
			
		||||
xterm.metaSendsEscape:      true
 | 
			
		||||
 | 
			
		||||
urxvt.termName:             xterm-256color
 | 
			
		||||
 | 
			
		||||
urxvt.font:                 xft:Source Code Pro:style=regular:size=9
 | 
			
		||||
urxvt.imFont:               xft:Source Code Pro:style=regular:size=9
 | 
			
		||||
urxvt.boldFont:             xft:Source Code Pro:style=bold:size=9
 | 
			
		||||
urxvt.italicFont:           xft:Source Code Pro:style=italic:size=9
 | 
			
		||||
urxvt.boldItalicFont:       xft:Source Code Pro:style=bold,italic:size=9
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
urxvt.iso14755:             false
 | 
			
		||||
urxvt.iso14755_52:          false
 | 
			
		||||
urxvt.perl-ext-common:      default,vtwheel,font-size
 | 
			
		||||
urxvt.url-launcher:         /usr/bin/firefox
 | 
			
		||||
urxvt.matcher.button:       1
 | 
			
		||||
 | 
			
		||||
urxvt.keysym.C-Up:          font-size:increase
 | 
			
		||||
urxvt.keysym.C-Down:        font-size:decrease
 | 
			
		||||
urxvt.keysym.C-equal:       font-size:reset
 | 
			
		||||
urxvt.keysym.C-slash:       font-size:show
 | 
			
		||||
 | 
			
		||||
! special
 | 
			
		||||
*.foreground:               #ECEFF1
 | 
			
		||||
*.background:               #002B36
 | 
			
		||||
*.cursorColor:              #5294E2
 | 
			
		||||
*.highlightColor:           #5294E2
 | 
			
		||||
urxvt.background:           [95]#383C4A
 | 
			
		||||
urxvt.scrollColor:          #767B87
 | 
			
		||||
urxvt.dynamicColors:        on
 | 
			
		||||
urxvt.highlightSelection:   true
 | 
			
		||||
urxvt.colorMode:            on
 | 
			
		||||
		Reference in New Issue
	
	Block a user