...
 
Commits (4)
# -*- cperl -*-
#set_opt 'debug', 'true';
#set_opt 'dryrun', 'true';
#set_opt 'verbose', 'true';
......@@ -39,6 +41,11 @@ register { glob => 'xkb/compat/*',
post_glob => sub { return remove_hashes( remove_tilde(@_) ) },
destination => '~/.xkb/compat' };
register { glob => 'xdg/user-dirs.dirs',
method => 'symlink',
post_glob => sub { return remove_hashes( remove_tilde(@_) ) },
destination => '~/.config' };
add_hook( { type => 'shell-inline',
event => 'pre-deploy',
code => 'make' } );
......
......@@ -12,7 +12,7 @@ use warnings;
use Math::Round;
my @ramp = ( 1, 2, 4, 8, 16, 24, 32, 40, 60, 80, 100 );
my $default = $#ramp - 1;
my $default = $#ramp - 3;
# Take a backlight value and return the nearest entry from @ramp.
sub current2index {
......
......@@ -44,7 +44,7 @@ urxvt.utmpInhibit: true
!!! xterm setup
XTerm*VT100*font: terminus-14
XTerm*faceName: DejaVu Sans Mono
XTerm*faceSize: 11
XTerm*faceSize: 13
!XTerm*faceName: Inconsolata
!XTerm*faceSize: 13
XTerm*renderfont: true
......
......@@ -14,7 +14,7 @@ sub is_http_like_uri {
sub existing_firefox_new_tab {
my ($uri) = @_;
system(('chromium', '-new-tab', $uri));
system(('firefox', '-p', 'generic', $uri));
}
register_handler({ test => \&is_http_like_uri,
......
# -*- shell-script -*-
#
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run.
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
XDG_DESKTOP_DIR="$HOME/xdg/Desktop"
XDG_DOWNLOAD_DIR="$HOME/xdg/Downloads"
XDG_TEMPLATES_DIR="$HOME/xdg/Templates"
XDG_PUBLICSHARE_DIR="$HOME/xdg/Public"
XDG_DOCUMENTS_DIR="$HOME/xdg/Documents"
XDG_MUSIC_DIR="$HOME/xdg/Music"
XDG_PICTURES_DIR="$HOME/xdg/Pictures"
XDG_VIDEOS_DIR="$HOME/xdg/Videos"