diff options
| author | Mitsuo Tokumori <[email protected]> | 2023-11-24 00:31:06 -0500 |
|---|---|---|
| committer | Mitsuo Tokumori <[email protected]> | 2023-11-24 00:31:06 -0500 |
| commit | e900c217c1e50a4067384c9bb3fe43dff61986c6 (patch) | |
| tree | c12b723d503c2aefa2403aecb9e6488af1eea90c /Xorg | |
| parent | d42c7eeec0ce9af6f9ff5ce501316e6a8c5e43b3 (diff) | |
| download | dotfiles-e900c217c1e50a4067384c9bb3fe43dff61986c6.tar.gz dotfiles-e900c217c1e50a4067384c9bb3fe43dff61986c6.tar.bz2 dotfiles-e900c217c1e50a4067384c9bb3fe43dff61986c6.zip | |
Restructure dirs to mimic XDG base dirs
Non XDG base directories have a leading '_'.
Diffstat (limited to 'Xorg')
| -rw-r--r-- | Xorg/xbindkeysrc | 177 | ||||
| -rw-r--r-- | Xorg/xinitrc | 71 |
2 files changed, 0 insertions, 248 deletions
diff --git a/Xorg/xbindkeysrc b/Xorg/xbindkeysrc deleted file mode 100644 index 9437ef0..0000000 --- a/Xorg/xbindkeysrc +++ /dev/null @@ -1,177 +0,0 @@ -# For the benefit of emacs users: -*- shell-script -*- -########################### -# xbindkeys configuration # -########################### -# -# Version: 1.8.7 -# -# If you edit this file, do not forget to uncomment any lines -# that you change. -# The pound(#) symbol may be used anywhere for comments. -# -# To specify a key, you can use 'xbindkeys --key' or -# 'xbindkeys --multikey' and put one of the two lines in this file. -# -# The format of a command line is: -# "command to start" -# associated key -# -# -# A list of keys is in /usr/include/X11/keysym.h and in -# /usr/include/X11/keysymdef.h -# The XK_ is not needed. -# -# List of modifier: -# Release, Control, Shift, Mod1 (Alt), Mod2 (NumLock), -# Mod3 (CapsLock), Mod4, Mod5 (Scroll). -# - -# The release modifier is not a standard X modifier, but you can -# use it if you want to catch release events instead of press events - -# By defaults, xbindkeys does not pay attention with the modifiers -# NumLock, CapsLock and ScrollLock. -# Uncomment the lines above if you want to pay attention to them. - -#keystate_numlock = enable -#keystate_capslock = enable -#keystate_scrolllock= enable - -# Examples of commands: - -#"xbindkeys_show" -# control+shift + q - -## set directly keycode (here control + f with my keyboard) -#"xterm" -# c:41 + m:0x4 - -## specify a mouse button -#"xterm" -# control + b:2 - -#"xterm -geom 50x20+20+20" -# Shift+Mod2+alt + s -# -## set directly keycode (here control+alt+mod2 + f with my keyboard) -#"xterm" -# alt + c:0x29 + m:4 + mod2 -# -## Control+Shift+a release event starts rxvt -#"rxvt" -# release+control+shift + a -# -## Control + mouse button 2 release event starts rxvt -#"rxvt" -# Control + b:2 + Release - - -# My shortcuts -# ============ - -# Modifier scheme (order: Control,Shift,Alt(Mod1),Super(Mod4)): -# * app-specific: -# * Control, Control+Shift -# * Linux & WM (dwm): -# * Alt, Control+Alt, Shift+Alt -# * user-defined: -# * Mod4 (application launch & audio control) -# * Shift+Mod4 (brightness control & audio control) -# * Control+Mod4 (unused) -# * Alt+Mod4 (unused) -# * unused (4 finger shortcuts): -# * Control+Shift+Alt, Control+Shift+Mod4, Control+Alt+Mod4, Shift+Alt+Mod4 -# * unused (5 finger shortcut): -# * Control+Shift+Alt+Mod4 - -# System -# ------ - -"sudo shutdown 0" - Control+Shift+Alt+Mod4 + s -"sudo reboot" - Control+Shift+Alt+Mod4 + r - -"slock" - Control+Alt + l - -# Audio & brightness control -# Ref.: -# https://wiki.archlinux.org/title/Backlight - -"pactl set-sink-volume '@DEFAULT_SINK@' '+10%'" - Mod4 + k -# XF86AudioRaiseVolume - -"pactl set-sink-volume '@DEFAULT_SINK@' '-10%'" - Mod4 + j -# XF86AudioLowerVolume - -"pactl set-sink-mute '@DEFAULT_SINK@' 'toggle'" - Shift+Mod4 + m -# XF86AudioMute - -"pactl set-source-mute @DEFAULT_SOURCE@ toggle" - Mod4 + m - -# Maybe it'd be a good idea to remove the sudo from here, idk -"sudo xbacklight -inc 10" - Shift+Mod4 + k -# XF86MonBrightnessUp - -"sudo xbacklight -dec 10" - Shift+Mod4 + j -# XF86MonBrightnessDown - -# dwm -# -------------------- - -"dmenu-webshortcuts.sh" - Alt + w - -"dmenu-emojicopy.sh" - Alt + e - -# Launch applications (super + key) -# --------------------------------- - -"st -e tmux" - Mod4 + Return - -"st" - Shift+Mod4 + Return - -"pcmanfm" - Mod4 + e - -"firefox" - Mod4 + w - -"thunderbird" - Mod4 + t - -"goldendict" - Mod4 + g - -"zeal" - Mod4 + h - -# Media control -# ------------- - -"playerctl play-pause" - Mod4 + Down -# XF86AudioPlay -"playerctl stop" - Mod4 + Up -# XF86AudioStop -"playerctl next" - Mod4 + Right -# XF86AudioPrev -"playerctl previous" - Mod4 + Left -# XF86AudioNext - -################################## -# End of xbindkeys configuration # -################################## diff --git a/Xorg/xinitrc b/Xorg/xinitrc deleted file mode 100644 index 6268abc..0000000 --- a/Xorg/xinitrc +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/sh - -# This first part is copied from /etc/X11/xinit/xinitrc -# -# Start X with `$ xstart` -# See startx(1) and xinit(1) - - -userresources=$HOME/.Xresources -usermodmap=$HOME/.Xmodmap -sysresources=/etc/X11/xinit/.Xresources -sysmodmap=/etc/X11/xinit/.Xmodmap - -# merge in defaults and keymaps - -if [ -f $sysresources ]; then - xrdb -merge $sysresources -fi - -if [ -f $sysmodmap ]; then - xmodmap $sysmodmap -fi - -if [ -f "$userresources" ]; then - xrdb -merge "$userresources" -fi - -if [ -f "$usermodmap" ]; then - xmodmap "$usermodmap" -fi - -# Load necessary X11 configuration - -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 - -# Setup and start Desktop Environment -# ====================================================================== - -# fcitx (CJK and emoji input method) -export GTK_IM_MODULE=fcitx -export QT_IM_MODULE=fcitx -export XMODIFIERS=@im=fcitx - -xrandr --dpi 144 # Original mac: 72, stupid windows: 96 pulse15: 188 -laptop-xinput_setup.sh -xbindkeys # keyboard shortcuts -setxkbmap -option caps:escape # map CAPSLOCK to ESC - -# Start twm -#twm & -#xclock -geometry 50x50-1+1 & -#xterm -geometry 80x50+494+51 & -#xterm -geometry 80x20+494-0 & -#exec xterm -geometry 80x66+0+0 -name login - -# Start Plasma -# Start KDE Plasma (DE) -#export DESKTOP_SESSION=plasma -#exec startplasma-x11 - -# Start xfce4 -#startxfce4 - -# Start dwm -xautolock -time 10 -locker slock & -exec dwm |
