diff --git a/config/Xresources/.gitignore b/config/Xresources/.gitignore deleted file mode 100644 index 62fd177..0000000 --- a/config/Xresources/.gitignore +++ /dev/null @@ -1 +0,0 @@ -theme diff --git a/config/Xresources/main b/config/Xresources/main deleted file mode 100644 index 7e8e091..0000000 --- a/config/Xresources/main +++ /dev/null @@ -1,4 +0,0 @@ -#include ".config/Xresources/xft" -#include ".config/Xresources/theme" -#include ".config/Xresources/xterm" -#include ".config/Xresources/urxvt" diff --git a/config/Xresources/urxvt b/config/Xresources/urxvt deleted file mode 100644 index 1ea3a06..0000000 --- a/config/Xresources/urxvt +++ /dev/null @@ -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 - diff --git a/config/Xresources/xft b/config/Xresources/xft deleted file mode 100644 index 9cf2b58..0000000 --- a/config/Xresources/xft +++ /dev/null @@ -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 diff --git a/config/Xresources/xterm b/config/Xresources/xterm deleted file mode 100644 index cb5531d..0000000 --- a/config/Xresources/xterm +++ /dev/null @@ -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 C: copy-selection(CLIPBOARD) \n\ - Ctrl Shift V: insert-selection(CLIPBOARD) diff --git a/config/nix/hm/common.nix b/config/nix/hm/common.nix index bde8dfc..2349987 100644 --- a/config/nix/hm/common.nix +++ b/config/nix/hm/common.nix @@ -474,6 +474,8 @@ in NODE_REPL_HISTORY = "${config.xdg.cacheHome}/node_repl_history"; PYTHONSTARTUP = "${config.xdg.configHome}/pythonstartup.py"; 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"; SQLITE_HISTFILE = "${config.xdg.stateHome}/sqlite_history"; YARN_DISABLE_SELF_UPDATE_CHECK = "true"; # This also disable the creation of a ~/.yarnrc file diff --git a/config/nix/hm/desktop.nix b/config/nix/hm/desktop.nix index 9d9df2a..23fe543 100644 --- a/config/nix/hm/desktop.nix +++ b/config/nix/hm/desktop.nix @@ -426,6 +426,22 @@ urxvt = { enable = true; 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 = { enable = true; @@ -595,7 +611,6 @@ # x11-exclusive numlockx - # TODO urxvt-resize-font-git simplescreenrecorder trayer xclip diff --git a/config/tridactyl/themes/.gitignore b/config/nix/unprocessed/config/tridactyl/themes/.gitignore similarity index 100% rename from config/tridactyl/themes/.gitignore rename to config/nix/unprocessed/config/tridactyl/themes/.gitignore diff --git a/config/tridactyl/tridactylrc b/config/nix/unprocessed/config/tridactyl/tridactylrc similarity index 100% rename from config/tridactyl/tridactylrc rename to config/nix/unprocessed/config/tridactyl/tridactylrc diff --git a/config/xinitrc b/config/nix/unprocessed/config/xinitrc similarity index 100% rename from config/xinitrc rename to config/nix/unprocessed/config/xinitrc diff --git a/config/user-dirs.dirs b/config/user-dirs.dirs deleted file mode 100644 index 0958aae..0000000 --- a/config/user-dirs.dirs +++ /dev/null @@ -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" diff --git a/config/user-dirs.locale b/config/user-dirs.locale deleted file mode 100755 index 9f0da78..0000000 --- a/config/user-dirs.locale +++ /dev/null @@ -1 +0,0 @@ -fr_FR \ No newline at end of file diff --git a/config/ycm_extra_conf.py b/config/ycm_extra_conf.py deleted file mode 100644 index 31b416f..0000000 --- a/config/ycm_extra_conf.py +++ /dev/null @@ -1,4 +0,0 @@ -def FlagsForFile(filename, **kwargs): - return { - 'flags': ['-Wall', '-Wextra', '-lm'], - }