Update Xinit
This commit is contained in:
parent
6df342a9c9
commit
b620cf85bc
@ -1,10 +1,10 @@
|
||||
#+TITLE: Configuration Files
|
||||
|
||||
* Xresources
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.Xresources
|
||||
:header-args+: :comments none :mkdirp yes
|
||||
:END:
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.Xresources
|
||||
:header-args+: :comments none :mkdirp yes
|
||||
:END:
|
||||
|
||||
** Colors
|
||||
#+begin_src conf
|
||||
@ -145,10 +145,10 @@
|
||||
#+end_src
|
||||
|
||||
* Font
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/fontconfig/fonts.conf
|
||||
:header-args+: :comments none :mkdirp yes
|
||||
:END:
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/fontconfig/fonts.conf
|
||||
:header-args+: :comments none :mkdirp yes
|
||||
:END:
|
||||
#+begin_src conf
|
||||
<?xml version='1.0'?>
|
||||
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
|
||||
@ -175,10 +175,10 @@
|
||||
#+end_src
|
||||
|
||||
* Redshift
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/redshift.conf
|
||||
:header-args+: :comments none :mkdirp yes
|
||||
:END:
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/redshift.conf
|
||||
:header-args+: :comments none :mkdirp yes
|
||||
:END:
|
||||
|
||||
#+begin_src conf
|
||||
[redshift]
|
||||
@ -229,10 +229,10 @@
|
||||
#+end_src
|
||||
|
||||
* dmenu
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.dmenurc
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.dmenurc
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
# define the font for dmenu to be used
|
||||
@ -259,10 +259,10 @@
|
||||
|
||||
* GTK
|
||||
** GTK-2.0
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.gtkrc-2.0.mine
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.gtkrc-2.0.mine
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
gtk-theme-name="Arc-Dark"
|
||||
@ -283,10 +283,10 @@
|
||||
#+END_SRC
|
||||
|
||||
** GTK-3.0
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/gtk-3.0/settings.ini
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/gtk-3.0/settings.ini
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
[Settings]
|
||||
@ -308,10 +308,10 @@
|
||||
#+END_SRC
|
||||
|
||||
* Input
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.inputrc
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.inputrc
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
# Single tab for autocompletion
|
||||
@ -321,11 +321,24 @@
|
||||
set completion-ignore-case on
|
||||
#+END_SRC
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
# VI mode (works in bash and zsh)
|
||||
set editing-mode vi
|
||||
|
||||
# Show which mode (normal or insert)
|
||||
set show-mode-in-prompt on
|
||||
|
||||
# Show the mode by changing the cursor
|
||||
set vi-ins-mode-string \1\e[6 q\2
|
||||
set vi-cmd-mode-string \1\e[2 q\2
|
||||
#+END_SRC
|
||||
|
||||
* Xmodmap
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.Xmodmap
|
||||
:header-args+: :comments no :mkdirp yes
|
||||
:END:
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.Xmodmap
|
||||
:header-args+: :comments no :mkdirp yes
|
||||
:END:
|
||||
|
||||
#+begin_src conf
|
||||
keycode 8 =
|
||||
keycode 9 = Escape NoSymbol Escape
|
||||
@ -576,12 +589,13 @@
|
||||
keycode 254 = XF86WWAN NoSymbol XF86WWAN
|
||||
keycode 255 = XF86RFKill NoSymbol XF86RFKill
|
||||
#+end_src
|
||||
|
||||
* xinit
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.xinitrc
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:header-args+: :shebang "#!/bin/sh"
|
||||
:END:
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.xinitrc
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:header-args+: :shebang "#!/bin/sh"
|
||||
:END:
|
||||
|
||||
Start =gnome-keyring-daemon= in order not to be asked for password to unlock GPG key.
|
||||
#+begin_src conf
|
||||
@ -616,69 +630,72 @@ Merge in defaults and keymaps
|
||||
fi
|
||||
#+END_SRC
|
||||
|
||||
Start some nice programs
|
||||
#+BEGIN_SRC conf
|
||||
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
|
||||
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
|
||||
[ -x "$f" ] && . "$f"
|
||||
done
|
||||
unset f
|
||||
fi
|
||||
#+END_SRC
|
||||
Start the Simple X Hotkey Daemon
|
||||
#+begin_src conf
|
||||
# sxhkd -m 1 &
|
||||
#+end_src
|
||||
|
||||
hiDPI
|
||||
#+BEGIN_SRC conf
|
||||
# export GDK_SCALE=1
|
||||
# export GDK_DPI_SCALE=0.95
|
||||
Run background applications
|
||||
#+begin_src conf
|
||||
# # Set custom wallpaper script
|
||||
# $HOME/scripts/wallpapers.sh &
|
||||
|
||||
# export QT_SCREEN_SCALE_FACTORS=0.9
|
||||
# export QT_AUTO_SCREEN_SCALE_FACTOR=2
|
||||
# export QT_SCALE_FACTOR=2
|
||||
#+END_SRC
|
||||
# # Run Compton
|
||||
# compton -b &
|
||||
|
||||
# # Start Network Management Framework
|
||||
# nm-applet &
|
||||
|
||||
# # Hide mouse cursor after x seconds
|
||||
# unclutter --timeout 5 &
|
||||
|
||||
# # Start Power Manager
|
||||
# xfce4-power-manager &
|
||||
|
||||
# # Bluetooth Manager
|
||||
# blueman-applet &
|
||||
|
||||
# # Autolock screen after x minutes
|
||||
# xautolock -locker "~/scripts/lockscreen.sh" -detectsleep -time 30 -notify 60 -notifier "dunstify --replace=31846 -u critical -t 10000 -- 'Locking Screen' '60 seconds'" &
|
||||
|
||||
# # Screen options
|
||||
# xrandr --output eDP1 --mode 1920x1080 --dpi 192 &
|
||||
|
||||
# # Redshift
|
||||
# redshift-gtk &
|
||||
|
||||
# # Start mopidy
|
||||
# mopidy &
|
||||
|
||||
# # Start polybar
|
||||
# $HOME/.config/polybar/scripts/launch.sh &
|
||||
|
||||
# # Synology Cloud Station Drive
|
||||
# synology-drive &
|
||||
|
||||
# # KDEconnect
|
||||
# # udiskie /usr/lib/kdeconnectd &
|
||||
# # Udiskie to automount usb keys
|
||||
# udiskie --automount --notify --tray --use-udisks2 &
|
||||
#+end_src
|
||||
|
||||
Keyboard Options
|
||||
#+begin_src conf
|
||||
# Set repetition keyboard rate
|
||||
xset r rate 200 40
|
||||
# xset r rate 200 40 &
|
||||
# Set International US keyboard layout
|
||||
setxkbmap -layout us -variant intl -option caps:escape
|
||||
setxkbmap -layout us -variant intl -option caps:escape &
|
||||
#+end_src
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
get_session(){
|
||||
local dbus_args=(--sh-syntax --exit-with-session)
|
||||
case $1 in
|
||||
awesome) dbus_args+=(awesome) ;;
|
||||
bspwm) dbus_args+=(bspwm-session) ;;
|
||||
budgie) dbus_args+=(budgie-desktop) ;;
|
||||
cinnamon) dbus_args+=(cinnamon-session) ;;
|
||||
deepin) dbus_args+=(startdde) ;;
|
||||
enlightenment) dbus_args+=(enlightenment_start) ;;
|
||||
fluxbox) dbus_args+=(startfluxbox) ;;
|
||||
gnome) dbus_args+=(gnome-session) ;;
|
||||
i3|i3wm) dbus_args+=(i3 --shmlog-size 0) ;;
|
||||
jwm) dbus_args+=(jwm) ;;
|
||||
kde) dbus_args+=(startkde) ;;
|
||||
lxde) dbus_args+=(startlxde) ;;
|
||||
lxqt) dbus_args+=(lxqt-session) ;;
|
||||
mate) dbus_args+=(mate-session) ;;
|
||||
xfce) dbus_args+=(xfce4-session) ;;
|
||||
openbox) dbus_args+=(openbox-session) ;;
|
||||
,*) dbus_args+=($DEFAULT_SESSION) ;;
|
||||
esac
|
||||
|
||||
echo "dbus-launch ${dbus_args[*]}"
|
||||
}
|
||||
|
||||
exec $(get_session)
|
||||
exec i3
|
||||
#+END_SRC
|
||||
|
||||
* GnuPG
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.gnupg/gpg-agent.conf
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.gnupg/gpg-agent.conf
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
max-cache-ttl 60480000
|
||||
@ -686,10 +703,10 @@ Keyboard Options
|
||||
#+END_SRC
|
||||
|
||||
* Dunst
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/dunst/dunstrc
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/dunst/dunstrc
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
|
||||
** Global
|
||||
#+begin_src conf
|
||||
@ -936,10 +953,10 @@ Keyboard Options
|
||||
timeout = 0
|
||||
#+END_SRC
|
||||
* feh
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/feh/config
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/feh/config
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
next_img L space
|
||||
@ -955,11 +972,12 @@ Keyboard Options
|
||||
#+END_SRC
|
||||
|
||||
* SXIV
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/sxiv/exec/key-handler
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:header-args+: :shebang "#!/usr/bin/env bash"
|
||||
:END:
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/sxiv/exec/key-handler
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:header-args+: :shebang "#!/usr/bin/env bash"
|
||||
:END:
|
||||
|
||||
Press =C-x= to activate to key handler.
|
||||
|
||||
#+begin_src conf
|
||||
@ -980,10 +998,10 @@ Press =C-x= to activate to key handler.
|
||||
|
||||
* MPV
|
||||
** Configuration
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/mpv/mpv.conf
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/mpv/mpv.conf
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
|
||||
*** Video settings
|
||||
#+begin_src conf
|
||||
@ -1085,10 +1103,10 @@ sub-auto=fuzzy
|
||||
#+end_src
|
||||
|
||||
** Key bindings
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/mpv/input.conf
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/mpv/input.conf
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
# =============================================================
|
||||
@ -1292,10 +1310,10 @@ sub-auto=fuzzy
|
||||
# =============================================================
|
||||
#+END_SRC
|
||||
* Zathura
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/zathura/zathurarc
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/zathura/zathurarc
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
# Use clipboard
|
||||
@ -1315,6 +1333,8 @@ sub-auto=fuzzy
|
||||
|
||||
map r reload
|
||||
map R rotate
|
||||
map > rotate
|
||||
map < rotate
|
||||
|
||||
map L zoom in
|
||||
map H zoom out
|
||||
@ -1367,10 +1387,10 @@ sub-auto=fuzzy
|
||||
#+end_src
|
||||
|
||||
* Compton
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/compton.conf
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/compton.conf
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
|
||||
** Shadow
|
||||
#+BEGIN_SRC conf
|
||||
@ -1479,10 +1499,10 @@ sub-auto=fuzzy
|
||||
#+end_src
|
||||
|
||||
* Locale
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/locale.conf
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/locale.conf
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
LANG=en_US.UTF-8
|
||||
@ -1502,10 +1522,10 @@ sub-auto=fuzzy
|
||||
#+END_SRC
|
||||
|
||||
* Mime applications
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/mimeapps.list
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/mimeapps.list
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
[Default Applications]
|
||||
@ -1540,11 +1560,11 @@ sub-auto=fuzzy
|
||||
#+END_SRC
|
||||
|
||||
* Bukurun
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/buku_run/config
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:header-args+: :shebang "#!/usr/bin/env bash"
|
||||
:END:
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/buku_run/config
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:header-args+: :shebang "#!/usr/bin/env bash"
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
_rofi () {
|
||||
@ -1573,10 +1593,10 @@ Colors
|
||||
#+END_SRC
|
||||
|
||||
* Clipit - Clipboard Manager
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/clipit/clipitrc
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/clipit/clipitrc
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
[rc]
|
||||
@ -1607,20 +1627,20 @@ Colors
|
||||
#+END_SRC
|
||||
|
||||
* Scrot
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/i3-scrot.conf
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/i3-scrot.conf
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
scrot_dir=$HOME/Pictures
|
||||
#+END_SRC
|
||||
|
||||
* TODO [#B] Nitrogen
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/nitrogen/nitrogen.cfg
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/nitrogen/nitrogen.cfg
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
[geometry]
|
||||
@ -1638,10 +1658,10 @@ Colors
|
||||
#+END_SRC
|
||||
|
||||
* Pass Git Helper
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/pass-git-helper/git-pass-mapping.ini
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/pass-git-helper/git-pass-mapping.ini
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
[github.com*]
|
||||
@ -1649,10 +1669,10 @@ Colors
|
||||
#+END_SRC
|
||||
|
||||
* Pavu Control
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/pavucontrol.ini
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/pavucontrol.ini
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
[window]
|
||||
@ -1666,10 +1686,10 @@ Colors
|
||||
#+END_SRC
|
||||
|
||||
* PCmanfm
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/pcmanfm/default/pcmanfm.conf
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/pcmanfm/default/pcmanfm.conf
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
[config]
|
||||
@ -1701,10 +1721,10 @@ Colors
|
||||
#+END_SRC
|
||||
|
||||
* Viewnior
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/viewnior/viewnior.conf
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/viewnior/viewnior.conf
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
[prefs]
|
||||
@ -1728,20 +1748,21 @@ Colors
|
||||
desktop=9
|
||||
#+END_SRC
|
||||
* Castnow
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.castnowrc
|
||||
:header-args+: :comments none :mkdirp yes
|
||||
:END:
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.castnowrc
|
||||
:header-args+: :comments none :mkdirp yes
|
||||
:END:
|
||||
|
||||
#+begin_src conf
|
||||
--address=192.168.1.51
|
||||
--volume-step=0.01
|
||||
#+end_src
|
||||
* Alacritty
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/alacritty/alacritty.yml
|
||||
:header-args+: :comments none :mkdirp yes
|
||||
:END:
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/alacritty/alacritty.yml
|
||||
:header-args+: :comments none :mkdirp yes
|
||||
:END:
|
||||
|
||||
#+begin_src conf
|
||||
# Configuration for Alacritty, the GPU enhanced terminal emulator.
|
||||
|
||||
@ -1825,15 +1846,6 @@ scrolling:
|
||||
# scrollback is enabled (history > 0).
|
||||
multiplier: 3
|
||||
|
||||
# Faux Scrolling
|
||||
#
|
||||
# The `faux_multiplier` setting controls the number of lines the terminal
|
||||
# should scroll when the alternate screen buffer is active. This is used
|
||||
# to allow mouse scrolling for applications like `man`.
|
||||
#
|
||||
# Specifying `0` will disable faux scrolling.
|
||||
faux_multiplier: 3
|
||||
|
||||
# Scroll to the bottom when new text is written to the terminal.
|
||||
auto_scroll: false
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user