This commit is contained in:
Geoffrey Frogeye 2018-04-15 16:29:27 +02:00
parent 501f1f4066
commit 7fceb52f1d
9 changed files with 67 additions and 57 deletions

View file

@ -1,3 +1,4 @@
#include ".Xresources.d/xft" #include ".Xresources.d/xft"
#include ".Xresources.d/theme" #include ".Xresources.d/theme"
#include ".Xresources.d/xterm" #include ".Xresources.d/xterm"
#include ".Xresources.d/urxvt"

56
Xresources.d/urxvt Normal file
View file

@ -0,0 +1,56 @@
! Scrollback position
! TODO Do not work
! do not scroll with output
URxvt*scrollTtyOutput: false
! scroll in relation to buffer (with mouse scroll or Shift+Page Up)
URxvt*scrollWithBuffer: true
! scroll back to the bottom on keypress
URxvt*scrollTtyKeypress: true
! Scrollback buffer in secondary screen
! TODO Do not work
URxvt.secondaryScreen: 1
URxvt.secondaryScroll: 0
! Font declaration
URxvt.font: xft:DejaVu Sans Mono for Powerline:size=12:antialias=true
! Font spacing
URxvt.letterSpace: 0
! No scroll bar
URxvt*scrollBar: false
! Disable Ctrl+Shift default bindings
URxvt.iso14755: false
URxvt.iso14755_52: false
! Copy/Paste CLIPBOARD selection with Ctrl+Shift+C/V
URxvt.keysym.C-S-C: eval:selection_to_clipboard
URxvt.keysym.C-S-V: eval:paste_clipboard
! Extensions
URxvt.perl-ext-common: default,matcher,resize-font
! Clickable URL (extension: matcher)
URxvt.url-launcher: /usr/bin/xdg-open
URxvt.matcher.button: 1
! Changing font size on the fly (extension: resize-font, package: urxvt-resize-font-git)
URxvt.keysym.C-KP_Subtract: resize-font:smaller
URxvt.keysym.C-KP_Add: resize-font:bigger
! Fake transparency (without compositing manager)
urxvt*transparent: true
urxvt*shading: 30
! True transparency (with compositing manager)
!urxvt*depth: 32
!urxvt*background: rgba:2700/2800/2200/c800

1
bashrc
View file

@ -119,6 +119,7 @@ export PS1="\[\e]2;\u@\h \w\a\]\[\e[0;37m\][\[\e[0;${col}m\]\u\[\e[0;37m\]@\[\e[
export PS2="> " export PS2="> "
export PS3="+ " export PS3="+ "
export PS4="- " export PS4="- "
export PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}:${PWD}\007"'
# CUSTOM SCRIPTS # CUSTOM SCRIPTS

View file

@ -1,53 +0,0 @@
shadow = false;
no-dnd-shadow = true;
no-dock-shadow = true;
clear-shadow = true;
menu-opacity = 0.9;
inactive-opacity = 0.93;
active-opacity = 1;
alpha-step = 0.01;
inactive-dim = 0.0;
blur-background = false;
blur-kern = "3x3box";
fading = false;
fade-delta = 1;
fade-in-step = 0.03;
fade-out-step = 0.03;
fade-exclude = [ ];
backend = "xrender";
mark-wmwin-focused = true;
mark-ovredir-focused = true;
detect-rounded-corners = true;
detect-client-opacity = true;
unredir-if-possible = true;
refresh-rate = 0;
vsync = "none";
dbe = false;
paint-on-overlay = true;
focus-exclude = [ "class_g = 'Cairo-clock'" ];
detect-transient = true;
detect-client-leader = true;
invert-color-include = [ ];
glx-copy-from-front = false;
glx-swap-method = "undefined";
wintypes :
{
tooltip :
{
fade = true;
shadow = false;
opacity = 0.75;
focus = true;
};
fullscreen :
{
fade = true;
shadow = false;
opacity = 1;
focus = true;
};
};

View file

@ -46,7 +46,7 @@ bindsym $mod+dollar exec --no-startup-id ~/.config/i3/sshmenu root
bindsym $mod+d exec --no-startup-id ~/.config/i3/dmenu_run bindsym $mod+d exec --no-startup-id ~/.config/i3/dmenu_run
# Start Applications # Start Applications
bindsym $mod+Return exec xterm bindsym $mod+Return exec urxvtc
bindsym $mod+p exec thunar bindsym $mod+p exec thunar
bindsym $mod+m exec qutebrowser --override-restore --backend=webengine bindsym $mod+m exec qutebrowser --override-restore --backend=webengine
@ -59,8 +59,8 @@ bindsym $mod+F7 exec pactl suspend-sink @DEFAULT_SINK@ 1; exec pactl suspend-sin
bindsym $mod+F8 exec mpc prev bindsym $mod+F8 exec mpc prev
bindsym $mod+F9 exec mpc toggle bindsym $mod+F9 exec mpc toggle
bindsym $mod+F10 exec mpc next bindsym $mod+F10 exec mpc next
bindsym $mod+F11 exec xterm -e 'pacmixer' bindsym $mod+F11 exec urxvtc -e 'pacmixer'
bindsym $mod+F12 exec xterm -e 'pacmixer' bindsym $mod+F12 exec urxvtc -e 'pacmixer'
#Brightness control #Brightness control
bindsym XF86MonBrightnessDown exec xbacklight -dec 20 bindsym XF86MonBrightnessDown exec xbacklight -dec 20
@ -362,6 +362,7 @@ bindsym $mod+F5 exec --no-startup-id xautolock -enable
# Autostart applications # Autostart applications
#exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 # Password remembering #exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 # Password remembering
#exec --no-startup-id gnome-keyring-daemon # Password remembering #exec --no-startup-id gnome-keyring-daemon # Password remembering
exec --no-startup-id urxvtd -q -f # urxvt daemon
exec --no-startup-id numlockx on # Activate Num lock exec --no-startup-id numlockx on # Activate Num lock
exec --no-startup-id unclutter # Hide mouse cursor after some time exec --no-startup-id unclutter # Hide mouse cursor after some time
#exec --no-startup-id dunst # Notifications (handled by systemd) #exec --no-startup-id dunst # Notifications (handled by systemd)

View file

@ -252,7 +252,7 @@ fi
if [ $GUI == 1 ]; then if [ $GUI == 1 ]; then
# Desktop manager # Desktop manager
inst i3 i3lock dunst unclutter xautolock feh numlockx scrot xterm xclip inst i3 i3lock dunst unclutter xautolock feh numlockx scrot rxvt-unicode xclip
curl "https://raw.githubusercontent.com/FortAwesome/Font-Awesome/a8386aae19e200ddb0f6845b5feeee5eb7013687/fonts/fontawesome-webfont.ttf" > ~/.local/share/fonts/fontawesome-webfont.ttf curl "https://raw.githubusercontent.com/FortAwesome/Font-Awesome/a8386aae19e200ddb0f6845b5feeee5eb7013687/fonts/fontawesome-webfont.ttf" > ~/.local/share/fonts/fontawesome-webfont.ttf
if [ $ARCH == 1 ]; then if [ $ARCH == 1 ]; then
inst xorg-xinit inst xorg-xinit

4
scripts/pdfpages Executable file
View file

@ -0,0 +1,4 @@
#!/usr/bin/bash
# From https://stackoverflow.com/a/14736593
pdftk "$1" dump_data | grep NumberOfPages | awk '{print $2}'

BIN
terminfo/rxvt-unicode Normal file

Binary file not shown.

Binary file not shown.