nix: Finishing misc in config
This commit is contained in:
parent
5d5750b2db
commit
c7d5a229d7
1
config/Xresources/.gitignore
vendored
1
config/Xresources/.gitignore
vendored
|
@ -1 +0,0 @@
|
||||||
theme
|
|
|
@ -1,4 +0,0 @@
|
||||||
#include ".config/Xresources/xft"
|
|
||||||
#include ".config/Xresources/theme"
|
|
||||||
#include ".config/Xresources/xterm"
|
|
||||||
#include ".config/Xresources/urxvt"
|
|
|
@ -1,61 +0,0 @@
|
||||||
! Scrollback position
|
|
||||||
! TODO Does 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 Does not work
|
|
||||||
URxvt.secondaryScreen: 1
|
|
||||||
URxvt.secondaryScroll: 0
|
|
||||||
|
|
||||||
|
|
||||||
! No scroll bar
|
|
||||||
URxvt*scrollBar: false
|
|
||||||
|
|
||||||
|
|
||||||
! Font declaration
|
|
||||||
URxvt.font: xft:DejaVuSansMono Nerd Font Mono:size=12:antialias=true,xft:Twemoji:size=12:antialias=true,xft:symbola:size=12:minspace=False
|
|
||||||
|
|
||||||
! Font spacing
|
|
||||||
URxvt.letterSpace: 0
|
|
||||||
|
|
||||||
! 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: resize-font,bell-command,readline,selection
|
|
||||||
|
|
||||||
! 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
|
|
||||||
|
|
||||||
! Bell command (extension: bell-command)
|
|
||||||
URxvt.bell-command: play -n synth sine C5 sine E4 remix 1-2 fade 0.1 0.2 0.1 &> /dev/null
|
|
||||||
|
|
||||||
! Open URL in browser (extension: matcher)
|
|
||||||
! URxvt.url-launcher: o
|
|
||||||
! URxvt.matcher.button: 1
|
|
||||||
! URxvt.matcher.rend.0: Uline Bold fg5
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
Xft.dpi: 96
|
|
||||||
Xft.antialias: true
|
|
||||||
Xft.hinting: true
|
|
||||||
Xft.rgba: rgb
|
|
||||||
Xft.autohint: false
|
|
||||||
Xft.hintstyle: hintslight
|
|
||||||
Xft.lcdfilter: lcddefault
|
|
||||||
Xcursor.theme: Menda-Cursor
|
|
||||||
Xcursor.size: 0
|
|
|
@ -1,15 +0,0 @@
|
||||||
xterm*faceName : DejaVuSansMono Nerd Font Mono:size=12:antialias=true
|
|
||||||
xterm*dynamicColors: true
|
|
||||||
xterm*utf8: 2
|
|
||||||
xterm*eightBitInput: true
|
|
||||||
xterm*saveLines: 512
|
|
||||||
xterm*scrollKey: true
|
|
||||||
xterm*scrollTtyOutput: false
|
|
||||||
xterm*scrollBar: false
|
|
||||||
xterm*rightScrollBar: false
|
|
||||||
xterm*jumpScroll: true
|
|
||||||
xterm*multiScroll: true
|
|
||||||
xterm*toolBar: false
|
|
||||||
XTerm.vt100.translations: #override \n\
|
|
||||||
Ctrl Shift <Key>C: copy-selection(CLIPBOARD) \n\
|
|
||||||
Ctrl Shift <Key>V: insert-selection(CLIPBOARD)
|
|
|
@ -474,6 +474,8 @@ in
|
||||||
NODE_REPL_HISTORY = "${config.xdg.cacheHome}/node_repl_history";
|
NODE_REPL_HISTORY = "${config.xdg.cacheHome}/node_repl_history";
|
||||||
PYTHONSTARTUP = "${config.xdg.configHome}/pythonstartup.py";
|
PYTHONSTARTUP = "${config.xdg.configHome}/pythonstartup.py";
|
||||||
RXVT_SOCKET = "${config.xdg.stateHome}/urxvtd"; # Used to want -$HOME suffix, hopefullt this isn't needed
|
RXVT_SOCKET = "${config.xdg.stateHome}/urxvtd"; # Used to want -$HOME suffix, hopefullt this isn't needed
|
||||||
|
# TODO I think we're not using the urxvt daemon on purpose?
|
||||||
|
# TODO this should be desktop only, as a few things are too.
|
||||||
SCREENRC = "${config.xdg.configHome}/screenrc";
|
SCREENRC = "${config.xdg.configHome}/screenrc";
|
||||||
SQLITE_HISTFILE = "${config.xdg.stateHome}/sqlite_history";
|
SQLITE_HISTFILE = "${config.xdg.stateHome}/sqlite_history";
|
||||||
YARN_DISABLE_SELF_UPDATE_CHECK = "true"; # This also disable the creation of a ~/.yarnrc file
|
YARN_DISABLE_SELF_UPDATE_CHECK = "true"; # This also disable the creation of a ~/.yarnrc file
|
||||||
|
|
|
@ -426,6 +426,22 @@
|
||||||
urxvt = {
|
urxvt = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.rxvt-unicode-emoji;
|
package = pkgs.rxvt-unicode-emoji;
|
||||||
|
scroll = {
|
||||||
|
bar.enable = false;
|
||||||
|
};
|
||||||
|
iso14755 = false; # Disable Ctrl+Shift default bindings
|
||||||
|
keybindings = {
|
||||||
|
"Shift-Control-C" = "eval:selection_to_clipboard";
|
||||||
|
"Shift-Control-V" = "eval:paste_clipboard";
|
||||||
|
# TODO Not sure resizing works, Nix doesn't have the package (urxvt-resize-font-git on Arch)
|
||||||
|
"Control-KP_Subtract" = "resize-font:smaller";
|
||||||
|
"Control-KP_Add" = "resize-font:bigger";
|
||||||
|
};
|
||||||
|
extraConfig = {
|
||||||
|
"letterSpace" = 0;
|
||||||
|
"perl-ext-common" = "resize-font,bell-command,readline,selection";
|
||||||
|
"bell-command" = "${pkgs.sox}/bin/play -n synth sine C5 sine E4 remix 1-2 fade 0.1 0.2 0.1 &> /dev/null";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
rofi = {
|
rofi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -595,7 +611,6 @@
|
||||||
|
|
||||||
# x11-exclusive
|
# x11-exclusive
|
||||||
numlockx
|
numlockx
|
||||||
# TODO urxvt-resize-font-git
|
|
||||||
simplescreenrecorder
|
simplescreenrecorder
|
||||||
trayer
|
trayer
|
||||||
xclip
|
xclip
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
# 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/Bureau"
|
|
||||||
XDG_DOWNLOAD_DIR="$HOME/Téléchargements"
|
|
||||||
XDG_TEMPLATES_DIR="$HOME/Modèles"
|
|
||||||
XDG_PUBLICSHARE_DIR="$HOME/Public"
|
|
||||||
XDG_DOCUMENTS_DIR="$HOME/Documents"
|
|
||||||
XDG_MUSIC_DIR="$HOME/Musique"
|
|
||||||
XDG_PICTURES_DIR="$HOME/Images"
|
|
||||||
XDG_VIDEOS_DIR="$HOME/Vidéos"
|
|
|
@ -1 +0,0 @@
|
||||||
fr_FR
|
|
|
@ -1,4 +0,0 @@
|
||||||
def FlagsForFile(filename, **kwargs):
|
|
||||||
return {
|
|
||||||
'flags': ['-Wall', '-Wextra', '-lm'],
|
|
||||||
}
|
|
Loading…
Reference in a new issue