diff options
Diffstat (limited to '.config/X11')
-rw-r--r-- | .config/X11/Xresources | 148 | ||||
-rw-r--r-- | .config/X11/xbindkeysrc | 107 | ||||
-rwxr-xr-x[-rw-r--r--] | .config/X11/xinitrc | 26 |
3 files changed, 195 insertions, 86 deletions
diff --git a/.config/X11/Xresources b/.config/X11/Xresources index 375087d..d551748 100644 --- a/.config/X11/Xresources +++ b/.config/X11/Xresources @@ -2,114 +2,116 @@ ! URxvt Settings ! ----------------- -URxvt.perl-ext-common: default,matcher,font-size,vtwheel,keyboard-select +URxvt.cursorBlink: 1 +URxvt.cursorUnderline: 0 +URxvt.geometry: 80x18 +URxvt.internalBorder: 10 +URxvt.keysym.C-0: perl:font-size:reset +URxvt.keysym.C-Down: perl:font-size:decrease +URxvt.keysym.C-Up: perl:font-size:increase +URxvt.keysym.M-Escape: perl:keyboard-select:activate +URxvt.matcher.button: 1 +URxvt.perl-ext-common: default,matcher,font-size,vtwheel,url-select,keyboard-select,-confirm-paste +URxvt.scrollBar: false +URxvt.scrollTtyKeypress: true +URxvt.scrollTtyOutput: false +URxvt.scrollWithBuffer: true +URxvt.shading: 20 +URxvt.transparent: false +URxvt.url-launcher: /usr/bin/env xdg-open +URxvt.url-select.launcher: /usr/bin/env xdg-open + +URxvt.boldFont: xft:monospace:size=10,xft:DejaVuSansMono Nerd Font Mono:size=10 +URxvt.boldItalicFont: xft:monospace:size=10,xft:DejaVuSansMono Nerd Font Mono:size=10 +URxvt.font: xft:monospace:size=10,xft:DejaVuSansMono Nerd Font Mono:size=10 +URxvt.italicFont: xft:monospace:size=10,xft:DejaVuSansMono Nerd Font Mono:size=10 -URxvt.url-launcher: /usr/bin/env firefox -URxvt.url-select.launcher: /usr/bin/env firefox -URxvt.keysym.M-Escape: perl:keyboard-select:activate - -URxvt.matcher.button: 1 -URxvt.internalBorder: 10 -URxvt.geometry: 74x18 - -URxvt.cursorUnderline: 0 -URxvt.cursorBlink: 1 -URxvt.cursorColor: #69AEFF - -URxvt*font: xft:monospace:size=10,xft:DejaVuSansMono Nerd Font Mono:size=10 -URxvt.boldFont: xft:monospace:size=10,xft:DejaVuSansMono Nerd Font Mono:size=10 -URxvt.italicFont: xft:monospace:size=10,xft:DejaVuSansMono Nerd Font Mono:size=10 -URxvt.boldItalicFont: xft:monospace:size=10,xft:DejaVuSansMono Nerd Font Mono:size=10 - -URxvt.keysym.C-0: perl:font-size:reset -URxvt.keysym.C-Up: perl:font-size:increase -URxvt.keysym.C-Down: perl:font-size:decrease - -URxvt.scrollBar: false -URxvt.scrollTtyOutput: false -URxvt.scrollWithBuffer: true -URxvt.scrollTtyKeypress: true - -URxvt.transparent: false -URxvt.shading: 20 +! ----------------- +! UXTerm Settings +! ----------------- -URxvt.foreground: #FFFFFF -URxvt.background: #2C303C -URxvt.colorUL: #66A9B9 +UXTerm.termName: xterm-256color +UXTerm.ttyModes: erase ^? +UXTerm.vt100.backarrowKey: false +UXTerm.vt100.cursorBlink: true +UXTerm.vt100.faceName: xft:monospace:size=10,xft:DejaVuSansMono Nerd Font Mono:size=10 +UXTerm.vt100.fastScroll: true +UXTerm.vt100.geometry: 80x18 +UXTerm.vt100.internalBorder: 10 +UXTerm.vt100.jumpScroll: true +UXTerm.vt100.locale: false +UXTerm.vt100.metaSendsEscape: true +UXTerm.vt100.multiScroll: true +UXTerm.vt100.saveLines: 4096 +UXTerm.vt100.utf8: true ! ----------------- ! Terminal Colors ! ----------------- +*colorUL: #8fc1ff +*cursorColor: #69aeff + +*foreground: #ffffff +*background: #2c303c + !black -*color0: #2C303C -*color8: #666666 +*color0: #2c303c +*color8: #999999 !red -*color1: #E84F4F -*color9: #FF3838 +*color1: #ed7373 +*color9: #ff6666 !green -*color2: #BEFF3E -*color10: #CFFF72 +*color2: #beff3e +*color10: #cfff72 !yellow -*color3: #FEA63C -*color11: #FFDF23 +*color3: #feac48 +*color11: #ffdf23 !blue -*color4: #69AEFF -*color12: #5AA5FF +*color4: #80c6ff +*color12: #5aa5ff !magenta -*color5: #B7416E -*color13: #E16A98 +*color5: #b7416e +*color13: #e16a98 !cyan -*color6: #69AEFF -*color14: #8B8B8B +*color6: #69aeff +*color14: #9fc1dd !white -*color7: #FFFFFF -*color15: #FFFFFF +*color7: #eeeeee +*color15: #ffffff ! ----------------- ! Font Settings ! ----------------- -Xft.autohint: 0 +Xft.autohint: 0 Xft.antialias: 1 -Xft.hinting: 1 +Xft.hinting: 1 +Xft.dpi: 96 +Xft.rgba: rgb Xft.hintstyle: hintslight -Xft.dpi: 96 -Xft.rgba: rgb Xft.lcdfilter: lcddefault ! ----------------- -! ROFI Settings -! ----------------- - -rofi.bw: 0 -rofi.color-enabled: true -rofi.hide-scrollbar: true -rofi.separator-style: none -rofi.disable-history: false -rofi.fake-transparency: false - -rofi.color-window: argb:cc222222, #FAC863, #FAC863 -rofi.color-normal: argb:00000000, #FFFFFF, argb:00000000, #FAC863, #1B2B34 -rofi.color-active: argb:00000000, #FFFFFF, argb:00000000, #6699CC, #1B2B34 -rofi.color-urgent: argb:00000000, #F99157, argb:00000000, #F99157, #1B2B34 - -! ----------------- ! DMENU Settings ! ----------------- -dmenu.background: #000000 -dmenu.foreground: #ffffff -dmenu.selforeground: #000000 -dmenu.selbackground: #1b99ec -dmenu.font: xft:Sans:size=9:style=bold +dmenu.font: xft:Sans:size=10:style=bold +dmenu.foreground: #80c6ff +dmenu.selforeground: #75c277 +dmenu.selhiforeground: #ffffff +dmenu.normhiforeground: #75c277 +dmenu.background: #111111 +dmenu.selbackground: #111111 +dmenu.selhibackground: #111111 +dmenu.normhibackground: #111111 ! ----------------- ! X Settings diff --git a/.config/X11/xbindkeysrc b/.config/X11/xbindkeysrc new file mode 100644 index 0000000..a8605fe --- /dev/null +++ b/.config/X11/xbindkeysrc @@ -0,0 +1,107 @@ +# quake terminal +"dropdown-terminal" + Mod4 + q + +# program launcher +"dmenu_run_history" + Mod4 + r + +# privilege launcher +"dmenu_run_history privilege" + Mod4 + e + +# terminal launcher +"dmenu_run_history terminal" + Mod4 + w + +# zoom application +"sh -c 'notify-send Zoom && boomer'" + Mod4 + x + +# close active window +"wmctrl -c :ACTIVE:" + Mod4 + Shift + c + +# toggle ontop active window +"wmctrl -r :ACTIVE: -b toggle,above" + Mod4 + t + +# show bookmarks +"bookmarks show $HOME/Shares/Projects/bookmarks/archives/bookmarks-old.html" + Mod4 + g + +# clipboard toggle +"clipboard" + Mod4 + z + +# text plumber +"plumber-dmenu" + Mod4 + i + +# pass menu +"pass-menu" + Mod4 + d + +# file search +"file-search" + Mod4 + p + +# window switcher +"window-switcher" + Alt + Tab + +# window overview +"window-overview" + Mod4 + Tab + +# file search +"internet-search" + Mod4 + a + +# volume up +"volume-control up" + XF86AudioRaiseVolume + +# volume down +"volume-control down" + XF86AudioLowerVolume + +# volume mute +"volume-control mute" + XF86AudioMute + +# lock screen +"lockscreen" + XF86ScreenSaver + +# snipping tool +"snipping-tool" + Print + +# switch monitor +"switch-monitor" + XF86Display + +# screen record +"peek" + Alt + Print + +# flameshot screenshots +"flameshot gui" + Control + Print + +# shortcut key check +"urxvt -hold -e xbindkeys --multikey -f $HOME/.config/xbindkeysrc" + Shift + Mod4 + b + +# terminal +"urxvt" + Mod4 + Return + +# terminal tabbed +"urxvt -pe tabbed" + Control + Mod4 + Return + +# terminal multiplexer +"urxvt -e tmux attach" + Alt + Mod4 + Return diff --git a/.config/X11/xinitrc b/.config/X11/xinitrc index 302b56e..116c9da 100644..100755 --- a/.config/X11/xinitrc +++ b/.config/X11/xinitrc @@ -1,27 +1,27 @@ -#!/bin/sh +#!/bin/sh -eu -userresources=$HOME/.config/X11/Xresources -usermodmap=$HOME/.config/X11/Xmodmap +Xmodmap=$HOME/.config/X11/Xmodmap +Xresources=$HOME/.config/X11/Xresources +Xauthority=$HOME/.config/X11/Xauthority # merge in defaults and keymaps -[ -f "$userresources" ] && xrdb -merge "$userresources"; -[ -f "$usermodmap" ] && xmodmap "$usermodmap"; +[ -f "$Xmodmap" ] && xmodmap "$Xmodmap" +[ -f "$Xresources" ] && xrdb -merge "$Xresources" # screen timeouts xset s 0 0 & xset dpms 3600 3600 3600 & # set cursor -xsetroot -cursor_name left_ptr; +xsetroot -cursor_name left_ptr # set keypress repeat -xset r rate 200 60; - -# generate xauth -xauth generate :0 . trusted; +xset r rate 200 60 # import systemctl environment -systemctl --user import-environment; +systemctl --user import-environment -# Run awesome -exec awesome --no-argb; +# launch environment +dbus-launch xfce4-session \ + || dbus-broker-launch xfce4-session \ + || exec awesome --no-argb |