Few minor correction for the XPS13
This commit is contained in:
@@ -117,26 +117,26 @@ URxvt.keysym.C-S-v: perl:clipboard:paste
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
# define the font for dmenu to be used
|
||||
DMENU_FN="Noto-10.5"
|
||||
# define the font for dmenu to be used
|
||||
DMENU_FN="Noto-10.5"
|
||||
|
||||
# background colour for unselected menu-items
|
||||
DMENU_NB="#222D31"
|
||||
# background colour for unselected menu-items
|
||||
DMENU_NB="#222D31"
|
||||
|
||||
# textcolour for unselected menu-items
|
||||
DMENU_NF="#F9FAF9"
|
||||
# textcolour for unselected menu-items
|
||||
DMENU_NF="#F9FAF9"
|
||||
|
||||
# background colour for selected menu-items
|
||||
DMENU_SB="#16A085"
|
||||
# background colour for selected menu-items
|
||||
DMENU_SB="#16A085"
|
||||
|
||||
# textcolour for selected menu-items
|
||||
DMENU_SF="#F9FAF9"
|
||||
# textcolour for selected menu-items
|
||||
DMENU_SF="#F9FAF9"
|
||||
|
||||
# command for the terminal application to be used:
|
||||
TERMINAL_CMD="terminal -e"
|
||||
# command for the terminal application to be used:
|
||||
TERMINAL_CMD="terminal -e"
|
||||
|
||||
# export our variables
|
||||
DMENU_OPTIONS="-fn $DMENU_FN -nb $DMENU_NB -nf $DMENU_NF -sf $DMENU_SF -sb $DMENU_SB"
|
||||
# export our variables
|
||||
DMENU_OPTIONS="-fn $DMENU_FN -nb $DMENU_NB -nf $DMENU_NF -sf $DMENU_SF -sb $DMENU_SB"
|
||||
#+END_SRC
|
||||
|
||||
* GTK
|
||||
@@ -312,112 +312,58 @@ COMMAND nohup qutebrowser %s </dev/null &>/dev/null &
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.xinitrc
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:header-args+: :shebang "#!/bin/sh"
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
#!/bin/sh
|
||||
userresources=$HOME/.Xresources
|
||||
usermodmap=$HOME/.Xmodmap
|
||||
sysresources=/etc/X11/xinit/.Xresources
|
||||
sysmodmap=/etc/X11/xinit/.Xmodmap
|
||||
#+END_SRC
|
||||
|
||||
merge in defaults and keymaps
|
||||
#+BEGIN_SRC conf
|
||||
if [ -f $sysresources ]; then
|
||||
xrdb -merge $sysresources
|
||||
fi
|
||||
|
||||
# =============================================================
|
||||
userresources=$HOME/.Xresources
|
||||
usermodmap=$HOME/.Xmodmap
|
||||
sysresources=/etc/X11/xinit/.Xresources
|
||||
sysmodmap=/etc/X11/xinit/.Xmodmap
|
||||
# =============================================================
|
||||
if [ -f $sysmodmap ]; then
|
||||
xmodmap $sysmodmap
|
||||
fi
|
||||
|
||||
if [ -f "$userresources" ]; then
|
||||
xrdb -merge "$userresources"
|
||||
fi
|
||||
|
||||
# =============================================================
|
||||
# merge in defaults and keymaps
|
||||
# =============================================================
|
||||
if [ -f $sysresources ]; then
|
||||
xrdb -merge $sysresources
|
||||
fi
|
||||
if [ -f "$usermodmap" ]; then
|
||||
xmodmap "$usermodmap"
|
||||
fi
|
||||
#+END_SRC
|
||||
|
||||
if [ -f $sysmodmap ]; then
|
||||
xmodmap $sysmodmap
|
||||
fi
|
||||
start some nice programs
|
||||
#+BEGIN_SRC conf
|
||||
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
|
||||
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
|
||||
[ -x "$f" ] && . "$f"
|
||||
done
|
||||
unset f
|
||||
fi
|
||||
#+END_SRC
|
||||
|
||||
if [ -f "$userresources" ]; then
|
||||
xrdb -merge "$userresources"
|
||||
fi
|
||||
hiDPI
|
||||
#+BEGIN_SRC conf
|
||||
export GDK_SCALE=1
|
||||
export GDK_DPI_SCALE=0.95
|
||||
|
||||
if [ -f "$usermodmap" ]; then
|
||||
xmodmap "$usermodmap"
|
||||
fi
|
||||
# =============================================================
|
||||
export QT_SCREEN_SCALE_FACTORS=0.9
|
||||
export QT_AUTO_SCREEN_SCALE_FACTOR=2
|
||||
export QT_SCALE_FACTOR=2
|
||||
#+END_SRC
|
||||
|
||||
|
||||
# =============================================================
|
||||
# start some nice programs
|
||||
# =============================================================
|
||||
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
|
||||
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
|
||||
[ -x "$f" ] && . "$f"
|
||||
done
|
||||
unset f
|
||||
fi
|
||||
# =============================================================
|
||||
|
||||
|
||||
# =============================================================
|
||||
# hiDPI
|
||||
# =============================================================
|
||||
export GDK_SCALE=1
|
||||
export GDK_DPI_SCALE=0.95
|
||||
|
||||
export QT_SCREEN_SCALE_FACTORS=0.9
|
||||
export QT_AUTO_SCREEN_SCALE_FACTOR=2
|
||||
export QT_SCALE_FACTOR=2
|
||||
# =============================================================
|
||||
|
||||
|
||||
# =============================================================
|
||||
# Screen options
|
||||
# =============================================================
|
||||
# # xrandr --output eDP1 --mode 1680x1050 --dpi 192
|
||||
# xrandr --dpi 192
|
||||
# =============================================================
|
||||
|
||||
|
||||
# =============================================================
|
||||
# # Set repetition keyboard rate
|
||||
# xset r rate 200 30
|
||||
# # Set International US keyboard layout
|
||||
# setxkbmap -layout us -variant intl -option caps:escape
|
||||
# =============================================================
|
||||
|
||||
|
||||
# =============================================================
|
||||
# get_session(){
|
||||
# local dbus_args=(--sh-syntax --exit-with-session)
|
||||
# case $1 in
|
||||
# awesome) dbus_args+=(awesome) ;;
|
||||
# bspwm) dbus_args+=(bspwm-session) ;;
|
||||
# budgie) dbus_args+=(budgie-desktop) ;;
|
||||
# cinnamon) dbus_args+=(cinnamon-session) ;;
|
||||
# deepin) dbus_args+=(startdde) ;;
|
||||
# enlightenment) dbus_args+=(enlightenment_start) ;;
|
||||
# fluxbox) dbus_args+=(startfluxbox) ;;
|
||||
# gnome) dbus_args+=(gnome-session) ;;
|
||||
# i3|i3wm) dbus_args+=(i3 --shmlog-size 0) ;;
|
||||
# jwm) dbus_args+=(jwm) ;;
|
||||
# kde) dbus_args+=(startkde) ;;
|
||||
# lxde) dbus_args+=(startlxde) ;;
|
||||
# lxqt) dbus_args+=(lxqt-session) ;;
|
||||
# mate) dbus_args+=(mate-session) ;;
|
||||
# xfce) dbus_args+=(xfce4-session) ;;
|
||||
# openbox) dbus_args+=(openbox-session) ;;
|
||||
# *) dbus_args+=($DEFAULT_SESSION) ;;
|
||||
# esac
|
||||
|
||||
# echo "dbus-launch ${dbus_args[*]}"
|
||||
# }
|
||||
|
||||
# exec $(get_session)
|
||||
# exec i3
|
||||
export XDG_CURRENT_DESKTOP=Budgie:GNOME
|
||||
exec budgie-desktop
|
||||
# =============================================================
|
||||
#+BEGIN_SRC conf
|
||||
export XDG_CURRENT_DESKTOP=Budgie:GNOME
|
||||
exec budgie-desktop
|
||||
#+END_SRC
|
||||
|
||||
* Calcurse
|
||||
@@ -427,33 +373,33 @@ exec budgie-desktop
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
appearance.calendarview=monthly
|
||||
appearance.compactpanels=no
|
||||
appearance.defaultpanel=calendar
|
||||
appearance.layout=1
|
||||
appearance.notifybar=yes
|
||||
appearance.sidebarwidth=0
|
||||
appearance.theme=red on default
|
||||
appearance.todoview=show-completed
|
||||
appearance.headingpos=right-justified
|
||||
daemon.enable=no
|
||||
daemon.log=no
|
||||
format.inputdate=1
|
||||
format.notifydate=%a %F
|
||||
format.notifytime=%T
|
||||
format.outputdate=%D
|
||||
format.dayheading=%B %-d, %Y
|
||||
general.autogc=no
|
||||
general.autosave=yes
|
||||
general.confirmdelete=yes
|
||||
general.confirmquit=yes
|
||||
general.firstdayofweek=monday
|
||||
general.periodicsave=0
|
||||
general.progressbar=yes
|
||||
general.systemdialogs=yes
|
||||
notification.command=printf '\a'
|
||||
notification.notifyall=flagged-only
|
||||
notification.warning=300
|
||||
appearance.calendarview=monthly
|
||||
appearance.compactpanels=no
|
||||
appearance.defaultpanel=calendar
|
||||
appearance.layout=1
|
||||
appearance.notifybar=yes
|
||||
appearance.sidebarwidth=0
|
||||
appearance.theme=red on default
|
||||
appearance.todoview=show-completed
|
||||
appearance.headingpos=right-justified
|
||||
daemon.enable=no
|
||||
daemon.log=no
|
||||
format.inputdate=1
|
||||
format.notifydate=%a %F
|
||||
format.notifytime=%T
|
||||
format.outputdate=%D
|
||||
format.dayheading=%B %-d, %Y
|
||||
general.autogc=no
|
||||
general.autosave=yes
|
||||
general.confirmdelete=yes
|
||||
general.confirmquit=yes
|
||||
general.firstdayofweek=monday
|
||||
general.periodicsave=0
|
||||
general.progressbar=yes
|
||||
general.systemdialogs=yes
|
||||
notification.command=printf '\a'
|
||||
notification.notifyall=flagged-only
|
||||
notification.warning=300
|
||||
#+END_SRC
|
||||
|
||||
* GnuPG
|
||||
@@ -463,8 +409,8 @@ notification.warning=300
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
max-cache-ttl 60480000
|
||||
default-cache-ttl 60480000
|
||||
max-cache-ttl 60480000
|
||||
default-cache-ttl 60480000
|
||||
#+END_SRC
|
||||
|
||||
* Dunst
|
||||
@@ -752,24 +698,16 @@ default-cache-ttl 60480000
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
# =============================================================
|
||||
next_img L space
|
||||
prev_img BackSpace H
|
||||
# =============================================================
|
||||
next_img L space
|
||||
prev_img BackSpace H
|
||||
|
||||
scroll_up k Up
|
||||
scroll_down j Down
|
||||
scroll_right l Right
|
||||
scroll_left h Left
|
||||
|
||||
# =============================================================
|
||||
scroll_up k Up
|
||||
scroll_down j Down
|
||||
scroll_right l Right
|
||||
scroll_left h Left
|
||||
# =============================================================
|
||||
|
||||
|
||||
# =============================================================
|
||||
toggle_fullscreen f
|
||||
save_filelist F
|
||||
# =============================================================
|
||||
toggle_fullscreen f
|
||||
save_filelist F
|
||||
#+END_SRC
|
||||
|
||||
* MPV
|
||||
@@ -1084,152 +1022,6 @@ stop-screensaver = "yes"
|
||||
# =============================================================
|
||||
#+END_SRC
|
||||
|
||||
* Systemd
|
||||
** Buku Git
|
||||
*** Service
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/systemd/user/bukugit.service
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
[Unit]
|
||||
Description=Sync Bookmarks every day
|
||||
RefuseManualStart=no
|
||||
RefuseManualStop=yes
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/home/tdehaeze/scripts/buku_git_push.sh
|
||||
#+END_SRC
|
||||
|
||||
*** Timer
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/systemd/user/bukugit.timer
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
[Unit]
|
||||
Description=Sync All Mails every x hours
|
||||
RefuseManualStart=no
|
||||
RefuseManualStop=no
|
||||
After=network.target network-online.target dbus.socket
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*-*-* 16:00:00
|
||||
Persistent=true
|
||||
Unit=bukugit.service
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
#+END_SRC
|
||||
|
||||
** Check mail
|
||||
*** Service
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/systemd/user/checkmail.service
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
[Unit]
|
||||
Description=Check new mails
|
||||
RefuseManualStart=no
|
||||
RefuseManualStop=yes
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/home/tdehaeze/scripts/checkmail.sh
|
||||
#+END_SRC
|
||||
|
||||
*** Timer
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/systemd/user/checkmail.timer
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
[Unit]
|
||||
Description=Check Mail every x minutes
|
||||
RefuseManualStart=no
|
||||
RefuseManualStop=no
|
||||
After=network.target network-online.target dbus.socket
|
||||
|
||||
[Timer]
|
||||
Persistent=false
|
||||
OnBootSec=2min
|
||||
OnUnitActiveSec=5min
|
||||
Unit=checkmail.service
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
#+END_SRC
|
||||
|
||||
** Sync mail
|
||||
*** Service
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/systemd/user/syncmail.timer
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
[Unit]
|
||||
Description=Sync all mails
|
||||
RefuseManualStart=no
|
||||
RefuseManualStop=yes
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/home/tdehaeze/scripts/checkmail.sh all
|
||||
#+END_SRC
|
||||
|
||||
*** Timer
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/systemd/user/syncmail.timer
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
[Unit]
|
||||
Description=Sync All Mails every x hours
|
||||
RefuseManualStart=no
|
||||
RefuseManualStop=no
|
||||
After=network.target network-online.target dbus.socket
|
||||
|
||||
[Timer]
|
||||
Persistent=false
|
||||
OnBootSec=30min
|
||||
OnUnitActiveSec=300min
|
||||
Unit=syncmail.service
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
#+END_SRC
|
||||
|
||||
** Emacs
|
||||
*** Service
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/systemd/user/emacs.service
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
[Unit]
|
||||
Description=Emacs text editor
|
||||
Documentation=info:emacs man:emacs(1) https://gnu.org/software/emacs/
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/emacs --fg-daemon
|
||||
ExecStop=/usr/bin/emacsclient --eval "(kill-emacs)"
|
||||
Environment=SSH_AUTH_SOCK=%t/keyring/ssh
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
#+END_SRC
|
||||
|
||||
* Zathura
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/zathura/zathurarc
|
||||
@@ -1237,34 +1029,34 @@ WantedBy=default.target
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
# Include the theme file
|
||||
include zathurarc.theme
|
||||
# Include the theme file
|
||||
include zathurarc.theme
|
||||
|
||||
# Use clipboard
|
||||
set selection-clipboard clipboard
|
||||
# Use clipboard
|
||||
set selection-clipboard clipboard
|
||||
|
||||
# Remove padding
|
||||
set statusbar-h-padding 0
|
||||
set statusbar-v-padding 0
|
||||
# Remove padding
|
||||
set statusbar-h-padding 0
|
||||
set statusbar-v-padding 0
|
||||
|
||||
# Padding between pages
|
||||
set page-padding 1
|
||||
# Padding between pages
|
||||
set page-padding 1
|
||||
|
||||
map u scroll half-up
|
||||
map d scroll half-down
|
||||
map u scroll half-up
|
||||
map d scroll half-down
|
||||
|
||||
map D toggle_page_mode
|
||||
map D toggle_page_mode
|
||||
|
||||
map r reload
|
||||
map R rotate
|
||||
map r reload
|
||||
map R rotate
|
||||
|
||||
map L zoom in
|
||||
map H zoom out
|
||||
map L zoom in
|
||||
map H zoom out
|
||||
|
||||
map i recolor
|
||||
map p print
|
||||
map i recolor
|
||||
map p print
|
||||
|
||||
map m toggle_statusbar
|
||||
map m toggle_statusbar
|
||||
#+END_SRC
|
||||
|
||||
* Compton
|
||||
@@ -1273,10 +1065,8 @@ map m toggle_statusbar
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
|
||||
** Shadow
|
||||
#+BEGIN_SRC conf
|
||||
# ============================================================
|
||||
# Shadow
|
||||
# ============================================================
|
||||
shadow = false;
|
||||
# no-dnd-shadow = true;
|
||||
no-dock-shadow = true;
|
||||
@@ -1304,10 +1094,10 @@ shadow-exclude = [
|
||||
|
||||
# shadow-exclude-reg = "x10+0+0";
|
||||
# xinerama-shadow-crop = true;
|
||||
# ============================================================
|
||||
#+END_SRC
|
||||
|
||||
|
||||
# ============================================================
|
||||
#+BEGIN_SRC conf
|
||||
menu-opacity = 1.0;
|
||||
inactive-opacity = 0.9;
|
||||
active-opacity = 1.0;
|
||||
@@ -1316,21 +1106,18 @@ alpha-step = 0.0;
|
||||
inactive-dim = 0.05;
|
||||
blur-background = true;
|
||||
blur-kern = "3x3box";
|
||||
# ============================================================
|
||||
#+END_SRC
|
||||
|
||||
|
||||
# ============================================================
|
||||
# Fading - TODO
|
||||
# ============================================================
|
||||
** TODO Fading
|
||||
#+BEGIN_SRC conf
|
||||
fading = false;
|
||||
fade-delta = 1;
|
||||
fade-in-step = 0.03;
|
||||
fade-out-step = 0.03;
|
||||
fade-exclude = [ ];
|
||||
# ============================================================
|
||||
#+END_SRC
|
||||
|
||||
|
||||
# ============================================================
|
||||
#+BEGIN_SRC conf
|
||||
backend = "xrender";
|
||||
mark-wmwin-focused = true;
|
||||
mark-ovredir-focused = true;
|
||||
@@ -1346,12 +1133,10 @@ detect-client-leader = true;
|
||||
invert-color-include = [ ];
|
||||
glx-copy-from-front = false;
|
||||
glx-swap-method = "undefined";
|
||||
# ============================================================
|
||||
#+END_SRC
|
||||
|
||||
|
||||
# ============================================================
|
||||
# Opacity Rules for specific windows
|
||||
# ============================================================
|
||||
Opacity Rules for specific windows
|
||||
#+BEGIN_SRC conf
|
||||
#opacity-rule = [
|
||||
#"99:name *?= 'Call'",
|
||||
#"99:class_g = 'Chromium'",
|
||||
@@ -1382,10 +1167,9 @@ glx-swap-method = "undefined";
|
||||
#"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
|
||||
#"96:_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'"
|
||||
#];
|
||||
# ============================================================
|
||||
#+END_SRC
|
||||
|
||||
|
||||
# ============================================================
|
||||
#+BEGIN_SRC conf
|
||||
wintypes :
|
||||
{
|
||||
tooltip :
|
||||
@@ -1403,7 +1187,6 @@ wintypes :
|
||||
focus = true;
|
||||
};
|
||||
};
|
||||
# ============================================================
|
||||
#+END_SRC
|
||||
|
||||
* Locale
|
||||
@@ -1413,20 +1196,20 @@ wintypes :
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
LANG=en_US.UTF-8
|
||||
LC_CTYPE="en_US.UTF-8"
|
||||
LC_NUMERIC=fr_FR.UTF-8
|
||||
LC_TIME=fr_FR.UTF-8
|
||||
LC_COLLATE="en_US.UTF-8"
|
||||
LC_MONETARY=fr_FR.UTF-8
|
||||
LC_MESSAGES="en_US.UTF-8"
|
||||
LC_PAPER=fr_FR.UTF-8
|
||||
LC_NAME=fr_FR.UTF-8
|
||||
LC_ADDRESS=fr_FR.UTF-8
|
||||
LC_TELEPHONE=fr_FR.UTF-8
|
||||
LC_MEASUREMENT=fr_FR.UTF-8
|
||||
LC_IDENTIFICATION=fr_FR.UTF-8
|
||||
LC_ALL=
|
||||
LANG=en_US.UTF-8
|
||||
LC_CTYPE="en_US.UTF-8"
|
||||
LC_NUMERIC=fr_FR.UTF-8
|
||||
LC_TIME=fr_FR.UTF-8
|
||||
LC_COLLATE="en_US.UTF-8"
|
||||
LC_MONETARY=fr_FR.UTF-8
|
||||
LC_MESSAGES="en_US.UTF-8"
|
||||
LC_PAPER=fr_FR.UTF-8
|
||||
LC_NAME=fr_FR.UTF-8
|
||||
LC_ADDRESS=fr_FR.UTF-8
|
||||
LC_TELEPHONE=fr_FR.UTF-8
|
||||
LC_MEASUREMENT=fr_FR.UTF-8
|
||||
LC_IDENTIFICATION=fr_FR.UTF-8
|
||||
LC_ALL=
|
||||
#+END_SRC
|
||||
|
||||
* Mime applications
|
||||
@@ -1436,73 +1219,64 @@ LC_ALL=
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
[Default Applications]
|
||||
image/jpeg=feh.desktop
|
||||
image/png=feh.desktop;
|
||||
text/plain=nvim.desktop
|
||||
x-scheme-handler/mailto=neomutt.desktop
|
||||
message/rfc822=neomutt.desktop
|
||||
application/x-bittorrent=deluge.desktop
|
||||
application/pdf=zathura.desktop
|
||||
x-scheme-handler/http=qutebrowser.desktop
|
||||
x-scheme-handler/https=qutebrowser.desktop
|
||||
x-scheme-handler/ftp=qutebrowser.desktop
|
||||
x-scheme-handler/chrome=qutebrowser.desktop
|
||||
text/html=qutebrowser.desktop
|
||||
application/x-extension-htm=qutebrowser.desktop
|
||||
application/x-extension-html=qutebrowser.desktop
|
||||
application/x-extension-shtml=qutebrowser.desktop
|
||||
application/xhtml+xml=qutebrowser.desktop
|
||||
application/x-extension-xhtml=qutebrowser.desktop
|
||||
application/x-extension-xht=qutebrowser.desktop
|
||||
[Default Applications]
|
||||
image/jpeg=feh.desktop
|
||||
image/png=feh.desktop;
|
||||
text/plain=nvim.desktop
|
||||
x-scheme-handler/mailto=neomutt.desktop
|
||||
message/rfc822=neomutt.desktop
|
||||
application/x-bittorrent=deluge.desktop
|
||||
application/pdf=zathura.desktop
|
||||
x-scheme-handler/http=qutebrowser.desktop
|
||||
x-scheme-handler/https=qutebrowser.desktop
|
||||
x-scheme-handler/ftp=qutebrowser.desktop
|
||||
x-scheme-handler/chrome=qutebrowser.desktop
|
||||
text/html=qutebrowser.desktop
|
||||
application/x-extension-htm=qutebrowser.desktop
|
||||
application/x-extension-html=qutebrowser.desktop
|
||||
application/x-extension-shtml=qutebrowser.desktop
|
||||
application/xhtml+xml=qutebrowser.desktop
|
||||
application/x-extension-xhtml=qutebrowser.desktop
|
||||
application/x-extension-xht=qutebrowser.desktop
|
||||
|
||||
[Added Associations]
|
||||
image/jpeg=viewnior.desktop;gpicview.desktop;
|
||||
image/png=viewnior.desktop;gpicview.desktop;
|
||||
text/plain=mousepad.desktop;
|
||||
application/x-bittorrent=deluge.desktop;
|
||||
[Added Associations]
|
||||
image/jpeg=viewnior.desktop;gpicview.desktop;
|
||||
image/png=viewnior.desktop;gpicview.desktop;
|
||||
text/plain=mousepad.desktop;
|
||||
application/x-bittorrent=deluge.desktop;
|
||||
#+END_SRC
|
||||
|
||||
* Bukurun
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/buku_run/config
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:header-args+: :shebang "#!/usr/bin/env bash"
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# =============================================================
|
||||
_rofi () {
|
||||
rofi -dmenu -i -no-levenshtein-sort -width 1000 "$@"
|
||||
}
|
||||
# =============================================================
|
||||
#+END_SRC
|
||||
|
||||
|
||||
# =============================================================
|
||||
# display settings
|
||||
# =============================================================
|
||||
display settings
|
||||
#+BEGIN_SRC conf
|
||||
display_type=1
|
||||
max_str_width=80
|
||||
# =============================================================
|
||||
#+END_SRC
|
||||
|
||||
|
||||
# =============================================================
|
||||
# keybindings
|
||||
# =============================================================
|
||||
keybindings
|
||||
#+BEGIN_SRC conf
|
||||
switch_view="Alt+Tab"
|
||||
new_bookmark="Alt+n"
|
||||
actions="Alt+a"
|
||||
edit="Alt+e"
|
||||
delete="Alt+d"
|
||||
# =============================================================
|
||||
#+END_SRC
|
||||
|
||||
|
||||
# =============================================================
|
||||
# colors
|
||||
# =============================================================
|
||||
colors
|
||||
#+BEGIN_SRC conf
|
||||
help_color="#2d7ed8"
|
||||
# =============================================================
|
||||
#+END_SRC
|
||||
|
||||
* Clipit - Clipboard Manager
|
||||
@@ -1512,32 +1286,33 @@ help_color="#2d7ed8"
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
[rc]
|
||||
use_copy=true
|
||||
use_primary=false
|
||||
synchronize=false
|
||||
automatic_paste=false
|
||||
show_indexes=false
|
||||
save_uris=false
|
||||
use_rmb_menu=false
|
||||
save_history=false
|
||||
history_limit=50
|
||||
items_menu=20
|
||||
statics_show=false
|
||||
statics_items=10
|
||||
hyperlinks_only=false
|
||||
confirm_clear=false
|
||||
single_line=false
|
||||
reverse_history=false
|
||||
item_length=50
|
||||
ellipsize=2
|
||||
history_key=
|
||||
actions_key=
|
||||
menu_key=
|
||||
search_key=
|
||||
offline_key=
|
||||
offline_mode=false
|
||||
[rc]
|
||||
use_copy=true
|
||||
use_primary=false
|
||||
synchronize=false
|
||||
automatic_paste=false
|
||||
show_indexes=false
|
||||
save_uris=false
|
||||
use_rmb_menu=false
|
||||
save_history=false
|
||||
history_limit=50
|
||||
items_menu=20
|
||||
statics_show=false
|
||||
statics_items=10
|
||||
hyperlinks_only=false
|
||||
confirm_clear=false
|
||||
single_line=false
|
||||
reverse_history=false
|
||||
item_length=50
|
||||
ellipsize=2
|
||||
history_key=
|
||||
actions_key=
|
||||
menu_key=
|
||||
search_key=
|
||||
offline_key=
|
||||
offline_mode=false
|
||||
#+END_SRC
|
||||
|
||||
* Conky
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/conky/conky.conf
|
||||
@@ -1621,6 +1396,7 @@ offline_mode=false
|
||||
|
||||
]]
|
||||
#+END_SRC
|
||||
|
||||
* Scrot
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/i3-scrot.conf
|
||||
@@ -1628,7 +1404,7 @@ offline_mode=false
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
scrot_dir=$HOME/Pictures
|
||||
scrot_dir=$HOME/Pictures
|
||||
#+END_SRC
|
||||
|
||||
* Khal
|
||||
@@ -1638,15 +1414,15 @@ scrot_dir=$HOME/Pictures
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
[calendars]
|
||||
[calendars]
|
||||
|
||||
[[home]]
|
||||
path = ~/.calendars/google/dehaeze.thomas@gmail.com/
|
||||
color = dark green
|
||||
path = ~/.calendars/google/dehaeze.thomas@gmail.com/
|
||||
color = dark green
|
||||
|
||||
[[work]]
|
||||
path = ~/.calendars/google/8kjmhe2ar0abnm054ill1fb0gc@group.calendar.google.com/
|
||||
color = dark red
|
||||
path = ~/.calendars/google/8kjmhe2ar0abnm054ill1fb0gc@group.calendar.google.com/
|
||||
color = dark red
|
||||
#+END_SRC
|
||||
* Nitrogen
|
||||
:PROPERTIES:
|
||||
@@ -1676,8 +1452,8 @@ scrot_dir=$HOME/Pictures
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
[github.com*]
|
||||
target=github.com/tdehaeze
|
||||
[github.com*]
|
||||
target=github.com/tdehaeze
|
||||
#+END_SRC
|
||||
|
||||
* Pavu Control
|
||||
@@ -1687,14 +1463,14 @@ target=github.com/tdehaeze
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
[window]
|
||||
width=500
|
||||
height=400
|
||||
sinkInputType=1
|
||||
sourceOutputType=1
|
||||
sinkType=0
|
||||
sourceType=1
|
||||
showVolumeMeters=1
|
||||
[window]
|
||||
width=500
|
||||
height=400
|
||||
sinkInputType=1
|
||||
sourceOutputType=1
|
||||
sinkType=0
|
||||
sourceType=1
|
||||
showVolumeMeters=1
|
||||
#+END_SRC
|
||||
|
||||
* PCmanfm
|
||||
@@ -1704,32 +1480,32 @@ showVolumeMeters=1
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
[config]
|
||||
bm_open_method=0
|
||||
[config]
|
||||
bm_open_method=0
|
||||
|
||||
[volume]
|
||||
mount_on_startup=1
|
||||
mount_removable=1
|
||||
autorun=1
|
||||
[volume]
|
||||
mount_on_startup=1
|
||||
mount_removable=1
|
||||
autorun=1
|
||||
|
||||
[ui]
|
||||
always_show_tabs=0
|
||||
max_tab_chars=32
|
||||
win_width=1263
|
||||
win_height=690
|
||||
splitter_pos=150
|
||||
media_in_new_tab=0
|
||||
desktop_folder_new_win=0
|
||||
change_tab_on_drop=1
|
||||
close_on_unmount=1
|
||||
focus_previous=0
|
||||
side_pane_mode=places
|
||||
view_mode=icon
|
||||
show_hidden=0
|
||||
sort=mtime;descending;
|
||||
toolbar=newtab;navigation;home;
|
||||
show_statusbar=1
|
||||
pathbar_mode_buttons=0
|
||||
[ui]
|
||||
always_show_tabs=0
|
||||
max_tab_chars=32
|
||||
win_width=1263
|
||||
win_height=690
|
||||
splitter_pos=150
|
||||
media_in_new_tab=0
|
||||
desktop_folder_new_win=0
|
||||
change_tab_on_drop=1
|
||||
close_on_unmount=1
|
||||
focus_previous=0
|
||||
side_pane_mode=places
|
||||
view_mode=icon
|
||||
show_hidden=0
|
||||
sort=mtime;descending;
|
||||
toolbar=newtab;navigation;home;
|
||||
show_statusbar=1
|
||||
pathbar_mode_buttons=0
|
||||
#+END_SRC
|
||||
|
||||
* Vdirsyncer
|
||||
@@ -1767,25 +1543,26 @@ pathbar_mode_buttons=0
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
[prefs]
|
||||
zoom-mode=0
|
||||
fit-on-fullscreen=true
|
||||
show-hidden=false
|
||||
smooth-images=true
|
||||
confirm-delete=true
|
||||
reload-on-save=false
|
||||
show-menu-bar=false
|
||||
show-toolbar=true
|
||||
show-scrollbar=true
|
||||
start-maximized=false
|
||||
slideshow-timeout=5
|
||||
auto-resize=false
|
||||
behavior-wheel=1
|
||||
behavior-click=0
|
||||
behavior-modify=0
|
||||
jpeg-quality=90
|
||||
png-compression=9
|
||||
desktop=9
|
||||
[prefs]
|
||||
zoom-mode=0
|
||||
fit-on-fullscreen=true
|
||||
show-hidden=false
|
||||
smooth-images=true
|
||||
confirm-delete=true
|
||||
reload-on-save=false
|
||||
show-menu-bar=false
|
||||
show-toolbar=true
|
||||
show-scrollbar=true
|
||||
start-maximized=false
|
||||
slideshow-timeout=5
|
||||
auto-resize=false
|
||||
behavior-wheel=1
|
||||
behavior-click=0
|
||||
behavior-modify=0
|
||||
jpeg-quality=90
|
||||
png-compression=9
|
||||
desktop=9
|
||||
#+END_SRC
|
||||
* TODO Binaries
|
||||
* TODO Scripts
|
||||
|
||||
* TODO [#A] Binaries
|
||||
* TODO [#A] Scripts
|
||||
|
@@ -161,7 +161,7 @@
|
||||
autocrlf = input
|
||||
|
||||
# Open vim, start Goyo and enter insert mode on the first line
|
||||
editor = "nvim -u ~/.vim/vimrc.git -c ':Goyo' -c 'goto 1' -c 'startinsert'"
|
||||
editor = "nvim -c ':Goyo' -c 'goto 1' -c 'startinsert'"
|
||||
#+END_SRC
|
||||
|
||||
** Credentials using pass
|
||||
@@ -173,17 +173,6 @@
|
||||
username = tdehaeze
|
||||
#+END_SRC
|
||||
|
||||
** Magithub
|
||||
#+BEGIN_SRC conf
|
||||
[magithub]
|
||||
online = false
|
||||
|
||||
[magithub "status"]
|
||||
includeStatusHeader = false
|
||||
includePullRequestsSection = false
|
||||
includeIssuesSection = false
|
||||
#+END_SRC
|
||||
|
||||
** Diff-so-fancy
|
||||
#+begin_src conf
|
||||
[diff-so-fancy]
|
||||
|
@@ -23,8 +23,8 @@ hide_edge_borders none
|
||||
font SauceCodePro Nerd Font 11
|
||||
#+end_src
|
||||
|
||||
* Multimedia keys
|
||||
#+begin_src conf
|
||||
* TODO Multimedia keys
|
||||
#+begin_src conf :tangle no
|
||||
# Sound
|
||||
bindsym XF86AudioMute exec --no-startup-id amixer -D pulse sset Master toggle
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -D pulse sset Master 5%+
|
||||
@@ -54,7 +54,7 @@ bindsym XF86LaunchB fullscreen toggle
|
||||
# Windows Switch
|
||||
bindsym $mod+w exec --no-startup-id rofi -show window
|
||||
# CheatSheets
|
||||
bindsym $mod+Shift+c exec --no-startup-id rofi -show CheatSheets -modi CheatSheets:~/scripts/rofi_cheatsheets.sh
|
||||
# bindsym $mod+Shift+c exec --no-startup-id rofi -show CheatSheets -modi CheatSheets:~/scripts/rofi_cheatsheets.sh
|
||||
# Program Launcher with Icons
|
||||
# bindsym $mod+Shift+d exec --no-startup-id rofi -show drun -show-icons
|
||||
# Launch categorized menu
|
||||
@@ -99,13 +99,13 @@ bindsym XF86LaunchB fullscreen toggle
|
||||
bindsym $mod+Shift+t exec --no-startup-id ~/.config/polybar/scripts/toggle.sh top
|
||||
#+end_src
|
||||
|
||||
* Vim Anywhere
|
||||
* TODO Vim Anywhere
|
||||
#+begin_src conf
|
||||
# bindsym $mod+t exec vim-anywhere nvim termite
|
||||
#+end_src
|
||||
|
||||
* TODO Screenshot - Change to simplier keys
|
||||
#+begin_src conf
|
||||
#+begin_src conf :tangle no
|
||||
bindsym Print exec --no-startup-id i3-scrot
|
||||
bindsym $mod+Print --release exec --no-startup-id i3-scrot -w
|
||||
bindsym $mod+Shift+Print --release exec --no-startup-id i3-scrot -s
|
||||
@@ -171,32 +171,32 @@ bindsym $mod+f fullscreen toggle
|
||||
|
||||
** TODO Toggle tiling / floating
|
||||
#+begin_src conf
|
||||
bindsym $mod+Shift+space floating toggle
|
||||
bindsym $mod+Shift+space floating toggle
|
||||
#+end_src
|
||||
|
||||
** TODO Change focus between tiling / floating windows
|
||||
#+begin_src conf
|
||||
# bindsym $mod+space focus mode_toggle
|
||||
# bindsym $mod+space focus mode_toggle
|
||||
#+end_src
|
||||
|
||||
** TODO Toggle sticky
|
||||
#+begin_src conf
|
||||
bindsym $mod+Shift+s sticky toggle
|
||||
bindsym $mod+Shift+s sticky toggle
|
||||
#+end_src
|
||||
|
||||
** TODO Focus the parent container
|
||||
#+begin_src conf
|
||||
bindsym $mod+a focus parent
|
||||
bindsym $mod+a focus parent
|
||||
#+end_src
|
||||
|
||||
* Scratchpad
|
||||
#+begin_src conf
|
||||
# move the currently focused window to the scratchpad
|
||||
bindsym $mod+Shift+BackSpace move scratchpad
|
||||
# move the currently focused window to the scratchpad
|
||||
bindsym $mod+Shift+BackSpace move scratchpad
|
||||
|
||||
# Show the next scratchpad window or hide the focused scratchpad window.
|
||||
# If there are multiple scratchpad windows, this command cycles through them.
|
||||
bindsym $mod+BackSpace scratchpad show
|
||||
# Show the next scratchpad window or hide the focused scratchpad window.
|
||||
# If there are multiple scratchpad windows, this command cycles through them.
|
||||
bindsym $mod+BackSpace scratchpad show
|
||||
#+end_src
|
||||
|
||||
* Custom Cratchpad for Quick Access
|
||||
@@ -460,10 +460,10 @@ To display names or symbols instead of plain workspace numbers you can use somet
|
||||
* Autostart Background Applications
|
||||
#+begin_src conf
|
||||
# Authentication agent
|
||||
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
# exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
|
||||
# Set custom wallpaper script
|
||||
exec --no-startup-id $HOME/scripts/wallpaper.sh
|
||||
# exec --no-startup-id $HOME/scripts/wallpaper.sh
|
||||
|
||||
# Run Compton
|
||||
exec --no-startup-id compton -b
|
||||
@@ -485,13 +485,13 @@ To display names or symbols instead of plain workspace numbers you can use somet
|
||||
exec --no-startup-id udiskie
|
||||
|
||||
# Screen options
|
||||
exec --no-startup-id xrandr --output eDP1 --mode 1680x1050 --dpi 192
|
||||
exec --no-startup-id xrandr --output eDP1 --mode 1920x1080 --dpi 192
|
||||
|
||||
# Redshift
|
||||
exec --no-startup-id redshift
|
||||
|
||||
# Start mopidy
|
||||
exec --no-startup-id mopidy
|
||||
# exec --no-startup-id mopidy
|
||||
|
||||
# Emacs Daemon
|
||||
exec --no-startup-id /usr/bin/emacs --fg-daemon
|
||||
@@ -503,7 +503,7 @@ To display names or symbols instead of plain workspace numbers you can use somet
|
||||
* Start Foreground Applications
|
||||
#+begin_src conf
|
||||
# Emacs
|
||||
exec --no-startup-id i3-msg 'exec emacsclient -create-frame --alternate-editor=""'
|
||||
# exec --no-startup-id i3-msg 'exec emacsclient -create-frame --alternate-editor=""'
|
||||
|
||||
# Megasync
|
||||
exec --no-startup-id i3-msg 'exec megasync'
|
||||
|
@@ -637,7 +637,7 @@ color body red default "([a-z][a-z0-9+-]*://(((([a-z0-9_.!~*'();:&=+$,-]
|
||||
set sidebar_sort_method = 'unsorted'
|
||||
#+END_SRC
|
||||
|
||||
** TODO [#A] Searching using Mu
|
||||
** Searching using Mu
|
||||
#+begin_src conf
|
||||
# mutt macros for mu
|
||||
macro index,pager \Cf "<shell-escape>mu find --clearlinks --format=links --linksdir=~/.mail/search " \
|
||||
@@ -667,7 +667,7 @@ color body red default "([a-z][a-z0-9+-]*://(((([a-z0-9_.!~*'();:&=+$,-]
|
||||
#+END_SRC
|
||||
|
||||
** TODO Mailcap configuration
|
||||
** TODO Print
|
||||
** TODO [#A] Print
|
||||
https://unix.stackexchange.com/questions/20456/pretty-print-mails-from-mutt
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
|
@@ -45,9 +45,9 @@ black = ${#000000}
|
||||
|
||||
* VM
|
||||
#+begin_src conf
|
||||
[global/wm]
|
||||
margin-top = 5
|
||||
margin-bottom = 5
|
||||
[global/wm]
|
||||
margin-top = 5
|
||||
margin-bottom = 5
|
||||
#+end_src
|
||||
|
||||
* Top Bar
|
||||
@@ -81,7 +81,8 @@ margin-bottom = 5
|
||||
|
||||
modules-left = i3
|
||||
modules-center = xwindow
|
||||
modules-right = unread_mail cpu battery temperature date
|
||||
# modules-right = unread_mail cpu battery temperature date
|
||||
modules-right = date
|
||||
|
||||
tray-position = right
|
||||
tray-padding = 2
|
||||
@@ -122,9 +123,11 @@ margin-bottom = 5
|
||||
font-2 = Weather Icons:size=10;1
|
||||
# font-3 = siji:pixelsize=10;1
|
||||
|
||||
modules-left = mpd pulseaudio
|
||||
modules-left =
|
||||
# modules-left = mpd pulseaudio
|
||||
# modules-center = xwindow
|
||||
modules-right = filesystem xkeyboard nordvpn chromecast screenshot weather emacs caffeine redshift
|
||||
# modules-right = filesystem xkeyboard nordvpn chromecast screenshot weather emacs caffeine redshift
|
||||
modules-right =
|
||||
|
||||
# tray-position = right
|
||||
# tray-padding = 2
|
||||
@@ -185,17 +188,17 @@ margin-bottom = 5
|
||||
|
||||
** TODO - Choose some nice icons
|
||||
#+BEGIN_SRC conf
|
||||
ws-icon-default =
|
||||
ws-icon-0 = 1;
|
||||
ws-icon-1 = 2;
|
||||
ws-icon-2 = 3;
|
||||
ws-icon-3 = 4;
|
||||
ws-icon-4 = 5;
|
||||
ws-icon-default =
|
||||
ws-icon-0 = 1;
|
||||
ws-icon-1 = 2;
|
||||
ws-icon-2 = 3;
|
||||
ws-icon-3 = 4;
|
||||
ws-icon-4 = 5;
|
||||
#+END_SRC
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
format = <label-state> <label-mode>
|
||||
index-sort = true
|
||||
format = <label-state> <label-mode>
|
||||
index-sort = true
|
||||
#+END_SRC
|
||||
|
||||
** Colors
|
||||
|
@@ -3,101 +3,100 @@
|
||||
#+PROPERTY: header-args+ :mkdirp yes
|
||||
#+PROPERTY: header-args+ :tangle ~/.config/termite/config
|
||||
|
||||
* Options
|
||||
#+BEGIN_SRC conf
|
||||
[options]
|
||||
#allow_bold = true
|
||||
#audible_bell = false
|
||||
#bold_is_bright = true
|
||||
clickable_url = true
|
||||
#dynamic_title = true
|
||||
font = SauceCodePro Nerd Font Mono 10
|
||||
#fullscreen = true
|
||||
#icon_name = terminal
|
||||
mouse_autohide = true
|
||||
#scroll_on_output = false
|
||||
#scroll_on_keystroke = true
|
||||
# Length of the scrollback buffer, 0 disabled the scrollback buffer
|
||||
# and setting it to a negative value means "infinite scrollback"
|
||||
scrollback_lines = 10000
|
||||
#search_wrap = true
|
||||
#urgent_on_bell = true
|
||||
#hyperlinks = false
|
||||
[options]
|
||||
#allow_bold = true
|
||||
#audible_bell = false
|
||||
#bold_is_bright = true
|
||||
clickable_url = true
|
||||
#dynamic_title = true
|
||||
font = SauceCodePro Nerd Font Mono 10
|
||||
#fullscreen = true
|
||||
#icon_name = terminal
|
||||
mouse_autohide = true
|
||||
#scroll_on_output = false
|
||||
#scroll_on_keystroke = true
|
||||
# Length of the scrollback buffer, 0 disabled the scrollback buffer
|
||||
# and setting it to a negative value means "infinite scrollback"
|
||||
scrollback_lines = 10000
|
||||
#search_wrap = true
|
||||
#urgent_on_bell = true
|
||||
#hyperlinks = false
|
||||
|
||||
# $BROWSER is used by default if set, with xdg-open as a fallback
|
||||
#browser = xdg-open
|
||||
# $BROWSER is used by default if set, with xdg-open as a fallback
|
||||
#browser = xdg-open
|
||||
|
||||
# Hide links that are no longer valid in url select overlay mode
|
||||
#filter_unmatched_urls = true
|
||||
# Hide links that are no longer valid in url select overlay mode
|
||||
#filter_unmatched_urls = true
|
||||
|
||||
# Emit escape sequences for extra modified keys
|
||||
#modify_other_keys = false
|
||||
# Emit escape sequences for extra modified keys
|
||||
#modify_other_keys = false
|
||||
|
||||
# set size hints for the window
|
||||
#size_hints = false
|
||||
# set size hints for the window
|
||||
#size_hints = false
|
||||
|
||||
# "off", "left" or "right"
|
||||
#scrollbar = off
|
||||
# "off", "left" or "right"
|
||||
#scrollbar = off
|
||||
|
||||
highlight = #2f2f2f
|
||||
|
||||
[hints]
|
||||
|
||||
#padding = 2
|
||||
#border = #3f3f3f
|
||||
#border_width = 0.5
|
||||
#roundness = 2.0
|
||||
|
||||
# Scheme: Chris Kempson (http://chriskempson.com)
|
||||
|
||||
### END COLORS
|
||||
|
||||
[colors]
|
||||
# Base16 Solarized Light
|
||||
# Author: Ethan Schoonover (modified by aramisgithub)
|
||||
|
||||
foreground = #586e75
|
||||
foreground_bold = #073642
|
||||
cursor = #073642
|
||||
cursor_foreground = #fdf6e3
|
||||
background = rgb(253, 246, 227)
|
||||
|
||||
# 16 color space
|
||||
|
||||
# Black, Gray, Silver, White
|
||||
color0 = #fdf6e3
|
||||
color8 = #839496
|
||||
color7 = #586e75
|
||||
color15 = #002b36
|
||||
|
||||
# Red
|
||||
color1 = #dc322f
|
||||
color9 = #dc322f
|
||||
|
||||
# Green
|
||||
color2 = #859900
|
||||
color10 = #859900
|
||||
|
||||
# Yellow
|
||||
color3 = #b58900
|
||||
color11 = #b58900
|
||||
|
||||
# Blue
|
||||
color4 = #268bd2
|
||||
color12 = #268bd2
|
||||
|
||||
# Purple
|
||||
color5 = #6c71c4
|
||||
color13 = #6c71c4
|
||||
|
||||
# Teal
|
||||
color6 = #2aa198
|
||||
color14 = #2aa198
|
||||
|
||||
# Extra colors
|
||||
color16 = #cb4b16
|
||||
color17 = #d33682
|
||||
color18 = #eee8d5
|
||||
color19 = #93a1a1
|
||||
color20 = #657b83
|
||||
color21 = #073642
|
||||
highlight = #2f2f2f
|
||||
#+END_SRC
|
||||
|
||||
* Hints
|
||||
#+BEGIN_SRC conf
|
||||
[hints]
|
||||
#padding = 2
|
||||
#border = #3f3f3f
|
||||
#border_width = 0.5
|
||||
#roundness = 2.0
|
||||
#+END_SRC
|
||||
|
||||
* Colors
|
||||
#+BEGIN_SRC conf
|
||||
[colors]
|
||||
foreground = #586e75
|
||||
foreground_bold = #073642
|
||||
cursor = #073642
|
||||
cursor_foreground = #fdf6e3
|
||||
background = rgb(253, 246, 227)
|
||||
|
||||
# 16 color space
|
||||
|
||||
# Black, Gray, Silver, White
|
||||
color0 = #fdf6e3
|
||||
color8 = #839496
|
||||
color7 = #586e75
|
||||
color15 = #002b36
|
||||
|
||||
# Red
|
||||
color1 = #dc322f
|
||||
color9 = #dc322f
|
||||
|
||||
# Green
|
||||
color2 = #859900
|
||||
color10 = #859900
|
||||
|
||||
# Yellow
|
||||
color3 = #b58900
|
||||
color11 = #b58900
|
||||
|
||||
# Blue
|
||||
color4 = #268bd2
|
||||
color12 = #268bd2
|
||||
|
||||
# Purple
|
||||
color5 = #6c71c4
|
||||
color13 = #6c71c4
|
||||
|
||||
# Teal
|
||||
color6 = #2aa198
|
||||
color14 = #2aa198
|
||||
|
||||
# Extra colors
|
||||
color16 = #cb4b16
|
||||
color17 = #d33682
|
||||
color18 = #eee8d5
|
||||
color19 = #93a1a1
|
||||
color20 = #657b83
|
||||
color21 = #073642
|
||||
#+END_SRC
|
||||
|
@@ -5,315 +5,315 @@
|
||||
* Line
|
||||
** Define colors
|
||||
#+BEGIN_SRC conf
|
||||
t_red="#ef5253" # red
|
||||
t_red_light="#eb9798" # light red
|
||||
t_red_dark="#c22627" # dark red
|
||||
t_red="#ef5253" # red
|
||||
t_red_light="#eb9798" # light red
|
||||
t_red_dark="#c22627" # dark red
|
||||
|
||||
t_blue="#579cde" # blue
|
||||
t_blue="#579cde" # blue
|
||||
|
||||
t_orange="#de9a57"
|
||||
t_green="#57de9a"
|
||||
t_orange="#de9a57"
|
||||
t_green="#57de9a"
|
||||
|
||||
t_grey_dark="#393939" # dark grey
|
||||
t_grey_light="#d9d9d9" # light grey
|
||||
t_grey="#ababab" # grey
|
||||
t_grey_dark="#393939" # dark grey
|
||||
t_grey_light="#d9d9d9" # light grey
|
||||
t_grey="#ababab" # grey
|
||||
|
||||
t_1l_bg="#ef5253" # red
|
||||
t_1l_fg="#393939" # dark grey
|
||||
t_2l_bg="#4e4e4e" # dark grey
|
||||
t_2l_fg="#e8e8e8" # grey
|
||||
t_3l_bg="#ababab" # grey
|
||||
t_3l_fg="#393939" # dark grey
|
||||
t_4l_bg="#579cde" # blue
|
||||
t_4l_fg="#393939" # dark grey
|
||||
t_1l_bg="#ef5253" # red
|
||||
t_1l_fg="#393939" # dark grey
|
||||
t_2l_bg="#4e4e4e" # dark grey
|
||||
t_2l_fg="#e8e8e8" # grey
|
||||
t_3l_bg="#ababab" # grey
|
||||
t_3l_fg="#393939" # dark grey
|
||||
t_4l_bg="#579cde" # blue
|
||||
t_4l_fg="#393939" # dark grey
|
||||
|
||||
t_1r_bg="#909090"
|
||||
t_1r_fg="#393939"
|
||||
t_2r_bg="#4e4e4e"
|
||||
t_2r_fg="#a0a0a0"
|
||||
t_3r_bg="#ababab" # grey
|
||||
t_3r_fg="#393939" # dark grey
|
||||
t_1r_bg="#909090"
|
||||
t_1r_fg="#393939"
|
||||
t_2r_bg="#4e4e4e"
|
||||
t_2r_fg="#a0a0a0"
|
||||
t_3r_bg="#ababab" # grey
|
||||
t_3r_fg="#393939" # dark grey
|
||||
|
||||
t_line_bg="#18262f" # dark blue
|
||||
t_line_fg="#393939" # dark grey
|
||||
t_line_bg="#18262f" # dark blue
|
||||
t_line_fg="#393939" # dark grey
|
||||
|
||||
t_win_bg="#18262f" # dark blue
|
||||
t_win_fg="#d9d9d9" # light grey
|
||||
t_win_bg="#18262f" # dark blue
|
||||
t_win_fg="#d9d9d9" # light grey
|
||||
|
||||
t_win_bg_active="#ef5253" # red
|
||||
t_win_fg_active="#393939" # dark grey
|
||||
t_win_bg_active="#ef5253" # red
|
||||
t_win_fg_active="#393939" # dark grey
|
||||
|
||||
t_text_fg="#d9d9d9" # light grey
|
||||
t_text_bg="#393939" # dark grey
|
||||
t_text_fg="#d9d9d9" # light grey
|
||||
t_text_bg="#393939" # dark grey
|
||||
#+END_SRC
|
||||
|
||||
** General config
|
||||
#+BEGIN_SRC conf
|
||||
set -g status "on" # Activate the status bar
|
||||
set -g status-attr "none"
|
||||
set -g status-interval "2" # update status every x seconds
|
||||
set -g status "on" # Activate the status bar
|
||||
set -g status-attr "none"
|
||||
set -g status-interval "2" # update status every x seconds
|
||||
|
||||
set -g status-justify "centre" # center the list of windows
|
||||
set -g status-justify "centre" # center the list of windows
|
||||
|
||||
set -g status-bg "$t_line_bg"
|
||||
set -g status-fg "$t_line_fg"
|
||||
set -g status-bg "$t_line_bg"
|
||||
set -g status-fg "$t_line_fg"
|
||||
#+END_SRC
|
||||
|
||||
** Contents of right and light status
|
||||
#+BEGIN_SRC conf
|
||||
t_1_l="#S"
|
||||
t_2_l="%H:%M"
|
||||
# t_3_l="#($HOME/.config/.tmux/bin/tmux_left_status)"
|
||||
t_4_l="C"
|
||||
t_1_r="%d/%m"
|
||||
# t_2_r="#($HOME/.config/.tmux/bin/tmux_right_status)"
|
||||
# t_3_r=""
|
||||
t_1_l="#S"
|
||||
t_2_l="%H:%M"
|
||||
# t_3_l="#($HOME/.config/.tmux/bin/tmux_left_status)"
|
||||
t_4_l="C"
|
||||
t_1_r="%d/%m"
|
||||
# t_2_r="#($HOME/.config/.tmux/bin/tmux_right_status)"
|
||||
# t_3_r=""
|
||||
#+END_SRC
|
||||
|
||||
** Status left and right
|
||||
#+BEGIN_SRC conf
|
||||
set -g status-left "#[fg=$t_1l_fg,bg=$t_1l_bg] $t_1_l #[fg=$t_1l_bg,bg=$t_2l_bg]#[fg=$t_2l_fg,bg=$t_2l_bg] $t_2_l #{?client_prefix,#[fg=$t_2l_bg]#[bg=$t_4l_bg]#[fg=$t_4l_fg]#[bg=$t_4l_bg] $t_4_l #[fg=$t_4l_bg]#[bg=$t_line_bg],#[fg=$t_2l_bg]#[bg=$t_line_bg]}"
|
||||
# set -g status-left "#[fg=$t_1l_fg,bg=$t_1l_bg] $t_1_l #[fg=$t_1l_bg,bg=$t_2l_bg]#[fg=$t_2l_fg,bg=$t_2l_bg] $t_2_l #[fg=$t_2l_bg,bg=$t_3l_bg]#[fg=$t_2l_bg, bg=$t_3l_bg]$t_3_l#{?client_prefix,#[fg=$t_3l_bg]#[bg=$t_4l_bg]#[fg=$t_4l_fg]#[bg=$t_4l_bg] $t_4_l #[fg=$t_4l_bg]#[bg=$t_line_bg],#[fg=$t_3l_bg]#[bg=$t_line_bg]}"
|
||||
set -g status-left-length "90"
|
||||
set -g status-left-attr "none"
|
||||
set -g status-left "#[fg=$t_1l_fg,bg=$t_1l_bg] $t_1_l #[fg=$t_1l_bg,bg=$t_2l_bg]#[fg=$t_2l_fg,bg=$t_2l_bg] $t_2_l #{?client_prefix,#[fg=$t_2l_bg]#[bg=$t_4l_bg]#[fg=$t_4l_fg]#[bg=$t_4l_bg] $t_4_l #[fg=$t_4l_bg]#[bg=$t_line_bg],#[fg=$t_2l_bg]#[bg=$t_line_bg]}"
|
||||
# set -g status-left "#[fg=$t_1l_fg,bg=$t_1l_bg] $t_1_l #[fg=$t_1l_bg,bg=$t_2l_bg]#[fg=$t_2l_fg,bg=$t_2l_bg] $t_2_l #[fg=$t_2l_bg,bg=$t_3l_bg]#[fg=$t_2l_bg, bg=$t_3l_bg]$t_3_l#{?client_prefix,#[fg=$t_3l_bg]#[bg=$t_4l_bg]#[fg=$t_4l_fg]#[bg=$t_4l_bg] $t_4_l #[fg=$t_4l_bg]#[bg=$t_line_bg],#[fg=$t_3l_bg]#[bg=$t_line_bg]}"
|
||||
set -g status-left-length "90"
|
||||
set -g status-left-attr "none"
|
||||
|
||||
set -g status-right "#[fg=$t_1r_bg]#[fg=$t_1r_fg,bg=$t_1r_bg] $t_1_r "
|
||||
# set -g status-right "#[fg=$t_3r_bg,bg=$t_line_bg]#[fg=$t_3r_fg, bg=$t_3r_bg] $t_3_r #[fg=$t_2r_bg,bg=$t_3r_bg]#[fg=$t_2r_fg,bg=$t_2r_bg] $t_2_r #[fg=$t_1r_bg,bg=$t_2r_bg]#[fg=$t_1r_fg,bg=$t_1r_bg] $t_1_r "
|
||||
set -g status-right-length "90"
|
||||
set -g status-right-attr "none"
|
||||
set -g status-right "#[fg=$t_1r_bg]#[fg=$t_1r_fg,bg=$t_1r_bg] $t_1_r "
|
||||
# set -g status-right "#[fg=$t_3r_bg,bg=$t_line_bg]#[fg=$t_3r_fg, bg=$t_3r_bg] $t_3_r #[fg=$t_2r_bg,bg=$t_3r_bg]#[fg=$t_2r_fg,bg=$t_2r_bg] $t_2_r #[fg=$t_1r_bg,bg=$t_2r_bg]#[fg=$t_1r_fg,bg=$t_1r_bg] $t_1_r "
|
||||
set -g status-right-length "90"
|
||||
set -g status-right-attr "none"
|
||||
#+END_SRC
|
||||
|
||||
** Message and commands
|
||||
#+BEGIN_SRC conf
|
||||
set -g message-fg "$t_text_fg"
|
||||
set -g message-bg "$t_text_bg"
|
||||
set -g message-fg "$t_text_fg"
|
||||
set -g message-bg "$t_text_bg"
|
||||
|
||||
set -g message-command-fg "$t_text_fg"
|
||||
set -g message-command-bg "$t_text_bg"
|
||||
set -g message-command-fg "$t_text_fg"
|
||||
set -g message-command-bg "$t_text_bg"
|
||||
#+END_SRC
|
||||
|
||||
** Panes
|
||||
#+BEGIN_SRC conf
|
||||
set -g pane-border-fg "$t_grey_dark" # Color of the separation between panes
|
||||
set -g pane-active-border-fg "$t_red_light" # Color of the active separation
|
||||
set -g pane-border-fg "$t_grey_dark" # Color of the separation between panes
|
||||
set -g pane-active-border-fg "$t_red_light" # Color of the active separation
|
||||
#+END_SRC
|
||||
|
||||
** Windows
|
||||
#+BEGIN_SRC conf
|
||||
setw -g window-status-fg "$t_red"
|
||||
setw -g window-status-bg "$t_grey_light"
|
||||
setw -g window-status-attr "none"
|
||||
setw -g window-status-fg "$t_red"
|
||||
setw -g window-status-bg "$t_grey_light"
|
||||
setw -g window-status-attr "none"
|
||||
|
||||
setw -g window-status-activity-fg "$t_grey_dark"
|
||||
setw -g window-status-activity-bg "$t_red"
|
||||
setw -g window-status-activity-attr "bold"
|
||||
setw -g window-status-activity-fg "$t_grey_dark"
|
||||
setw -g window-status-activity-bg "$t_red"
|
||||
setw -g window-status-activity-attr "bold"
|
||||
|
||||
setw -g window-status-separator " "
|
||||
setw -g window-status-format "#[fg=$t_win_fg,bg=$t_win_bg] #I | #W "
|
||||
setw -g window-status-current-format "#[fg=$t_win_bg_active,bg=$t_line_bg]#[fg=$t_win_fg_active,bg=$t_win_bg_active] #I | #W #[fg=$t_win_bg_active,bg=$t_line_bg]"
|
||||
setw -g window-status-separator " "
|
||||
setw -g window-status-format "#[fg=$t_win_fg,bg=$t_win_bg] #I | #W "
|
||||
setw -g window-status-current-format "#[fg=$t_win_bg_active,bg=$t_line_bg]#[fg=$t_win_fg_active,bg=$t_win_bg_active] #I | #W #[fg=$t_win_bg_active,bg=$t_line_bg]"
|
||||
#+END_SRC
|
||||
|
||||
* Bindings
|
||||
#+BEGIN_SRC conf
|
||||
# Set prefix to 'C-Space'
|
||||
unbind C-b
|
||||
set -g prefix C-Space
|
||||
# Set prefix to 'C-Space'
|
||||
unbind C-b
|
||||
set -g prefix C-Space
|
||||
|
||||
# Reload the config using 'C-Space + r'
|
||||
bind r source-file ~/.tmux.conf \; display-message "Config reloaded..."
|
||||
# Reload the config using 'C-Space + r'
|
||||
bind r source-file ~/.tmux.conf \; display-message "Config reloaded..."
|
||||
|
||||
# Simulate 'C-l' to clear the terminal
|
||||
bind C-l send-keys C-l \; clear-history
|
||||
# Simulate 'C-l' to clear the terminal
|
||||
bind C-l send-keys C-l \; clear-history
|
||||
|
||||
# Open new panes with the path of the current pane.
|
||||
unbind c
|
||||
bind c new-window -c '#{pane_current_path}'
|
||||
# Open new panes with the path of the current pane.
|
||||
unbind c
|
||||
bind c new-window -c '#{pane_current_path}'
|
||||
|
||||
# Vim-like key bindings for pane navigation (default uses cursor keys).
|
||||
unbind h
|
||||
bind h select-pane -L
|
||||
unbind j
|
||||
bind j select-pane -D
|
||||
unbind k
|
||||
bind k select-pane -U
|
||||
unbind l # normally used for last-window
|
||||
bind l select-pane -R
|
||||
# Vim-like key bindings for pane navigation (default uses cursor keys).
|
||||
unbind h
|
||||
bind h select-pane -L
|
||||
unbind j
|
||||
bind j select-pane -D
|
||||
unbind k
|
||||
bind k select-pane -U
|
||||
unbind l # normally used for last-window
|
||||
bind l select-pane -R
|
||||
|
||||
# Move Panes
|
||||
unbind L
|
||||
bind L swap-pane -D
|
||||
unbind H
|
||||
bind H swap-pane -U
|
||||
# Move Panes
|
||||
unbind L
|
||||
bind L swap-pane -D
|
||||
unbind H
|
||||
bind H swap-pane -U
|
||||
|
||||
# Resizing (mouse also works).
|
||||
unbind Left
|
||||
bind -r Left resize-pane -L 5
|
||||
unbind Right
|
||||
bind -r Right resize-pane -R 5
|
||||
unbind Down
|
||||
bind -r Down resize-pane -D 5
|
||||
unbind Up
|
||||
bind -r Up resize-pane -U 5
|
||||
# Resizing (mouse also works).
|
||||
unbind Left
|
||||
bind -r Left resize-pane -L 5
|
||||
unbind Right
|
||||
bind -r Right resize-pane -R 5
|
||||
unbind Down
|
||||
bind -r Down resize-pane -D 5
|
||||
unbind Up
|
||||
bind -r Up resize-pane -U 5
|
||||
|
||||
# Fast toggle (normally prefix-l).
|
||||
bind ^space last-window
|
||||
# Fast toggle (normally prefix-l).
|
||||
bind ^space last-window
|
||||
|
||||
# Intuitive window-splitting keys.
|
||||
bind / split-window -h -c '#{pane_current_path}' # normally prefix-%
|
||||
bind - split-window -v -c '#{pane_current_path}' # normally prefix-"
|
||||
# Intuitive window-splitting keys.
|
||||
bind / split-window -h -c '#{pane_current_path}' # normally prefix-%
|
||||
bind - split-window -v -c '#{pane_current_path}' # normally prefix-"
|
||||
|
||||
# Swap windows
|
||||
bind-key -r "<" swap-window -t -1
|
||||
bind-key -r ">" swap-window -t +1
|
||||
# Swap windows
|
||||
bind-key -r "<" swap-window -t -1
|
||||
bind-key -r ">" swap-window -t +1
|
||||
|
||||
# Smart pane switching with awareness of Vim splits
|
||||
# See: https://github.com/christoomey/vim-tmux-navigator
|
||||
is_vim="ps -o state= -o comm= -t '#{pane_tty}' \
|
||||
| grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?(view|n?vim?x?)(diff)?$'"
|
||||
bind-key -n C-h if-shell "$is_vim" "send-keys C-h" "select-pane -L"
|
||||
bind-key -n C-j if-shell "$is_vim" "send-keys C-j" "select-pane -D"
|
||||
bind-key -n C-k if-shell "$is_vim" "send-keys C-k" "select-pane -U"
|
||||
bind-key -n C-l if-shell "$is_vim" "send-keys C-l" "select-pane -R"
|
||||
bind-key -n C-\ if-shell "$is_vim" "send-keys C-\\" "select-pane -l"
|
||||
# Smart pane switching with awareness of Vim splits
|
||||
# See: https://github.com/christoomey/vim-tmux-navigator
|
||||
is_vim="ps -o state= -o comm= -t '#{pane_tty}' \
|
||||
| grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?(view|n?vim?x?)(diff)?$'"
|
||||
bind-key -n C-h if-shell "$is_vim" "send-keys C-h" "select-pane -L"
|
||||
bind-key -n C-j if-shell "$is_vim" "send-keys C-j" "select-pane -D"
|
||||
bind-key -n C-k if-shell "$is_vim" "send-keys C-k" "select-pane -U"
|
||||
bind-key -n C-l if-shell "$is_vim" "send-keys C-l" "select-pane -R"
|
||||
bind-key -n C-\ if-shell "$is_vim" "send-keys C-\\" "select-pane -l"
|
||||
|
||||
# Set 'C-Space + v' to enter copy-mode
|
||||
unbind [
|
||||
bind-key v copy-mode
|
||||
# Set 'C-Space + v' to enter copy-mode
|
||||
unbind [
|
||||
bind-key v copy-mode
|
||||
|
||||
# Set 'C-Space + C-v' to paste
|
||||
unbind ]
|
||||
bind-key C-v paste-buffer
|
||||
# Set 'C-Space + C-v' to paste
|
||||
unbind ]
|
||||
bind-key C-v paste-buffer
|
||||
|
||||
# Setup 'v' to begin selection as in Vim and 'y' to yank
|
||||
bind-key -T copy-mode-vi 'v' send -X begin-selection
|
||||
bind-key -T copy-mode-vi 'y' send -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"
|
||||
bind-key -T copy-mode-vi 'Escape' send -X cancel
|
||||
bind-key -T copy-mode-vi 'C-v' send-keys -X rectangle-toggle
|
||||
# Setup 'v' to begin selection as in Vim and 'y' to yank
|
||||
bind-key -T copy-mode-vi 'v' send -X begin-selection
|
||||
bind-key -T copy-mode-vi 'y' send -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"
|
||||
bind-key -T copy-mode-vi 'Escape' send -X cancel
|
||||
bind-key -T copy-mode-vi 'C-v' send-keys -X rectangle-toggle
|
||||
#+END_SRC
|
||||
|
||||
* Settings
|
||||
#+BEGIN_SRC conf
|
||||
# Activity monitoring
|
||||
set -g visual-activity off
|
||||
# Activity monitoring
|
||||
set -g visual-activity off
|
||||
|
||||
# Automatically renumber window numbers on closing a pane (tmux >= 1.7).
|
||||
set -g renumber-windows on
|
||||
# Automatically renumber window numbers on closing a pane (tmux >= 1.7).
|
||||
set -g renumber-windows on
|
||||
|
||||
# Mouse can be used to select panes, select windows (by clicking on the status bar), resize panes
|
||||
set -g mouse on
|
||||
# Mouse can be used to select panes, select windows (by clicking on the status bar), resize panes
|
||||
set -g mouse on
|
||||
|
||||
set -g default-terminal "screen-256color"
|
||||
set -ga terminal-overrides ',xterm-256color:Tc'
|
||||
set -g default-terminal "screen-256color"
|
||||
set -ga terminal-overrides ',xterm-256color:Tc'
|
||||
|
||||
set -g history-limit 262144
|
||||
set -g history-limit 262144
|
||||
|
||||
# Start window and pane numbering at 1, (0 is too hard to reach)
|
||||
set -g base-index 1
|
||||
set -g pane-base-index 1
|
||||
# Start window and pane numbering at 1, (0 is too hard to reach)
|
||||
set -g base-index 1
|
||||
set -g pane-base-index 1
|
||||
|
||||
# Don't wait for an escape sequence after seeing C-a
|
||||
set -s escape-time 0
|
||||
# Don't wait for an escape sequence after seeing C-a
|
||||
set -s escape-time 0
|
||||
|
||||
# Dynamically update iTerm tab and window titles
|
||||
set -g set-titles on
|
||||
# Dynamically update iTerm tab and window titles
|
||||
set -g set-titles on
|
||||
|
||||
# Needed as on tmux 1.9 and up (defaults to off)
|
||||
set -g focus-events on
|
||||
# Needed as on tmux 1.9 and up (defaults to off)
|
||||
set -g focus-events on
|
||||
|
||||
# But don't change tmux's own window titles
|
||||
set-option -g allow-rename off
|
||||
# But don't change tmux's own window titles
|
||||
set-option -g allow-rename off
|
||||
|
||||
# Don't wrap searches; it's super confusing given tmux's reverse-ordering of position info in copy mode
|
||||
set -w -g wrap-search off
|
||||
# Don't wrap searches; it's super confusing given tmux's reverse-ordering of position info in copy mode
|
||||
set -w -g wrap-search off
|
||||
|
||||
# Restore pre-2.1 behavior of scrolling with the scrollwheel in Vim, less, copy mode etc, otherwise entering copy mode if not already in it.
|
||||
bind-key -T root WheelUpPane \
|
||||
if-shell -Ft= '#{?pane_in_mode,1,#{mouse_any_flag}}' \
|
||||
'send -Mt=' \
|
||||
'if-shell -Ft= "#{alternate_on}" "send -t= Up" "copy-mode -et="'
|
||||
bind-key -T root WheelDownPane \
|
||||
if-shell -Ft = '#{?pane_in_mode,1,#{mouse_any_flag}}' \
|
||||
'send -Mt=' \
|
||||
'if-shell -Ft= "#{alternate_on}" "send -t= Down" "send -Mt="'
|
||||
# Restore pre-2.1 behavior of scrolling with the scrollwheel in Vim, less, copy mode etc, otherwise entering copy mode if not already in it.
|
||||
bind-key -T root WheelUpPane \
|
||||
if-shell -Ft= '#{?pane_in_mode,1,#{mouse_any_flag}}' \
|
||||
'send -Mt=' \
|
||||
'if-shell -Ft= "#{alternate_on}" "send -t= Up" "copy-mode -et="'
|
||||
bind-key -T root WheelDownPane \
|
||||
if-shell -Ft = '#{?pane_in_mode,1,#{mouse_any_flag}}' \
|
||||
'send -Mt=' \
|
||||
'if-shell -Ft= "#{alternate_on}" "send -t= Down" "send -Mt="'
|
||||
|
||||
# Stay in copy mode on drag end, but otherwise exit for mouse up.
|
||||
# Requires patch from https://github.com/tmux/tmux/issues/326
|
||||
# unbind-key -t vi-copy MouseDragEnd1Pane
|
||||
# bind-key -t vi-copy MouseUp1Pane cancel
|
||||
# Stay in copy mode on drag end, but otherwise exit for mouse up.
|
||||
# Requires patch from https://github.com/tmux/tmux/issues/326
|
||||
# unbind-key -t vi-copy MouseDragEnd1Pane
|
||||
# bind-key -t vi-copy MouseUp1Pane cancel
|
||||
|
||||
bind-key -n MouseDrag1Status swap-window -t=
|
||||
# bind-key -n MouseDown3Status new-window -a -t=
|
||||
bind-key -n MouseDrag1Status swap-window -t=
|
||||
# bind-key -n MouseDown3Status new-window -a -t=
|
||||
|
||||
bind-key -n MouseDrag1Status swap-window -t=
|
||||
# bind-key -n MouseDown3Status new-window -a -t=
|
||||
bind-key -n MouseDrag1Status swap-window -t=
|
||||
# bind-key -n MouseDown3Status new-window -a -t=
|
||||
|
||||
|
||||
# #T = standard window title (last command, see ~/.bash_profile)
|
||||
# #h = short hostname
|
||||
# #S = session name
|
||||
# #W = tmux window name
|
||||
set -g set-titles-string "#T : #h > #S > #W"
|
||||
# #T = standard window title (last command, see ~/.bash_profile)
|
||||
# #h = short hostname
|
||||
# #S = session name
|
||||
# #W = tmux window name
|
||||
set -g set-titles-string "#T : #h > #S > #W"
|
||||
|
||||
# Show bells in window titles
|
||||
set -g window-status-bell-style fg=yellow,bold,underscore
|
||||
# Show bells in window titles
|
||||
set -g window-status-bell-style fg=yellow,bold,underscore
|
||||
#+END_SRC
|
||||
|
||||
* Plugins
|
||||
** Install plugins
|
||||
#+BEGIN_SRC conf
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
# set -g @plugin 'tmux-plugins/tmux-sessionist'
|
||||
# set -g @plugin 'tmux-plugins/tmux-resurrect'
|
||||
# set -g @plugin 'tmux-plugins/tmux-continuum'
|
||||
# set -g @plugin 'tmux-plugins/tmux-battery'
|
||||
set -g @plugin 'nhdaly/tmux-better-mouse-mode'
|
||||
set -g @plugin 'seebi/tmux-colors-solarized'
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
# set -g @plugin 'tmux-plugins/tmux-sessionist'
|
||||
# set -g @plugin 'tmux-plugins/tmux-resurrect'
|
||||
# set -g @plugin 'tmux-plugins/tmux-continuum'
|
||||
# set -g @plugin 'tmux-plugins/tmux-battery'
|
||||
set -g @plugin 'nhdaly/tmux-better-mouse-mode'
|
||||
set -g @plugin 'seebi/tmux-colors-solarized'
|
||||
#+END_SRC
|
||||
|
||||
** Configuration
|
||||
#+BEGIN_SRC conf
|
||||
# =============================================================
|
||||
# tmux-resurrect
|
||||
# =============================================================
|
||||
# for vim
|
||||
set -g @resurrect-strategy-vim 'session'
|
||||
# for neovim
|
||||
set -g @resurrect-strategy-nvim 'session'
|
||||
# =============================================================
|
||||
# tmux-resurrect
|
||||
# =============================================================
|
||||
# for vim
|
||||
set -g @resurrect-strategy-vim 'session'
|
||||
# for neovim
|
||||
set -g @resurrect-strategy-nvim 'session'
|
||||
|
||||
# Restoring pane contents
|
||||
set -g @resurrect-capture-pane-contents 'on'
|
||||
# Restoring pane contents
|
||||
set -g @resurrect-capture-pane-contents 'on'
|
||||
|
||||
run-shell ~/.tmux/plugins/tmux-resurrect/resurrect.tmux
|
||||
# =============================================================
|
||||
run-shell ~/.tmux/plugins/tmux-resurrect/resurrect.tmux
|
||||
# =============================================================
|
||||
|
||||
|
||||
# =============================================================
|
||||
# tmux-continuum
|
||||
# =============================================================
|
||||
set -g @continuum-boot 'on'
|
||||
set -g @continuum-boot-options 'iterm,fullscreen'
|
||||
set -g @continuum-save-interval '15'
|
||||
# =============================================================
|
||||
# tmux-continuum
|
||||
# =============================================================
|
||||
set -g @continuum-boot 'on'
|
||||
set -g @continuum-boot-options 'iterm,fullscreen'
|
||||
set -g @continuum-save-interval '15'
|
||||
|
||||
run-shell ~/.tmux/plugins/tmux-continuum/continuum.tmux
|
||||
# =============================================================
|
||||
run-shell ~/.tmux/plugins/tmux-continuum/continuum.tmux
|
||||
# =============================================================
|
||||
|
||||
|
||||
# =============================================================
|
||||
# tmux-battery
|
||||
# =============================================================
|
||||
set -g @batt_charged_icon "="
|
||||
set -g @batt_charging_icon "+"
|
||||
set -g @batt_discharging_icon "-"
|
||||
set -g @batt_attached_icon "o"
|
||||
# =============================================================
|
||||
# =============================================================
|
||||
# tmux-battery
|
||||
# =============================================================
|
||||
set -g @batt_charged_icon "="
|
||||
set -g @batt_charging_icon "+"
|
||||
set -g @batt_discharging_icon "-"
|
||||
set -g @batt_attached_icon "o"
|
||||
# =============================================================
|
||||
#+END_SRC
|
||||
|
||||
* Colors
|
||||
#+BEGIN_SRC conf
|
||||
set -g @colors-solarized 'light'
|
||||
set -g @colors-solarized 'light'
|
||||
#+END_SRC
|
||||
|
||||
* Initialize TMUX plugin manager
|
||||
#+BEGIN_SRC conf
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
#+END_SRC
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#+TITLE: Vim Config
|
||||
#+PROPERTY: header-args+ :comments both
|
||||
#+PROPERTY: header-args+ :comments none
|
||||
#+PROPERTY: header-args+ :mkdirp yes
|
||||
#+PROPERTY: header-args+ :tangle ~/.vimrc
|
||||
|
||||
|
Reference in New Issue
Block a user