From 6e4a719dd1207f7d3cd9e1c65c103b280769505f Mon Sep 17 00:00:00 2001 From: dakkar Date: Wed, 17 Jun 2015 15:26:57 +0100 Subject: a few more files (from work) --- .Xdefaults | 135 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .aspell.conf | 4 ++ .gtkrc.mine | 11 +++++ .xinitrc | 18 ++++++++ .xsession | 1 + 5 files changed, 169 insertions(+) create mode 100644 .Xdefaults create mode 100644 .aspell.conf create mode 100644 .gtkrc.mine create mode 100755 .xinitrc create mode 120000 .xsession diff --git a/.Xdefaults b/.Xdefaults new file mode 100644 index 0000000..0bd54f4 --- /dev/null +++ b/.Xdefaults @@ -0,0 +1,135 @@ +! Parts (C) 1996 By Greg J. Badros +! You may use this file as specified under the GNU General Public License + +Xcursor.theme: justblue + +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +! emacs, xemacs + +!emacs*Background: rgb:45/63/86 +emacs*Background: rgb:20/20/20 +emacs*Foreground: Wheat +emacs*pointerColor: White +emacs*cursorColor: White +emacs*bitmapIcon: on +Emacs.FontBackend: x,xft +emacs*font: inconsolata-12 +!emacs*font: -misc-fixed-medium-r-semicondensed-*-*-120-*-*-c-*-iso10646-1 +emacs.geometry: 80x25 + +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +! xterm (and friends) + +XTerm*highlightSelection: true +!XTerm*boldFont: -misc-fixed-bold-r-normal--18-120-100-100-c-90-iso10646-1 +!XTerm*font: -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1 +!XTerm*font: -*-fixed-medium-r-normal--13-*-75-*-*-*-iso10646-1 +!XTerm*wideFont: -*-fixed-medium-r-normal-ja-13-*-75-*-*-*-iso10646-1 +XTerm*foreground: white +!XTerm*background: rgb:45/63/86 +XTerm*background: rgb:10/10/10 +! Uncomment this to use color for the bold attribute +XTerm*VT100*colorBDMode: off +! Uncomment this to use color for underline attribute +XTerm.VT100*colorULMode: off +XTerm.VT100*underLine: on +! Uncomment this to display the scrollbar +XTerm*scrollBar: true + +! This resource specifies whether or not to ignore the 'alternate screen' +! of applications such as vi. When it is on, these applications will restore +! the contents of the screen when they are exited to what they were before +! they were started. When it is off, the contents of vi will remain on the +! screen after the program is quit. +XTerm.VT100.titeInhibit: true + +! Uncomment this to turn off color mode in your xterms +XTerm.VT100*colorMode: on +XTerm.VT100*dynamicColors: on + +! Number of lines of scrollback to save +XTerm*saveLines: 15000 + +XTerm*reverseWrap: true + +XTerm*visualBell: true +XTerm*alwaysHighlight: false +XTerm*scrollTtyOutput: false +XTerm*scrollKey: True +XTerm*scrollTtyKeypress: True +XTerm*loginShell: True +XTerm*metaSendsEscape: True +Scrollbar.JumpCursor: True +!XTerm*color12: sky blue +!XTerm*color4: navy blue + +Rxvt.inheritPixmap: true +Rxvt.background: black +Rxvt.foreground: white +Rxvt.scrollColor: #4287c8 +Rxvt.borderColor: #4287c8 +Rxvt.color12: sky blue +!Rxvt.color4: navy blue +Rxvt.visualBell: true +Rxvt.scrollTtyOutput: false +Rxvt.scrollWithBuffer: true +Rxvt.scrollTtyKeypress: true +Rxvt.saveLines: 15000 +Rxvt.loginShell: true +Rxvt.cutchars: \ !@#$%^&*(){}[]''"",.<>/?=+-\\|`~;: +URxvt.shading: 25 +URxvt.tintColor: white +URxvt.fading: 20 +URxvt.font: xft:Monospace:pixelsize=16 +URxvt.scrollstyle: plain +URxvt.perl-ext-common: +URxvt.modifier: Meta +URxvt.geometry: 80x37 +URxvt.perl-ext: default,mymatcher +URxvt.url-launcher: firefox +URxvt.mymatcher.scheme.1: mailto +URxvt.mymatcher.launcher.1: claws-mail +URxvt.mymatcher.button: M-C-1 +URxvt.keysym.M-C-Return: perl:mymatcher:last +URxvt.keysym.M-C-Tab: perl:mymatcher:list + +QuakeConsoleNeedsUniqueName*internalBorder: 0 +QuakeConsoleNeedsUniqueName*scrollBar: false +QuakeConsoleNeedsUniqueName*loginShell: false + +xeyes*cols: 4 +xeyes*rows: 4 + +xdvi.expert: true +xdvi.shrinkFactor: 7 +xdvi.gsAlpha: true + +NetHack.tile_file: x11tiles2 +NetHack*map*font: -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-1 + +XClock*update: 1 +!XClock*background: rgb:45/63/86 +XClock*background: rgb:0/0/0 +XClock*padding: 0 +XClock*foreground: rgb:A0/A0/A0 +XClock*analog: False +XClock*font: -misc-fixed-medium-r-normal--13-120-75-75-c-*-iso8859-1 +XClock*render: False + +! The most common options that must be here : +! -buffer 2 The buffering method (choose the quickiest) +! See "BUFFERING" file for more info +! -keyboard 4 The default keyboard : 1:AZERTY 2:QWERTY| +! 3:AZERTY- 4:QWERTY- +! 5:SPATIAL +! -smooth if your host/display are fast +! -clearline 0 if moving lines drop dirty points on screen +! -keytable The keyboard definition if none of the predefined. +! -draw 0 If the transparent face are too slow to display +! You can have the option list typing : "bl -h" + +xbl*args: -x 5 -y 5 -z 10 -level 0 -bloctype 2 -land 0 -draw 0 -clearline 0 \ + -buttonheight -1 -buffer 2 -keyboard 0 -keytable "14789632',ao;q p0" + +xpdf.initialZoom: width + diff --git a/.aspell.conf b/.aspell.conf new file mode 100644 index 0000000..a29d9c5 --- /dev/null +++ b/.aspell.conf @@ -0,0 +1,4 @@ +add-dict-alias en en_GB-w_accents +add-dict-alias english en_GB-w_accents + +lang en_GB-w_accents diff --git a/.gtkrc.mine b/.gtkrc.mine new file mode 100644 index 0000000..b7e1df6 --- /dev/null +++ b/.gtkrc.mine @@ -0,0 +1,11 @@ +gtk-key-theme-name = "Emacs" + +style "fedora-default" +{ + engine "nodoka" + { + animation = TRUE + gradients = TRUE + } +} + diff --git a/.xinitrc b/.xinitrc new file mode 100755 index 0000000..497cacc --- /dev/null +++ b/.xinitrc @@ -0,0 +1,18 @@ +#!/bin/sh +cd +export LC_ALL=en_US.UTF-8 +sudo ./src/hal-automounter/hal-automounter.pl > automount.log 2>&1 & +xgamma -gamma 1 +xsetroot -solid black +#export XMODIFIERS=@im=uim +export GTK_IM_MODULE="xim" +xrdb -load .Xdefaults +xset dpms 1800 3600 3600 +#uim-xim --engine=anthy & +gkrellm & +~/bin/mwatch & +xpad & +start-pulseaudio-x11 + +exec dbus-launch --exit-with-session fvwm-crystal + diff --git a/.xsession b/.xsession new file mode 120000 index 0000000..03280df --- /dev/null +++ b/.xsession @@ -0,0 +1 @@ +.xinitrc \ No newline at end of file -- cgit v1.2.3 From b7999c7b90e986307ceb5d57a91c3e492561dd11 Mon Sep 17 00:00:00 2001 From: dakkar Date: Mon, 29 Jun 2015 15:12:37 +0100 Subject: better default ssh keys --- .bash_profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bash_profile b/.bash_profile index c3d4e4a..3ba80ce 100644 --- a/.bash_profile +++ b/.bash_profile @@ -11,7 +11,7 @@ source ~/perl5/perlbrew/etc/bashrc export PATH="${HOME}/bin:${PATH}" export GPG_TTY="$(tty)" -eval "$(keychain --eval --noask --inherit any-once id_rsa id_nap_rsa 75193F88 D7A5DBBE)" +eval "$(keychain --eval --noask --inherit any-once id_rsa id_ed25519 75193F88 D7A5DBBE)" function e() { emacsclient "$@" -- cgit v1.2.3 From 620c34601c68692047246386ab959e2219fe4e71 Mon Sep 17 00:00:00 2001 From: dakkar Date: Mon, 29 Jun 2015 17:40:10 +0100 Subject: compose config --- .XCompose | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .XCompose diff --git a/.XCompose b/.XCompose new file mode 100644 index 0000000..6c2123f --- /dev/null +++ b/.XCompose @@ -0,0 +1,15 @@ +include "/usr/share/X11/locale/en_US.UTF-8/Compose" + +# http://cyberborean.wordpress.com/2008/01/06/compose-key-magic/ + : "☺" U263A # :) + : "←" U2190 # <- + : "←" U2190 # -< + : "→" U2192 # -> + + : "…" # ellipsis + : "∓" # minus-plus + + : "⇐" + : "⇒" + +

: "π" -- cgit v1.2.3 From 745a2e138278d0573c0e7308e4d35d6367128773 Mon Sep 17 00:00:00 2001 From: dakkar Date: Tue, 30 Jun 2015 16:01:59 +0100 Subject: add cmpshow git alias --- .gitconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitconfig b/.gitconfig index c354c79..b11249c 100644 --- a/.gitconfig +++ b/.gitconfig @@ -28,6 +28,7 @@ stat = true [alias] cmp = diff -b --word-diff=color --word-diff-regex='[[:alnum:]_]+|[^[:space:]]' + cmpshow = show --word-diff=color --word-diff-regex='[[:alnum:]_]+|[^[:space:]]' cmplog = log -u -b --word-diff=color --word-diff-regex='[[:alnum:]_]+|[^[:space:]]' logc = log --oneline --graph refl = log -g --oneline 'HEAD@{now}' --date=relative -- cgit v1.2.3 From c2e289836b3e4ab597f7075bb1e367c466f12df9 Mon Sep 17 00:00:00 2001 From: dakkar Date: Tue, 7 Jul 2015 10:27:38 +0100 Subject: auto-completion for pm --- .bash_completion | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .bash_completion diff --git a/.bash_completion b/.bash_completion new file mode 100644 index 0000000..4bbfc04 --- /dev/null +++ b/.bash_completion @@ -0,0 +1,2 @@ +_xfunc perl _perldoc +complete -F _perldoc -o bashdefault pm \ No newline at end of file -- cgit v1.2.3 From 8e6a5ce781a5e0b56ea71fc575ac1bdf811cc158 Mon Sep 17 00:00:00 2001 From: dakkar Date: Tue, 7 Jul 2015 14:13:41 +0100 Subject: git grep perl-style --- .gitconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitconfig b/.gitconfig index b11249c..5e1657f 100644 --- a/.gitconfig +++ b/.gitconfig @@ -26,6 +26,8 @@ date = iso [rebase] stat = true +[grep] + patternType = perl [alias] cmp = diff -b --word-diff=color --word-diff-regex='[[:alnum:]_]+|[^[:space:]]' cmpshow = show --word-diff=color --word-diff-regex='[[:alnum:]_]+|[^[:space:]]' -- cgit v1.2.3 From 56b73c64f2858dd7cb4ced3abb17f768d9923bac Mon Sep 17 00:00:00 2001 From: dakkar Date: Sat, 4 Jul 2015 21:24:46 +0100 Subject: autosquash! --- .gitconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitconfig b/.gitconfig index 5e1657f..7d88cc2 100644 --- a/.gitconfig +++ b/.gitconfig @@ -26,6 +26,7 @@ date = iso [rebase] stat = true + autosquash = true [grep] patternType = perl [alias] -- cgit v1.2.3 From b1800ca7d42bab16c6afbbbc43b2f1b86fe1275e Mon Sep 17 00:00:00 2001 From: dakkar Date: Thu, 23 Jul 2015 11:26:07 +0100 Subject: prepare for keychain 2.8 --- .bash_profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bash_profile b/.bash_profile index 3ba80ce..8cad899 100644 --- a/.bash_profile +++ b/.bash_profile @@ -11,7 +11,7 @@ source ~/perl5/perlbrew/etc/bashrc export PATH="${HOME}/bin:${PATH}" export GPG_TTY="$(tty)" -eval "$(keychain --eval --noask --inherit any-once id_rsa id_ed25519 75193F88 D7A5DBBE)" +eval "$(keychain --eval --noask --inherit any-once --agents gpg,ssh id_rsa id_ed25519 75193F88 D7A5DBBE)" function e() { emacsclient "$@" -- cgit v1.2.3 From f0df0f833a80e37a5e0156210c0235c549344f4b Mon Sep 17 00:00:00 2001 From: dakkar Date: Fri, 24 Jul 2015 22:37:47 +0100 Subject: ackrc --- .ackrc | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .ackrc diff --git a/.ackrc b/.ackrc new file mode 100644 index 0000000..2ee6fc0 --- /dev/null +++ b/.ackrc @@ -0,0 +1,2 @@ +--pager=less + -- cgit v1.2.3 From e77a45234ce0098e9a2078e853c66222b6a94f50 Mon Sep 17 00:00:00 2001 From: dakkar Date: Fri, 24 Jul 2015 22:35:49 +0100 Subject: ledger config --- .ledgerrc | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .ledgerrc diff --git a/.ledgerrc b/.ledgerrc new file mode 100644 index 0000000..1b02f85 --- /dev/null +++ b/.ledgerrc @@ -0,0 +1,4 @@ +--file /home/dakkar/SHARE/dakkar-ledger +--cache /home/dakkar/.ledger-cache +--date-format %Y-%m-%d +--equity-format \n%D %Y%C%P\n%/ %-34A %12t\n -- cgit v1.2.3 From b8bc7d6bef9503cb693948decde81f058c000f4c Mon Sep 17 00:00:00 2001 From: dakkar Date: Tue, 25 Aug 2015 16:58:51 +0100 Subject: some emoticons shortcuts --- .XCompose | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.XCompose b/.XCompose index 6c2123f..59594a7 100644 --- a/.XCompose +++ b/.XCompose @@ -1,7 +1,8 @@ +# -*- mode: conf -*- + include "/usr/share/X11/locale/en_US.UTF-8/Compose" # http://cyberborean.wordpress.com/2008/01/06/compose-key-magic/ - : "☺" U263A # :) : "←" U2190 # <- : "←" U2190 # -< : "→" U2192 # -> @@ -13,3 +14,18 @@ include "/usr/share/X11/locale/en_US.UTF-8/Compose" : "⇒"

: "π" + + : "😀" U1F600 # :D GRINNING FACE + : "😁" U1F601 # ;D GRINNING FACE WITH SMILING EYES + : "😉" U1F609 # ;) WINKING FACE + : "😏" U1F60F # |) SMIRKING FACE + : "😐" U1F610 # :| NEUTRAL FACE +

: "😒" U1F612 # p| UNAMUSED FACE + : "😕" U1F615 # :/ CONFUSED FACE + : "😖" U1F616 # :~ CONFOUNDED FACE + : "😖" U1F616 # :s CONFOUNDED FACE +

: "😛" U1F61B # :p FACE WITH STUCK-OUT TONGUE +

: "😜" U1F61C # ;p FACE WITH STUCK-OUT TONGUE AND WINKING EYE + : "😞" U1F61E # (( DISAPPOINTED FACE + : "😮" U1F62E # :o FACE WITH OPEN MOUTH + <8> : "😲" U1F623 # 8o ASTONISHED FACE -- cgit v1.2.3 From 1c0685c886e443d85a55d2d809fdd12566332c02 Mon Sep 17 00:00:00 2001 From: dakkar Date: Tue, 25 Aug 2015 17:08:54 +0100 Subject: ignore some files --- .gitignore.d/dotfiles | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .gitignore.d/dotfiles diff --git a/.gitignore.d/dotfiles b/.gitignore.d/dotfiles new file mode 100644 index 0000000..93b9172 --- /dev/null +++ b/.gitignore.d/dotfiles @@ -0,0 +1,5 @@ +/.mrconfig +!/.gitignore.d/ +/.gitignore.d/* +!/.gitignore.d/dotfiles_mr +*~ -- cgit v1.2.3 From 522a26a01a807bf0cdf93e7c20d675ed95cfc714 Mon Sep 17 00:00:00 2001 From: dakkar Date: Sun, 30 Aug 2015 15:36:53 +0100 Subject: smaller Emacs font --- .Xdefaults | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.Xdefaults b/.Xdefaults index 0bd54f4..a92a8d1 100644 --- a/.Xdefaults +++ b/.Xdefaults @@ -13,7 +13,7 @@ emacs*pointerColor: White emacs*cursorColor: White emacs*bitmapIcon: on Emacs.FontBackend: x,xft -emacs*font: inconsolata-12 +emacs*font: inconsolata-9 !emacs*font: -misc-fixed-medium-r-semicondensed-*-*-120-*-*-c-*-iso10646-1 emacs.geometry: 80x25 -- cgit v1.2.3 From 8c38fea7669fdfbb0eefc28384558ac764feb2a8 Mon Sep 17 00:00:00 2001 From: dakkar Date: Thu, 3 Sep 2015 10:43:58 +0100 Subject: more gtk settings --- .config/gtk-3.0/settings.ini | 18 ++++++++++++++++++ .gtkrc-2.0.mine | 1 + 2 files changed, 19 insertions(+) create mode 100644 .config/gtk-3.0/settings.ini create mode 120000 .gtkrc-2.0.mine diff --git a/.config/gtk-3.0/settings.ini b/.config/gtk-3.0/settings.ini new file mode 100644 index 0000000..c7c47ac --- /dev/null +++ b/.config/gtk-3.0/settings.ini @@ -0,0 +1,18 @@ +[Settings] +gtk-theme-name=Adwaita +gtk-icon-theme-name=gnome +gtk-font-name=Sans 6 +gtk-cursor-theme-name=justblue +gtk-cursor-theme-size=0 +gtk-toolbar-style=GTK_TOOLBAR_BOTH +gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR +gtk-button-images=1 +gtk-menu-images=1 +gtk-enable-event-sounds=1 +gtk-enable-input-feedback-sounds=1 +gtk-xft-antialias=1 +gtk-xft-hinting=1 +gtk-xft-hintstyle=hintfull +gtk-xft-rgba=rgb +gtk-color-scheme=tooltip_fg_color:#FFFFFF\nbase_color:#FFFFFF\nselected_fg_color:#FFFFFF\ntext_color:#313739\nbg_color:#EDEDED\ninsensitive_bg_color:#F4F4F2\ntooltip_bg_color:#343434\nselected_bg_color:#4A90D9\nfg_color:#2E3436\n +gtk-key-theme-name=Emacs diff --git a/.gtkrc-2.0.mine b/.gtkrc-2.0.mine new file mode 120000 index 0000000..5391a8c --- /dev/null +++ b/.gtkrc-2.0.mine @@ -0,0 +1 @@ +.gtkrc.mine \ No newline at end of file -- cgit v1.2.3 From 1a5ccd777fdb7ef83a144754595cfc783dec990d Mon Sep 17 00:00:00 2001 From: dakkar Date: Fri, 4 Sep 2015 14:00:03 +0100 Subject: add gtkrc 2.0 --- .gtkrc-2.0 | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .gtkrc-2.0 diff --git a/.gtkrc-2.0 b/.gtkrc-2.0 new file mode 100644 index 0000000..af91f3e --- /dev/null +++ b/.gtkrc-2.0 @@ -0,0 +1,20 @@ +# DO NOT EDIT! This file will be overwritten by LXAppearance. +# Any customization should be done in ~/.gtkrc-2.0.mine instead. + +gtk-theme-name="Adwaita" +gtk-icon-theme-name="gnome" +gtk-font-name="Sans 6" +gtk-cursor-theme-name="justblue" +gtk-cursor-theme-size=0 +gtk-toolbar-style=GTK_TOOLBAR_BOTH +gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR +gtk-button-images=1 +gtk-menu-images=1 +gtk-enable-event-sounds=1 +gtk-enable-input-feedback-sounds=1 +gtk-xft-antialias=1 +gtk-xft-hinting=1 +gtk-xft-hintstyle="hintfull" +gtk-xft-rgba="rgb" +gtk-color-scheme="tooltip_fg_color:#FFFFFF\nbase_color:#FFFFFF\nselected_fg_color:#FFFFFF\ntext_color:#313739\nbg_color:#EDEDED\ninsensitive_bg_color:#F4F4F2\ntooltip_bg_color:#343434\nselected_bg_color:#4A90D9\nfg_color:#2E3436\n" +include "/home/dakkar/.gtkrc-2.0.mine" -- cgit v1.2.3 From af52d061afe485553dce067b104a4bcfc3fd3487 Mon Sep 17 00:00:00 2001 From: dakkar Date: Sun, 29 Nov 2015 13:21:56 +0000 Subject: auth via yubikey --- .config/Yubico/u2f_keys | 1 + .xinitrc | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .config/Yubico/u2f_keys diff --git a/.config/Yubico/u2f_keys b/.config/Yubico/u2f_keys new file mode 100644 index 0000000..291a090 --- /dev/null +++ b/.config/Yubico/u2f_keys @@ -0,0 +1 @@ +dakkar:TSjB7MrP1bnTzw3B2_iutHC-htsWaTk-GdHCjw9nZOE9fDoi6JiP-9Ysig3oYwal8B7ZhXPR-pY5apAJKxaRxw,04ebd3766782950a327c70b35e02d227faea091bee86d07616985797f9122beb87183c2ebd7a5c739133b334772669672f12ec2c978857bdeaf889b25eb3c0f40e \ No newline at end of file diff --git a/.xinitrc b/.xinitrc index 497cacc..040ef82 100755 --- a/.xinitrc +++ b/.xinitrc @@ -7,9 +7,10 @@ xsetroot -solid black #export XMODIFIERS=@im=uim export GTK_IM_MODULE="xim" xrdb -load .Xdefaults -xset dpms 1800 3600 3600 +#xset dpms 1800 3600 3600 #uim-xim --engine=anthy & gkrellm & +(sleep 3;wpa_gui -t)& ~/bin/mwatch & xpad & start-pulseaudio-x11 -- cgit v1.2.3 From 6216bda7851384018306ab9c43e9d2ba7ba5af0f Mon Sep 17 00:00:00 2001 From: dakkar Date: Wed, 27 Jan 2016 21:10:51 +0000 Subject: use more complete Xcompose config --- .XCompose | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.XCompose b/.XCompose index 59594a7..5ea8dd1 100644 --- a/.XCompose +++ b/.XCompose @@ -1,19 +1,10 @@ # -*- mode: conf -*- -include "/usr/share/X11/locale/en_US.UTF-8/Compose" +#include "/usr/share/X11/locale/en_US.UTF-8/Compose" +include "/home/dakkar/src/dotXCompose/dotXCompose" # http://cyberborean.wordpress.com/2008/01/06/compose-key-magic/ : "←" U2190 # <- - : "←" U2190 # -< - : "→" U2192 # -> - - : "…" # ellipsis - : "∓" # minus-plus - - : "⇐" - : "⇒" - -

: "π" : "😀" U1F600 # :D GRINNING FACE : "😁" U1F601 # ;D GRINNING FACE WITH SMILING EYES -- cgit v1.2.3 From e058189144b402d8eba4a4a89ae07d49ed30db75 Mon Sep 17 00:00:00 2001 From: dakkar Date: Mon, 1 Feb 2016 09:42:42 +0000 Subject: git: check hashes on transfer see also: https://groups.google.com/forum/#!topic/binary-transparency/f-BI4o8HZW0 http://git.661346.n2.nabble.com/propagating-repo-corruption-across-clone-td7580504.html --- .gitconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitconfig b/.gitconfig index 7d88cc2..955dbab 100644 --- a/.gitconfig +++ b/.gitconfig @@ -27,6 +27,8 @@ [rebase] stat = true autosquash = true +[transfer] + fsckobjects = true [grep] patternType = perl [alias] -- cgit v1.2.3 From ff2920b2bbb8d35bb4077aa94647e5c512c3d5a3 Mon Sep 17 00:00:00 2001 From: dakkar Date: Tue, 2 Feb 2016 17:28:54 +0000 Subject: fix gtk key theme --- .gtkrc-2.0 | 1 + 1 file changed, 1 insertion(+) diff --git a/.gtkrc-2.0 b/.gtkrc-2.0 index af91f3e..c723854 100644 --- a/.gtkrc-2.0 +++ b/.gtkrc-2.0 @@ -17,4 +17,5 @@ gtk-xft-hinting=1 gtk-xft-hintstyle="hintfull" gtk-xft-rgba="rgb" gtk-color-scheme="tooltip_fg_color:#FFFFFF\nbase_color:#FFFFFF\nselected_fg_color:#FFFFFF\ntext_color:#313739\nbg_color:#EDEDED\ninsensitive_bg_color:#F4F4F2\ntooltip_bg_color:#343434\nselected_bg_color:#4A90D9\nfg_color:#2E3436\n" +gtk-key-theme-name="Emacs" include "/home/dakkar/.gtkrc-2.0.mine" -- cgit v1.2.3 From 5b1df99651e9d39198d736da451ab711f8ef65c9 Mon Sep 17 00:00:00 2001 From: dakkar Date: Tue, 17 May 2016 17:13:55 +0100 Subject: nicer perldoc --- .bash_profile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.bash_profile b/.bash_profile index 8cad899..eb0bd75 100644 --- a/.bash_profile +++ b/.bash_profile @@ -21,10 +21,14 @@ function se() { emacsclient "${@/#//sudo::}" } +function perldoc() { + cpandoc "$@" +} + function pm() { local fn local ex - fn="$(perldoc -l "$1")" + fn="$(perldoc -lm "$1")" ex=$? if [[ $ex != 0 ]]; then return $ex @@ -32,5 +36,7 @@ function pm() { emacsclient -c -n "$fn" } +export PERLDOC='-MPod::Text::Color::Delight' + fortune -- cgit v1.2.3 From 1b7ffd6c12c04da1b65f1f8a18d85addbcb6b279 Mon Sep 17 00:00:00 2001 From: dakkar Date: Wed, 18 May 2016 10:44:11 +0100 Subject: short alias for perldoc --- .bash_completion | 2 +- .bash_profile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.bash_completion b/.bash_completion index 4bbfc04..4eb8044 100644 --- a/.bash_completion +++ b/.bash_completion @@ -1,2 +1,2 @@ _xfunc perl _perldoc -complete -F _perldoc -o bashdefault pm \ No newline at end of file +complete -F _perldoc -o bashdefault pm pd diff --git a/.bash_profile b/.bash_profile index eb0bd75..493421b 100644 --- a/.bash_profile +++ b/.bash_profile @@ -21,14 +21,14 @@ function se() { emacsclient "${@/#//sudo::}" } -function perldoc() { +function pd() { cpandoc "$@" } function pm() { local fn local ex - fn="$(perldoc -lm "$1")" + fn="$(pd -lm "$1")" ex=$? if [[ $ex != 0 ]]; then return $ex -- cgit v1.2.3 From 64b8d9eacea9a082c725a6a5abae8631b074c420 Mon Sep 17 00:00:00 2001 From: Gianni Ceccarelli Date: Thu, 16 Mar 2017 10:11:29 +0000 Subject: more compose --- .XCompose | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.XCompose b/.XCompose index 5ea8dd1..476ebac 100644 --- a/.XCompose +++ b/.XCompose @@ -1,7 +1,8 @@ # -*- mode: conf -*- -#include "/usr/share/X11/locale/en_US.UTF-8/Compose" +include "/usr/share/X11/locale/en_US.UTF-8/Compose" include "/home/dakkar/src/dotXCompose/dotXCompose" +include "/home/dakkar/src/dotXCompose/emoji.compose" # http://cyberborean.wordpress.com/2008/01/06/compose-key-magic/ : "←" U2190 # <- -- cgit v1.2.3 From 17f4b98c3a959cd33c5a3c6b7242c61b9129ac03 Mon Sep 17 00:00:00 2001 From: Gianni Ceccarelli Date: Thu, 16 Mar 2017 10:12:38 +0000 Subject: perldoc on browser --- .bash_profile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.bash_profile b/.bash_profile index 493421b..923f310 100644 --- a/.bash_profile +++ b/.bash_profile @@ -22,7 +22,11 @@ function se() { } function pd() { - cpandoc "$@" + if [[ $1 == -b ]]; then + firefox "https://metacpan.org/pod/$2" + else + cpandoc "$@" + fi } function pm() { -- cgit v1.2.3 From 6c4f1d0c18479672adf8098947fcd3ee27dda936 Mon Sep 17 00:00:00 2001 From: Gianni Ceccarelli Date: Thu, 16 Mar 2017 10:12:54 +0000 Subject: git always prune --- .gitconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitconfig b/.gitconfig index 955dbab..f15daf3 100644 --- a/.gitconfig +++ b/.gitconfig @@ -14,6 +14,8 @@ showbranch = true status = true +[fetch] + prune = true [push] default = tracking [pull] -- cgit v1.2.3 From 78014c3a0f0a00fea16a3564515313b1462211e8 Mon Sep 17 00:00:00 2001 From: Gianni Ceccarelli Date: Thu, 16 Mar 2017 10:13:08 +0000 Subject: comment out obsolete ledger config --- .ledgerrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.ledgerrc b/.ledgerrc index 1b02f85..5fba08a 100644 --- a/.ledgerrc +++ b/.ledgerrc @@ -1,4 +1,4 @@ --file /home/dakkar/SHARE/dakkar-ledger ---cache /home/dakkar/.ledger-cache +#--cache /home/dakkar/.ledger-cache --date-format %Y-%m-%d ---equity-format \n%D %Y%C%P\n%/ %-34A %12t\n +#--equity-format \n%D %Y%C%P\n%/ %-34A %12t\n -- cgit v1.2.3 From f82dffee4c4a8d4d25b5588baaa575dc3006c0ec Mon Sep 17 00:00:00 2001 From: Gianni Ceccarelli Date: Thu, 16 Mar 2017 10:14:37 +0000 Subject: use xrandr-aware gamma --- .xinitrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.xinitrc b/.xinitrc index 040ef82..c31f495 100755 --- a/.xinitrc +++ b/.xinitrc @@ -2,7 +2,7 @@ cd export LC_ALL=en_US.UTF-8 sudo ./src/hal-automounter/hal-automounter.pl > automount.log 2>&1 & -xgamma -gamma 1 +gamma 1 xsetroot -solid black #export XMODIFIERS=@im=uim export GTK_IM_MODULE="xim" -- cgit v1.2.3 From 3bcdfc4099c712c04dd7ddb8151c31433cab2c09 Mon Sep 17 00:00:00 2001 From: Gianni Ceccarelli Date: Tue, 3 Jul 2018 10:03:17 +0100 Subject: fix keychain usage turns out, --noask means "don't add keys", not "only add keys that don't need a passphrase" --- .bash_profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bash_profile b/.bash_profile index 923f310..f2d8ae7 100644 --- a/.bash_profile +++ b/.bash_profile @@ -11,7 +11,7 @@ source ~/perl5/perlbrew/etc/bashrc export PATH="${HOME}/bin:${PATH}" export GPG_TTY="$(tty)" -eval "$(keychain --eval --noask --inherit any-once --agents gpg,ssh id_rsa id_ed25519 75193F88 D7A5DBBE)" +eval "$(keychain --eval --inherit any-once --agents ssh id_rsa id_ed25519)" function e() { emacsclient "$@" -- cgit v1.2.3 From 53b0e3b92aee5b637add624d0031b078983ba279 Mon Sep 17 00:00:00 2001 From: Gianni Ceccarelli Date: Thu, 19 Jul 2018 10:09:54 +0100 Subject: redshift --- .config/redshift.conf | 15 +++++++++++++++ .xinitrc | 1 + 2 files changed, 16 insertions(+) create mode 100644 .config/redshift.conf diff --git a/.config/redshift.conf b/.config/redshift.conf new file mode 100644 index 0000000..3629ea7 --- /dev/null +++ b/.config/redshift.conf @@ -0,0 +1,15 @@ +[redshift] +temp-day=5700 +temp-night=3500 + +transition=1 + +location-provider=manual +adjustment-method=randr + +[manual] +lat=57 +lon=0 + +[randr] +screen=0 diff --git a/.xinitrc b/.xinitrc index c31f495..5d43b59 100755 --- a/.xinitrc +++ b/.xinitrc @@ -14,6 +14,7 @@ gkrellm & ~/bin/mwatch & xpad & start-pulseaudio-x11 +gtk-redshift & exec dbus-launch --exit-with-session fvwm-crystal -- cgit v1.2.3 From 67c5a12ca26d9b28a8b6a6792dd1fe7552ed79a2 Mon Sep 17 00:00:00 2001 From: dakkar Date: Thu, 19 Jul 2018 20:58:25 +0100 Subject: newer redshift config --- .config/redshift.conf | 15 --------------- .config/redshift/redshift.conf | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 15 deletions(-) delete mode 100644 .config/redshift.conf create mode 100644 .config/redshift/redshift.conf diff --git a/.config/redshift.conf b/.config/redshift.conf deleted file mode 100644 index 3629ea7..0000000 --- a/.config/redshift.conf +++ /dev/null @@ -1,15 +0,0 @@ -[redshift] -temp-day=5700 -temp-night=3500 - -transition=1 - -location-provider=manual -adjustment-method=randr - -[manual] -lat=57 -lon=0 - -[randr] -screen=0 diff --git a/.config/redshift/redshift.conf b/.config/redshift/redshift.conf new file mode 100644 index 0000000..c10009c --- /dev/null +++ b/.config/redshift/redshift.conf @@ -0,0 +1,15 @@ +[redshift] +temp-day=5700 +temp-night=3500 + +fade=1 + +location-provider=manual +adjustment-method=randr + +[manual] +lat=51 +lon=0 + +[randr] +screen=0 -- cgit v1.2.3