Few minor correction for the XPS13
This commit is contained in:
parent
370a97b8af
commit
bf4948fc7c
@ -117,26 +117,26 @@ URxvt.keysym.C-S-v: perl:clipboard:paste
|
|||||||
:END:
|
:END:
|
||||||
|
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
# define the font for dmenu to be used
|
# define the font for dmenu to be used
|
||||||
DMENU_FN="Noto-10.5"
|
DMENU_FN="Noto-10.5"
|
||||||
|
|
||||||
# background colour for unselected menu-items
|
# background colour for unselected menu-items
|
||||||
DMENU_NB="#222D31"
|
DMENU_NB="#222D31"
|
||||||
|
|
||||||
# textcolour for unselected menu-items
|
# textcolour for unselected menu-items
|
||||||
DMENU_NF="#F9FAF9"
|
DMENU_NF="#F9FAF9"
|
||||||
|
|
||||||
# background colour for selected menu-items
|
# background colour for selected menu-items
|
||||||
DMENU_SB="#16A085"
|
DMENU_SB="#16A085"
|
||||||
|
|
||||||
# textcolour for selected menu-items
|
# textcolour for selected menu-items
|
||||||
DMENU_SF="#F9FAF9"
|
DMENU_SF="#F9FAF9"
|
||||||
|
|
||||||
# command for the terminal application to be used:
|
# command for the terminal application to be used:
|
||||||
TERMINAL_CMD="terminal -e"
|
TERMINAL_CMD="terminal -e"
|
||||||
|
|
||||||
# export our variables
|
# export our variables
|
||||||
DMENU_OPTIONS="-fn $DMENU_FN -nb $DMENU_NB -nf $DMENU_NF -sf $DMENU_SF -sb $DMENU_SB"
|
DMENU_OPTIONS="-fn $DMENU_FN -nb $DMENU_NB -nf $DMENU_NF -sf $DMENU_SF -sb $DMENU_SB"
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* GTK
|
* GTK
|
||||||
@ -312,112 +312,58 @@ COMMAND nohup qutebrowser %s </dev/null &>/dev/null &
|
|||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:header-args: :tangle ~/.xinitrc
|
:header-args: :tangle ~/.xinitrc
|
||||||
:header-args+: :comments both :mkdirp yes
|
:header-args+: :comments both :mkdirp yes
|
||||||
|
:header-args+: :shebang "#!/bin/sh"
|
||||||
:END:
|
:END:
|
||||||
|
|
||||||
#+BEGIN_SRC conf
|
#+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
|
||||||
userresources=$HOME/.Xresources
|
if [ -f $sysresources ]; then
|
||||||
usermodmap=$HOME/.Xmodmap
|
|
||||||
sysresources=/etc/X11/xinit/.Xresources
|
|
||||||
sysmodmap=/etc/X11/xinit/.Xmodmap
|
|
||||||
# =============================================================
|
|
||||||
|
|
||||||
|
|
||||||
# =============================================================
|
|
||||||
# merge in defaults and keymaps
|
|
||||||
# =============================================================
|
|
||||||
if [ -f $sysresources ]; then
|
|
||||||
xrdb -merge $sysresources
|
xrdb -merge $sysresources
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f $sysmodmap ]; then
|
if [ -f $sysmodmap ]; then
|
||||||
xmodmap $sysmodmap
|
xmodmap $sysmodmap
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "$userresources" ]; then
|
if [ -f "$userresources" ]; then
|
||||||
xrdb -merge "$userresources"
|
xrdb -merge "$userresources"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "$usermodmap" ]; then
|
if [ -f "$usermodmap" ]; then
|
||||||
xmodmap "$usermodmap"
|
xmodmap "$usermodmap"
|
||||||
fi
|
fi
|
||||||
# =============================================================
|
#+END_SRC
|
||||||
|
|
||||||
|
start some nice programs
|
||||||
# =============================================================
|
#+BEGIN_SRC conf
|
||||||
# start some nice programs
|
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
|
||||||
# =============================================================
|
|
||||||
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
|
|
||||||
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
|
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
|
||||||
[ -x "$f" ] && . "$f"
|
[ -x "$f" ] && . "$f"
|
||||||
done
|
done
|
||||||
unset f
|
unset f
|
||||||
fi
|
fi
|
||||||
# =============================================================
|
#+END_SRC
|
||||||
|
|
||||||
|
hiDPI
|
||||||
|
#+BEGIN_SRC conf
|
||||||
|
export GDK_SCALE=1
|
||||||
|
export GDK_DPI_SCALE=0.95
|
||||||
|
|
||||||
# =============================================================
|
export QT_SCREEN_SCALE_FACTORS=0.9
|
||||||
# hiDPI
|
export QT_AUTO_SCREEN_SCALE_FACTOR=2
|
||||||
# =============================================================
|
export QT_SCALE_FACTOR=2
|
||||||
export GDK_SCALE=1
|
#+END_SRC
|
||||||
export GDK_DPI_SCALE=0.95
|
|
||||||
|
|
||||||
export QT_SCREEN_SCALE_FACTORS=0.9
|
#+BEGIN_SRC conf
|
||||||
export QT_AUTO_SCREEN_SCALE_FACTOR=2
|
export XDG_CURRENT_DESKTOP=Budgie:GNOME
|
||||||
export QT_SCALE_FACTOR=2
|
exec budgie-desktop
|
||||||
# =============================================================
|
|
||||||
|
|
||||||
|
|
||||||
# =============================================================
|
|
||||||
# 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
|
|
||||||
# =============================================================
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* Calcurse
|
* Calcurse
|
||||||
@ -427,33 +373,33 @@ exec budgie-desktop
|
|||||||
:END:
|
:END:
|
||||||
|
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
appearance.calendarview=monthly
|
appearance.calendarview=monthly
|
||||||
appearance.compactpanels=no
|
appearance.compactpanels=no
|
||||||
appearance.defaultpanel=calendar
|
appearance.defaultpanel=calendar
|
||||||
appearance.layout=1
|
appearance.layout=1
|
||||||
appearance.notifybar=yes
|
appearance.notifybar=yes
|
||||||
appearance.sidebarwidth=0
|
appearance.sidebarwidth=0
|
||||||
appearance.theme=red on default
|
appearance.theme=red on default
|
||||||
appearance.todoview=show-completed
|
appearance.todoview=show-completed
|
||||||
appearance.headingpos=right-justified
|
appearance.headingpos=right-justified
|
||||||
daemon.enable=no
|
daemon.enable=no
|
||||||
daemon.log=no
|
daemon.log=no
|
||||||
format.inputdate=1
|
format.inputdate=1
|
||||||
format.notifydate=%a %F
|
format.notifydate=%a %F
|
||||||
format.notifytime=%T
|
format.notifytime=%T
|
||||||
format.outputdate=%D
|
format.outputdate=%D
|
||||||
format.dayheading=%B %-d, %Y
|
format.dayheading=%B %-d, %Y
|
||||||
general.autogc=no
|
general.autogc=no
|
||||||
general.autosave=yes
|
general.autosave=yes
|
||||||
general.confirmdelete=yes
|
general.confirmdelete=yes
|
||||||
general.confirmquit=yes
|
general.confirmquit=yes
|
||||||
general.firstdayofweek=monday
|
general.firstdayofweek=monday
|
||||||
general.periodicsave=0
|
general.periodicsave=0
|
||||||
general.progressbar=yes
|
general.progressbar=yes
|
||||||
general.systemdialogs=yes
|
general.systemdialogs=yes
|
||||||
notification.command=printf '\a'
|
notification.command=printf '\a'
|
||||||
notification.notifyall=flagged-only
|
notification.notifyall=flagged-only
|
||||||
notification.warning=300
|
notification.warning=300
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* GnuPG
|
* GnuPG
|
||||||
@ -463,8 +409,8 @@ notification.warning=300
|
|||||||
:END:
|
:END:
|
||||||
|
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
max-cache-ttl 60480000
|
max-cache-ttl 60480000
|
||||||
default-cache-ttl 60480000
|
default-cache-ttl 60480000
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* Dunst
|
* Dunst
|
||||||
@ -752,24 +698,16 @@ default-cache-ttl 60480000
|
|||||||
:END:
|
:END:
|
||||||
|
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
# =============================================================
|
next_img L space
|
||||||
next_img L space
|
prev_img BackSpace H
|
||||||
prev_img BackSpace H
|
|
||||||
# =============================================================
|
|
||||||
|
|
||||||
|
scroll_up k Up
|
||||||
|
scroll_down j Down
|
||||||
|
scroll_right l Right
|
||||||
|
scroll_left h Left
|
||||||
|
|
||||||
# =============================================================
|
toggle_fullscreen f
|
||||||
scroll_up k Up
|
save_filelist F
|
||||||
scroll_down j Down
|
|
||||||
scroll_right l Right
|
|
||||||
scroll_left h Left
|
|
||||||
# =============================================================
|
|
||||||
|
|
||||||
|
|
||||||
# =============================================================
|
|
||||||
toggle_fullscreen f
|
|
||||||
save_filelist F
|
|
||||||
# =============================================================
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* MPV
|
* MPV
|
||||||
@ -1084,152 +1022,6 @@ stop-screensaver = "yes"
|
|||||||
# =============================================================
|
# =============================================================
|
||||||
#+END_SRC
|
#+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
|
* Zathura
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:header-args: :tangle ~/.config/zathura/zathurarc
|
:header-args: :tangle ~/.config/zathura/zathurarc
|
||||||
@ -1237,34 +1029,34 @@ WantedBy=default.target
|
|||||||
:END:
|
:END:
|
||||||
|
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
# Include the theme file
|
# Include the theme file
|
||||||
include zathurarc.theme
|
include zathurarc.theme
|
||||||
|
|
||||||
# Use clipboard
|
# Use clipboard
|
||||||
set selection-clipboard clipboard
|
set selection-clipboard clipboard
|
||||||
|
|
||||||
# Remove padding
|
# Remove padding
|
||||||
set statusbar-h-padding 0
|
set statusbar-h-padding 0
|
||||||
set statusbar-v-padding 0
|
set statusbar-v-padding 0
|
||||||
|
|
||||||
# Padding between pages
|
# Padding between pages
|
||||||
set page-padding 1
|
set page-padding 1
|
||||||
|
|
||||||
map u scroll half-up
|
map u scroll half-up
|
||||||
map d scroll half-down
|
map d scroll half-down
|
||||||
|
|
||||||
map D toggle_page_mode
|
map D toggle_page_mode
|
||||||
|
|
||||||
map r reload
|
map r reload
|
||||||
map R rotate
|
map R rotate
|
||||||
|
|
||||||
map L zoom in
|
map L zoom in
|
||||||
map H zoom out
|
map H zoom out
|
||||||
|
|
||||||
map i recolor
|
map i recolor
|
||||||
map p print
|
map p print
|
||||||
|
|
||||||
map m toggle_statusbar
|
map m toggle_statusbar
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* Compton
|
* Compton
|
||||||
@ -1273,10 +1065,8 @@ map m toggle_statusbar
|
|||||||
:header-args+: :comments both :mkdirp yes
|
:header-args+: :comments both :mkdirp yes
|
||||||
:END:
|
:END:
|
||||||
|
|
||||||
|
** Shadow
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
# ============================================================
|
|
||||||
# Shadow
|
|
||||||
# ============================================================
|
|
||||||
shadow = false;
|
shadow = false;
|
||||||
# no-dnd-shadow = true;
|
# no-dnd-shadow = true;
|
||||||
no-dock-shadow = true;
|
no-dock-shadow = true;
|
||||||
@ -1304,10 +1094,10 @@ shadow-exclude = [
|
|||||||
|
|
||||||
# shadow-exclude-reg = "x10+0+0";
|
# shadow-exclude-reg = "x10+0+0";
|
||||||
# xinerama-shadow-crop = true;
|
# xinerama-shadow-crop = true;
|
||||||
# ============================================================
|
#+END_SRC
|
||||||
|
|
||||||
|
|
||||||
# ============================================================
|
#+BEGIN_SRC conf
|
||||||
menu-opacity = 1.0;
|
menu-opacity = 1.0;
|
||||||
inactive-opacity = 0.9;
|
inactive-opacity = 0.9;
|
||||||
active-opacity = 1.0;
|
active-opacity = 1.0;
|
||||||
@ -1316,21 +1106,18 @@ alpha-step = 0.0;
|
|||||||
inactive-dim = 0.05;
|
inactive-dim = 0.05;
|
||||||
blur-background = true;
|
blur-background = true;
|
||||||
blur-kern = "3x3box";
|
blur-kern = "3x3box";
|
||||||
# ============================================================
|
#+END_SRC
|
||||||
|
|
||||||
|
** TODO Fading
|
||||||
# ============================================================
|
#+BEGIN_SRC conf
|
||||||
# Fading - TODO
|
|
||||||
# ============================================================
|
|
||||||
fading = false;
|
fading = false;
|
||||||
fade-delta = 1;
|
fade-delta = 1;
|
||||||
fade-in-step = 0.03;
|
fade-in-step = 0.03;
|
||||||
fade-out-step = 0.03;
|
fade-out-step = 0.03;
|
||||||
fade-exclude = [ ];
|
fade-exclude = [ ];
|
||||||
# ============================================================
|
#+END_SRC
|
||||||
|
|
||||||
|
#+BEGIN_SRC conf
|
||||||
# ============================================================
|
|
||||||
backend = "xrender";
|
backend = "xrender";
|
||||||
mark-wmwin-focused = true;
|
mark-wmwin-focused = true;
|
||||||
mark-ovredir-focused = true;
|
mark-ovredir-focused = true;
|
||||||
@ -1346,12 +1133,10 @@ detect-client-leader = true;
|
|||||||
invert-color-include = [ ];
|
invert-color-include = [ ];
|
||||||
glx-copy-from-front = false;
|
glx-copy-from-front = false;
|
||||||
glx-swap-method = "undefined";
|
glx-swap-method = "undefined";
|
||||||
# ============================================================
|
#+END_SRC
|
||||||
|
|
||||||
|
Opacity Rules for specific windows
|
||||||
# ============================================================
|
#+BEGIN_SRC conf
|
||||||
# Opacity Rules for specific windows
|
|
||||||
# ============================================================
|
|
||||||
#opacity-rule = [
|
#opacity-rule = [
|
||||||
#"99:name *?= 'Call'",
|
#"99:name *?= 'Call'",
|
||||||
#"99:class_g = 'Chromium'",
|
#"99:class_g = 'Chromium'",
|
||||||
@ -1382,10 +1167,9 @@ glx-swap-method = "undefined";
|
|||||||
#"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
|
#"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
|
||||||
#"96:_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'"
|
#"96:_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'"
|
||||||
#];
|
#];
|
||||||
# ============================================================
|
#+END_SRC
|
||||||
|
|
||||||
|
#+BEGIN_SRC conf
|
||||||
# ============================================================
|
|
||||||
wintypes :
|
wintypes :
|
||||||
{
|
{
|
||||||
tooltip :
|
tooltip :
|
||||||
@ -1403,7 +1187,6 @@ wintypes :
|
|||||||
focus = true;
|
focus = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
# ============================================================
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* Locale
|
* Locale
|
||||||
@ -1413,20 +1196,20 @@ wintypes :
|
|||||||
:END:
|
:END:
|
||||||
|
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
LANG=en_US.UTF-8
|
LANG=en_US.UTF-8
|
||||||
LC_CTYPE="en_US.UTF-8"
|
LC_CTYPE="en_US.UTF-8"
|
||||||
LC_NUMERIC=fr_FR.UTF-8
|
LC_NUMERIC=fr_FR.UTF-8
|
||||||
LC_TIME=fr_FR.UTF-8
|
LC_TIME=fr_FR.UTF-8
|
||||||
LC_COLLATE="en_US.UTF-8"
|
LC_COLLATE="en_US.UTF-8"
|
||||||
LC_MONETARY=fr_FR.UTF-8
|
LC_MONETARY=fr_FR.UTF-8
|
||||||
LC_MESSAGES="en_US.UTF-8"
|
LC_MESSAGES="en_US.UTF-8"
|
||||||
LC_PAPER=fr_FR.UTF-8
|
LC_PAPER=fr_FR.UTF-8
|
||||||
LC_NAME=fr_FR.UTF-8
|
LC_NAME=fr_FR.UTF-8
|
||||||
LC_ADDRESS=fr_FR.UTF-8
|
LC_ADDRESS=fr_FR.UTF-8
|
||||||
LC_TELEPHONE=fr_FR.UTF-8
|
LC_TELEPHONE=fr_FR.UTF-8
|
||||||
LC_MEASUREMENT=fr_FR.UTF-8
|
LC_MEASUREMENT=fr_FR.UTF-8
|
||||||
LC_IDENTIFICATION=fr_FR.UTF-8
|
LC_IDENTIFICATION=fr_FR.UTF-8
|
||||||
LC_ALL=
|
LC_ALL=
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* Mime applications
|
* Mime applications
|
||||||
@ -1436,73 +1219,64 @@ LC_ALL=
|
|||||||
:END:
|
:END:
|
||||||
|
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
[Default Applications]
|
[Default Applications]
|
||||||
image/jpeg=feh.desktop
|
image/jpeg=feh.desktop
|
||||||
image/png=feh.desktop;
|
image/png=feh.desktop;
|
||||||
text/plain=nvim.desktop
|
text/plain=nvim.desktop
|
||||||
x-scheme-handler/mailto=neomutt.desktop
|
x-scheme-handler/mailto=neomutt.desktop
|
||||||
message/rfc822=neomutt.desktop
|
message/rfc822=neomutt.desktop
|
||||||
application/x-bittorrent=deluge.desktop
|
application/x-bittorrent=deluge.desktop
|
||||||
application/pdf=zathura.desktop
|
application/pdf=zathura.desktop
|
||||||
x-scheme-handler/http=qutebrowser.desktop
|
x-scheme-handler/http=qutebrowser.desktop
|
||||||
x-scheme-handler/https=qutebrowser.desktop
|
x-scheme-handler/https=qutebrowser.desktop
|
||||||
x-scheme-handler/ftp=qutebrowser.desktop
|
x-scheme-handler/ftp=qutebrowser.desktop
|
||||||
x-scheme-handler/chrome=qutebrowser.desktop
|
x-scheme-handler/chrome=qutebrowser.desktop
|
||||||
text/html=qutebrowser.desktop
|
text/html=qutebrowser.desktop
|
||||||
application/x-extension-htm=qutebrowser.desktop
|
application/x-extension-htm=qutebrowser.desktop
|
||||||
application/x-extension-html=qutebrowser.desktop
|
application/x-extension-html=qutebrowser.desktop
|
||||||
application/x-extension-shtml=qutebrowser.desktop
|
application/x-extension-shtml=qutebrowser.desktop
|
||||||
application/xhtml+xml=qutebrowser.desktop
|
application/xhtml+xml=qutebrowser.desktop
|
||||||
application/x-extension-xhtml=qutebrowser.desktop
|
application/x-extension-xhtml=qutebrowser.desktop
|
||||||
application/x-extension-xht=qutebrowser.desktop
|
application/x-extension-xht=qutebrowser.desktop
|
||||||
|
|
||||||
[Added Associations]
|
[Added Associations]
|
||||||
image/jpeg=viewnior.desktop;gpicview.desktop;
|
image/jpeg=viewnior.desktop;gpicview.desktop;
|
||||||
image/png=viewnior.desktop;gpicview.desktop;
|
image/png=viewnior.desktop;gpicview.desktop;
|
||||||
text/plain=mousepad.desktop;
|
text/plain=mousepad.desktop;
|
||||||
application/x-bittorrent=deluge.desktop;
|
application/x-bittorrent=deluge.desktop;
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* Bukurun
|
* Bukurun
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:header-args: :tangle ~/.config/buku_run/config
|
:header-args: :tangle ~/.config/buku_run/config
|
||||||
:header-args+: :comments both :mkdirp yes
|
:header-args+: :comments both :mkdirp yes
|
||||||
|
:header-args+: :shebang "#!/usr/bin/env bash"
|
||||||
:END:
|
:END:
|
||||||
|
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# =============================================================
|
|
||||||
_rofi () {
|
_rofi () {
|
||||||
rofi -dmenu -i -no-levenshtein-sort -width 1000 "$@"
|
rofi -dmenu -i -no-levenshtein-sort -width 1000 "$@"
|
||||||
}
|
}
|
||||||
# =============================================================
|
#+END_SRC
|
||||||
|
|
||||||
|
display settings
|
||||||
# =============================================================
|
#+BEGIN_SRC conf
|
||||||
# display settings
|
|
||||||
# =============================================================
|
|
||||||
display_type=1
|
display_type=1
|
||||||
max_str_width=80
|
max_str_width=80
|
||||||
# =============================================================
|
#+END_SRC
|
||||||
|
|
||||||
|
keybindings
|
||||||
# =============================================================
|
#+BEGIN_SRC conf
|
||||||
# keybindings
|
|
||||||
# =============================================================
|
|
||||||
switch_view="Alt+Tab"
|
switch_view="Alt+Tab"
|
||||||
new_bookmark="Alt+n"
|
new_bookmark="Alt+n"
|
||||||
actions="Alt+a"
|
actions="Alt+a"
|
||||||
edit="Alt+e"
|
edit="Alt+e"
|
||||||
delete="Alt+d"
|
delete="Alt+d"
|
||||||
# =============================================================
|
#+END_SRC
|
||||||
|
|
||||||
|
colors
|
||||||
# =============================================================
|
#+BEGIN_SRC conf
|
||||||
# colors
|
|
||||||
# =============================================================
|
|
||||||
help_color="#2d7ed8"
|
help_color="#2d7ed8"
|
||||||
# =============================================================
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* Clipit - Clipboard Manager
|
* Clipit - Clipboard Manager
|
||||||
@ -1512,32 +1286,33 @@ help_color="#2d7ed8"
|
|||||||
:END:
|
:END:
|
||||||
|
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
[rc]
|
[rc]
|
||||||
use_copy=true
|
use_copy=true
|
||||||
use_primary=false
|
use_primary=false
|
||||||
synchronize=false
|
synchronize=false
|
||||||
automatic_paste=false
|
automatic_paste=false
|
||||||
show_indexes=false
|
show_indexes=false
|
||||||
save_uris=false
|
save_uris=false
|
||||||
use_rmb_menu=false
|
use_rmb_menu=false
|
||||||
save_history=false
|
save_history=false
|
||||||
history_limit=50
|
history_limit=50
|
||||||
items_menu=20
|
items_menu=20
|
||||||
statics_show=false
|
statics_show=false
|
||||||
statics_items=10
|
statics_items=10
|
||||||
hyperlinks_only=false
|
hyperlinks_only=false
|
||||||
confirm_clear=false
|
confirm_clear=false
|
||||||
single_line=false
|
single_line=false
|
||||||
reverse_history=false
|
reverse_history=false
|
||||||
item_length=50
|
item_length=50
|
||||||
ellipsize=2
|
ellipsize=2
|
||||||
history_key=
|
history_key=
|
||||||
actions_key=
|
actions_key=
|
||||||
menu_key=
|
menu_key=
|
||||||
search_key=
|
search_key=
|
||||||
offline_key=
|
offline_key=
|
||||||
offline_mode=false
|
offline_mode=false
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* Conky
|
* Conky
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:header-args: :tangle ~/.config/conky/conky.conf
|
:header-args: :tangle ~/.config/conky/conky.conf
|
||||||
@ -1621,6 +1396,7 @@ offline_mode=false
|
|||||||
|
|
||||||
]]
|
]]
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* Scrot
|
* Scrot
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:header-args: :tangle ~/.config/i3-scrot.conf
|
:header-args: :tangle ~/.config/i3-scrot.conf
|
||||||
@ -1628,7 +1404,7 @@ offline_mode=false
|
|||||||
:END:
|
:END:
|
||||||
|
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
scrot_dir=$HOME/Pictures
|
scrot_dir=$HOME/Pictures
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* Khal
|
* Khal
|
||||||
@ -1638,7 +1414,7 @@ scrot_dir=$HOME/Pictures
|
|||||||
:END:
|
:END:
|
||||||
|
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
[calendars]
|
[calendars]
|
||||||
|
|
||||||
[[home]]
|
[[home]]
|
||||||
path = ~/.calendars/google/dehaeze.thomas@gmail.com/
|
path = ~/.calendars/google/dehaeze.thomas@gmail.com/
|
||||||
@ -1676,8 +1452,8 @@ scrot_dir=$HOME/Pictures
|
|||||||
:END:
|
:END:
|
||||||
|
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
[github.com*]
|
[github.com*]
|
||||||
target=github.com/tdehaeze
|
target=github.com/tdehaeze
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* Pavu Control
|
* Pavu Control
|
||||||
@ -1687,14 +1463,14 @@ target=github.com/tdehaeze
|
|||||||
:END:
|
:END:
|
||||||
|
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
[window]
|
[window]
|
||||||
width=500
|
width=500
|
||||||
height=400
|
height=400
|
||||||
sinkInputType=1
|
sinkInputType=1
|
||||||
sourceOutputType=1
|
sourceOutputType=1
|
||||||
sinkType=0
|
sinkType=0
|
||||||
sourceType=1
|
sourceType=1
|
||||||
showVolumeMeters=1
|
showVolumeMeters=1
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* PCmanfm
|
* PCmanfm
|
||||||
@ -1704,32 +1480,32 @@ showVolumeMeters=1
|
|||||||
:END:
|
:END:
|
||||||
|
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
[config]
|
[config]
|
||||||
bm_open_method=0
|
bm_open_method=0
|
||||||
|
|
||||||
[volume]
|
[volume]
|
||||||
mount_on_startup=1
|
mount_on_startup=1
|
||||||
mount_removable=1
|
mount_removable=1
|
||||||
autorun=1
|
autorun=1
|
||||||
|
|
||||||
[ui]
|
[ui]
|
||||||
always_show_tabs=0
|
always_show_tabs=0
|
||||||
max_tab_chars=32
|
max_tab_chars=32
|
||||||
win_width=1263
|
win_width=1263
|
||||||
win_height=690
|
win_height=690
|
||||||
splitter_pos=150
|
splitter_pos=150
|
||||||
media_in_new_tab=0
|
media_in_new_tab=0
|
||||||
desktop_folder_new_win=0
|
desktop_folder_new_win=0
|
||||||
change_tab_on_drop=1
|
change_tab_on_drop=1
|
||||||
close_on_unmount=1
|
close_on_unmount=1
|
||||||
focus_previous=0
|
focus_previous=0
|
||||||
side_pane_mode=places
|
side_pane_mode=places
|
||||||
view_mode=icon
|
view_mode=icon
|
||||||
show_hidden=0
|
show_hidden=0
|
||||||
sort=mtime;descending;
|
sort=mtime;descending;
|
||||||
toolbar=newtab;navigation;home;
|
toolbar=newtab;navigation;home;
|
||||||
show_statusbar=1
|
show_statusbar=1
|
||||||
pathbar_mode_buttons=0
|
pathbar_mode_buttons=0
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* Vdirsyncer
|
* Vdirsyncer
|
||||||
@ -1767,25 +1543,26 @@ pathbar_mode_buttons=0
|
|||||||
:END:
|
:END:
|
||||||
|
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
[prefs]
|
[prefs]
|
||||||
zoom-mode=0
|
zoom-mode=0
|
||||||
fit-on-fullscreen=true
|
fit-on-fullscreen=true
|
||||||
show-hidden=false
|
show-hidden=false
|
||||||
smooth-images=true
|
smooth-images=true
|
||||||
confirm-delete=true
|
confirm-delete=true
|
||||||
reload-on-save=false
|
reload-on-save=false
|
||||||
show-menu-bar=false
|
show-menu-bar=false
|
||||||
show-toolbar=true
|
show-toolbar=true
|
||||||
show-scrollbar=true
|
show-scrollbar=true
|
||||||
start-maximized=false
|
start-maximized=false
|
||||||
slideshow-timeout=5
|
slideshow-timeout=5
|
||||||
auto-resize=false
|
auto-resize=false
|
||||||
behavior-wheel=1
|
behavior-wheel=1
|
||||||
behavior-click=0
|
behavior-click=0
|
||||||
behavior-modify=0
|
behavior-modify=0
|
||||||
jpeg-quality=90
|
jpeg-quality=90
|
||||||
png-compression=9
|
png-compression=9
|
||||||
desktop=9
|
desktop=9
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
* TODO Binaries
|
|
||||||
* TODO Scripts
|
* TODO [#A] Binaries
|
||||||
|
* TODO [#A] Scripts
|
||||||
|
@ -161,7 +161,7 @@
|
|||||||
autocrlf = input
|
autocrlf = input
|
||||||
|
|
||||||
# Open vim, start Goyo and enter insert mode on the first line
|
# 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
|
#+END_SRC
|
||||||
|
|
||||||
** Credentials using pass
|
** Credentials using pass
|
||||||
@ -173,17 +173,6 @@
|
|||||||
username = tdehaeze
|
username = tdehaeze
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** Magithub
|
|
||||||
#+BEGIN_SRC conf
|
|
||||||
[magithub]
|
|
||||||
online = false
|
|
||||||
|
|
||||||
[magithub "status"]
|
|
||||||
includeStatusHeader = false
|
|
||||||
includePullRequestsSection = false
|
|
||||||
includeIssuesSection = false
|
|
||||||
#+END_SRC
|
|
||||||
|
|
||||||
** Diff-so-fancy
|
** Diff-so-fancy
|
||||||
#+begin_src conf
|
#+begin_src conf
|
||||||
[diff-so-fancy]
|
[diff-so-fancy]
|
||||||
|
@ -23,8 +23,8 @@ hide_edge_borders none
|
|||||||
font SauceCodePro Nerd Font 11
|
font SauceCodePro Nerd Font 11
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* Multimedia keys
|
* TODO Multimedia keys
|
||||||
#+begin_src conf
|
#+begin_src conf :tangle no
|
||||||
# Sound
|
# Sound
|
||||||
bindsym XF86AudioMute exec --no-startup-id amixer -D pulse sset Master toggle
|
bindsym XF86AudioMute exec --no-startup-id amixer -D pulse sset Master toggle
|
||||||
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -D pulse sset Master 5%+
|
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -D pulse sset Master 5%+
|
||||||
@ -54,7 +54,7 @@ bindsym XF86LaunchB fullscreen toggle
|
|||||||
# Windows Switch
|
# Windows Switch
|
||||||
bindsym $mod+w exec --no-startup-id rofi -show window
|
bindsym $mod+w exec --no-startup-id rofi -show window
|
||||||
# CheatSheets
|
# 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
|
# Program Launcher with Icons
|
||||||
# bindsym $mod+Shift+d exec --no-startup-id rofi -show drun -show-icons
|
# bindsym $mod+Shift+d exec --no-startup-id rofi -show drun -show-icons
|
||||||
# Launch categorized menu
|
# 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
|
bindsym $mod+Shift+t exec --no-startup-id ~/.config/polybar/scripts/toggle.sh top
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* Vim Anywhere
|
* TODO Vim Anywhere
|
||||||
#+begin_src conf
|
#+begin_src conf
|
||||||
# bindsym $mod+t exec vim-anywhere nvim termite
|
# bindsym $mod+t exec vim-anywhere nvim termite
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* TODO Screenshot - Change to simplier keys
|
* TODO Screenshot - Change to simplier keys
|
||||||
#+begin_src conf
|
#+begin_src conf :tangle no
|
||||||
bindsym Print exec --no-startup-id i3-scrot
|
bindsym Print exec --no-startup-id i3-scrot
|
||||||
bindsym $mod+Print --release exec --no-startup-id i3-scrot -w
|
bindsym $mod+Print --release exec --no-startup-id i3-scrot -w
|
||||||
bindsym $mod+Shift+Print --release exec --no-startup-id i3-scrot -s
|
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
|
** TODO Toggle tiling / floating
|
||||||
#+begin_src conf
|
#+begin_src conf
|
||||||
bindsym $mod+Shift+space floating toggle
|
bindsym $mod+Shift+space floating toggle
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** TODO Change focus between tiling / floating windows
|
** TODO Change focus between tiling / floating windows
|
||||||
#+begin_src conf
|
#+begin_src conf
|
||||||
# bindsym $mod+space focus mode_toggle
|
# bindsym $mod+space focus mode_toggle
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** TODO Toggle sticky
|
** TODO Toggle sticky
|
||||||
#+begin_src conf
|
#+begin_src conf
|
||||||
bindsym $mod+Shift+s sticky toggle
|
bindsym $mod+Shift+s sticky toggle
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** TODO Focus the parent container
|
** TODO Focus the parent container
|
||||||
#+begin_src conf
|
#+begin_src conf
|
||||||
bindsym $mod+a focus parent
|
bindsym $mod+a focus parent
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* Scratchpad
|
* Scratchpad
|
||||||
#+begin_src conf
|
#+begin_src conf
|
||||||
# move the currently focused window to the scratchpad
|
# move the currently focused window to the scratchpad
|
||||||
bindsym $mod+Shift+BackSpace move scratchpad
|
bindsym $mod+Shift+BackSpace move scratchpad
|
||||||
|
|
||||||
# Show the next scratchpad window or hide the focused scratchpad window.
|
# Show the next scratchpad window or hide the focused scratchpad window.
|
||||||
# If there are multiple scratchpad windows, this command cycles through them.
|
# If there are multiple scratchpad windows, this command cycles through them.
|
||||||
bindsym $mod+BackSpace scratchpad show
|
bindsym $mod+BackSpace scratchpad show
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* Custom Cratchpad for Quick Access
|
* 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
|
* Autostart Background Applications
|
||||||
#+begin_src conf
|
#+begin_src conf
|
||||||
# Authentication agent
|
# 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
|
# Set custom wallpaper script
|
||||||
exec --no-startup-id $HOME/scripts/wallpaper.sh
|
# exec --no-startup-id $HOME/scripts/wallpaper.sh
|
||||||
|
|
||||||
# Run Compton
|
# Run Compton
|
||||||
exec --no-startup-id compton -b
|
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
|
exec --no-startup-id udiskie
|
||||||
|
|
||||||
# Screen options
|
# 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
|
# Redshift
|
||||||
exec --no-startup-id redshift
|
exec --no-startup-id redshift
|
||||||
|
|
||||||
# Start mopidy
|
# Start mopidy
|
||||||
exec --no-startup-id mopidy
|
# exec --no-startup-id mopidy
|
||||||
|
|
||||||
# Emacs Daemon
|
# Emacs Daemon
|
||||||
exec --no-startup-id /usr/bin/emacs --fg-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
|
* Start Foreground Applications
|
||||||
#+begin_src conf
|
#+begin_src conf
|
||||||
# Emacs
|
# 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
|
# Megasync
|
||||||
exec --no-startup-id i3-msg 'exec 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'
|
set sidebar_sort_method = 'unsorted'
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** TODO [#A] Searching using Mu
|
** Searching using Mu
|
||||||
#+begin_src conf
|
#+begin_src conf
|
||||||
# mutt macros for mu
|
# mutt macros for mu
|
||||||
macro index,pager \Cf "<shell-escape>mu find --clearlinks --format=links --linksdir=~/.mail/search " \
|
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
|
#+END_SRC
|
||||||
|
|
||||||
** TODO Mailcap configuration
|
** TODO Mailcap configuration
|
||||||
** TODO Print
|
** TODO [#A] Print
|
||||||
https://unix.stackexchange.com/questions/20456/pretty-print-mails-from-mutt
|
https://unix.stackexchange.com/questions/20456/pretty-print-mails-from-mutt
|
||||||
|
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
|
@ -45,9 +45,9 @@ black = ${#000000}
|
|||||||
|
|
||||||
* VM
|
* VM
|
||||||
#+begin_src conf
|
#+begin_src conf
|
||||||
[global/wm]
|
[global/wm]
|
||||||
margin-top = 5
|
margin-top = 5
|
||||||
margin-bottom = 5
|
margin-bottom = 5
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* Top Bar
|
* Top Bar
|
||||||
@ -81,7 +81,8 @@ margin-bottom = 5
|
|||||||
|
|
||||||
modules-left = i3
|
modules-left = i3
|
||||||
modules-center = xwindow
|
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-position = right
|
||||||
tray-padding = 2
|
tray-padding = 2
|
||||||
@ -122,9 +123,11 @@ margin-bottom = 5
|
|||||||
font-2 = Weather Icons:size=10;1
|
font-2 = Weather Icons:size=10;1
|
||||||
# font-3 = siji:pixelsize=10;1
|
# font-3 = siji:pixelsize=10;1
|
||||||
|
|
||||||
modules-left = mpd pulseaudio
|
modules-left =
|
||||||
|
# modules-left = mpd pulseaudio
|
||||||
# modules-center = xwindow
|
# 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-position = right
|
||||||
# tray-padding = 2
|
# tray-padding = 2
|
||||||
@ -185,17 +188,17 @@ margin-bottom = 5
|
|||||||
|
|
||||||
** TODO - Choose some nice icons
|
** TODO - Choose some nice icons
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
ws-icon-default =
|
ws-icon-default =
|
||||||
ws-icon-0 = 1;
|
ws-icon-0 = 1;
|
||||||
ws-icon-1 = 2;
|
ws-icon-1 = 2;
|
||||||
ws-icon-2 = 3;
|
ws-icon-2 = 3;
|
||||||
ws-icon-3 = 4;
|
ws-icon-3 = 4;
|
||||||
ws-icon-4 = 5;
|
ws-icon-4 = 5;
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
format = <label-state> <label-mode>
|
format = <label-state> <label-mode>
|
||||||
index-sort = true
|
index-sort = true
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** Colors
|
** Colors
|
||||||
|
@ -3,101 +3,100 @@
|
|||||||
#+PROPERTY: header-args+ :mkdirp yes
|
#+PROPERTY: header-args+ :mkdirp yes
|
||||||
#+PROPERTY: header-args+ :tangle ~/.config/termite/config
|
#+PROPERTY: header-args+ :tangle ~/.config/termite/config
|
||||||
|
|
||||||
|
* Options
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
[options]
|
[options]
|
||||||
#allow_bold = true
|
#allow_bold = true
|
||||||
#audible_bell = false
|
#audible_bell = false
|
||||||
#bold_is_bright = true
|
#bold_is_bright = true
|
||||||
clickable_url = true
|
clickable_url = true
|
||||||
#dynamic_title = true
|
#dynamic_title = true
|
||||||
font = SauceCodePro Nerd Font Mono 10
|
font = SauceCodePro Nerd Font Mono 10
|
||||||
#fullscreen = true
|
#fullscreen = true
|
||||||
#icon_name = terminal
|
#icon_name = terminal
|
||||||
mouse_autohide = true
|
mouse_autohide = true
|
||||||
#scroll_on_output = false
|
#scroll_on_output = false
|
||||||
#scroll_on_keystroke = true
|
#scroll_on_keystroke = true
|
||||||
# Length of the scrollback buffer, 0 disabled the scrollback buffer
|
# Length of the scrollback buffer, 0 disabled the scrollback buffer
|
||||||
# and setting it to a negative value means "infinite scrollback"
|
# and setting it to a negative value means "infinite scrollback"
|
||||||
scrollback_lines = 10000
|
scrollback_lines = 10000
|
||||||
#search_wrap = true
|
#search_wrap = true
|
||||||
#urgent_on_bell = true
|
#urgent_on_bell = true
|
||||||
#hyperlinks = false
|
#hyperlinks = false
|
||||||
|
|
||||||
# $BROWSER is used by default if set, with xdg-open as a fallback
|
# $BROWSER is used by default if set, with xdg-open as a fallback
|
||||||
#browser = xdg-open
|
#browser = xdg-open
|
||||||
|
|
||||||
# Hide links that are no longer valid in url select overlay mode
|
# Hide links that are no longer valid in url select overlay mode
|
||||||
#filter_unmatched_urls = true
|
#filter_unmatched_urls = true
|
||||||
|
|
||||||
# Emit escape sequences for extra modified keys
|
# Emit escape sequences for extra modified keys
|
||||||
#modify_other_keys = false
|
#modify_other_keys = false
|
||||||
|
|
||||||
# set size hints for the window
|
# set size hints for the window
|
||||||
#size_hints = false
|
#size_hints = false
|
||||||
|
|
||||||
# "off", "left" or "right"
|
# "off", "left" or "right"
|
||||||
#scrollbar = off
|
#scrollbar = off
|
||||||
|
|
||||||
highlight = #2f2f2f
|
highlight = #2f2f2f
|
||||||
|
#+END_SRC
|
||||||
[hints]
|
|
||||||
|
* Hints
|
||||||
#padding = 2
|
#+BEGIN_SRC conf
|
||||||
#border = #3f3f3f
|
[hints]
|
||||||
#border_width = 0.5
|
#padding = 2
|
||||||
#roundness = 2.0
|
#border = #3f3f3f
|
||||||
|
#border_width = 0.5
|
||||||
# Scheme: Chris Kempson (http://chriskempson.com)
|
#roundness = 2.0
|
||||||
|
#+END_SRC
|
||||||
### END COLORS
|
|
||||||
|
* Colors
|
||||||
[colors]
|
#+BEGIN_SRC conf
|
||||||
# Base16 Solarized Light
|
[colors]
|
||||||
# Author: Ethan Schoonover (modified by aramisgithub)
|
foreground = #586e75
|
||||||
|
foreground_bold = #073642
|
||||||
foreground = #586e75
|
cursor = #073642
|
||||||
foreground_bold = #073642
|
cursor_foreground = #fdf6e3
|
||||||
cursor = #073642
|
background = rgb(253, 246, 227)
|
||||||
cursor_foreground = #fdf6e3
|
|
||||||
background = rgb(253, 246, 227)
|
# 16 color space
|
||||||
|
|
||||||
# 16 color space
|
# Black, Gray, Silver, White
|
||||||
|
color0 = #fdf6e3
|
||||||
# Black, Gray, Silver, White
|
color8 = #839496
|
||||||
color0 = #fdf6e3
|
color7 = #586e75
|
||||||
color8 = #839496
|
color15 = #002b36
|
||||||
color7 = #586e75
|
|
||||||
color15 = #002b36
|
# Red
|
||||||
|
color1 = #dc322f
|
||||||
# Red
|
color9 = #dc322f
|
||||||
color1 = #dc322f
|
|
||||||
color9 = #dc322f
|
# Green
|
||||||
|
color2 = #859900
|
||||||
# Green
|
color10 = #859900
|
||||||
color2 = #859900
|
|
||||||
color10 = #859900
|
# Yellow
|
||||||
|
color3 = #b58900
|
||||||
# Yellow
|
color11 = #b58900
|
||||||
color3 = #b58900
|
|
||||||
color11 = #b58900
|
# Blue
|
||||||
|
color4 = #268bd2
|
||||||
# Blue
|
color12 = #268bd2
|
||||||
color4 = #268bd2
|
|
||||||
color12 = #268bd2
|
# Purple
|
||||||
|
color5 = #6c71c4
|
||||||
# Purple
|
color13 = #6c71c4
|
||||||
color5 = #6c71c4
|
|
||||||
color13 = #6c71c4
|
# Teal
|
||||||
|
color6 = #2aa198
|
||||||
# Teal
|
color14 = #2aa198
|
||||||
color6 = #2aa198
|
|
||||||
color14 = #2aa198
|
# Extra colors
|
||||||
|
color16 = #cb4b16
|
||||||
# Extra colors
|
color17 = #d33682
|
||||||
color16 = #cb4b16
|
color18 = #eee8d5
|
||||||
color17 = #d33682
|
color19 = #93a1a1
|
||||||
color18 = #eee8d5
|
color20 = #657b83
|
||||||
color19 = #93a1a1
|
color21 = #073642
|
||||||
color20 = #657b83
|
|
||||||
color21 = #073642
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
@ -5,315 +5,315 @@
|
|||||||
* Line
|
* Line
|
||||||
** Define colors
|
** Define colors
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
t_red="#ef5253" # red
|
t_red="#ef5253" # red
|
||||||
t_red_light="#eb9798" # light red
|
t_red_light="#eb9798" # light red
|
||||||
t_red_dark="#c22627" # dark red
|
t_red_dark="#c22627" # dark red
|
||||||
|
|
||||||
t_blue="#579cde" # blue
|
t_blue="#579cde" # blue
|
||||||
|
|
||||||
t_orange="#de9a57"
|
t_orange="#de9a57"
|
||||||
t_green="#57de9a"
|
t_green="#57de9a"
|
||||||
|
|
||||||
t_grey_dark="#393939" # dark grey
|
t_grey_dark="#393939" # dark grey
|
||||||
t_grey_light="#d9d9d9" # light grey
|
t_grey_light="#d9d9d9" # light grey
|
||||||
t_grey="#ababab" # grey
|
t_grey="#ababab" # grey
|
||||||
|
|
||||||
t_1l_bg="#ef5253" # red
|
t_1l_bg="#ef5253" # red
|
||||||
t_1l_fg="#393939" # dark grey
|
t_1l_fg="#393939" # dark grey
|
||||||
t_2l_bg="#4e4e4e" # dark grey
|
t_2l_bg="#4e4e4e" # dark grey
|
||||||
t_2l_fg="#e8e8e8" # grey
|
t_2l_fg="#e8e8e8" # grey
|
||||||
t_3l_bg="#ababab" # grey
|
t_3l_bg="#ababab" # grey
|
||||||
t_3l_fg="#393939" # dark grey
|
t_3l_fg="#393939" # dark grey
|
||||||
t_4l_bg="#579cde" # blue
|
t_4l_bg="#579cde" # blue
|
||||||
t_4l_fg="#393939" # dark grey
|
t_4l_fg="#393939" # dark grey
|
||||||
|
|
||||||
t_1r_bg="#909090"
|
t_1r_bg="#909090"
|
||||||
t_1r_fg="#393939"
|
t_1r_fg="#393939"
|
||||||
t_2r_bg="#4e4e4e"
|
t_2r_bg="#4e4e4e"
|
||||||
t_2r_fg="#a0a0a0"
|
t_2r_fg="#a0a0a0"
|
||||||
t_3r_bg="#ababab" # grey
|
t_3r_bg="#ababab" # grey
|
||||||
t_3r_fg="#393939" # dark grey
|
t_3r_fg="#393939" # dark grey
|
||||||
|
|
||||||
t_line_bg="#18262f" # dark blue
|
t_line_bg="#18262f" # dark blue
|
||||||
t_line_fg="#393939" # dark grey
|
t_line_fg="#393939" # dark grey
|
||||||
|
|
||||||
t_win_bg="#18262f" # dark blue
|
t_win_bg="#18262f" # dark blue
|
||||||
t_win_fg="#d9d9d9" # light grey
|
t_win_fg="#d9d9d9" # light grey
|
||||||
|
|
||||||
t_win_bg_active="#ef5253" # red
|
t_win_bg_active="#ef5253" # red
|
||||||
t_win_fg_active="#393939" # dark grey
|
t_win_fg_active="#393939" # dark grey
|
||||||
|
|
||||||
t_text_fg="#d9d9d9" # light grey
|
t_text_fg="#d9d9d9" # light grey
|
||||||
t_text_bg="#393939" # dark grey
|
t_text_bg="#393939" # dark grey
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** General config
|
** General config
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
set -g status "on" # Activate the status bar
|
set -g status "on" # Activate the status bar
|
||||||
set -g status-attr "none"
|
set -g status-attr "none"
|
||||||
set -g status-interval "2" # update status every x seconds
|
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-bg "$t_line_bg"
|
||||||
set -g status-fg "$t_line_fg"
|
set -g status-fg "$t_line_fg"
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** Contents of right and light status
|
** Contents of right and light status
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
t_1_l="#S"
|
t_1_l="#S"
|
||||||
t_2_l="%H:%M"
|
t_2_l="%H:%M"
|
||||||
# t_3_l="#($HOME/.config/.tmux/bin/tmux_left_status)"
|
# t_3_l="#($HOME/.config/.tmux/bin/tmux_left_status)"
|
||||||
t_4_l="C"
|
t_4_l="C"
|
||||||
t_1_r="%d/%m"
|
t_1_r="%d/%m"
|
||||||
# t_2_r="#($HOME/.config/.tmux/bin/tmux_right_status)"
|
# t_2_r="#($HOME/.config/.tmux/bin/tmux_right_status)"
|
||||||
# t_3_r=""
|
# t_3_r=""
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** Status left and right
|
** Status left and right
|
||||||
#+BEGIN_SRC conf
|
#+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 #{?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 "#[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-length "90"
|
||||||
set -g status-left-attr "none"
|
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_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 "#[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-length "90"
|
||||||
set -g status-right-attr "none"
|
set -g status-right-attr "none"
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** Message and commands
|
** Message and commands
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
set -g message-fg "$t_text_fg"
|
set -g message-fg "$t_text_fg"
|
||||||
set -g message-bg "$t_text_bg"
|
set -g message-bg "$t_text_bg"
|
||||||
|
|
||||||
set -g message-command-fg "$t_text_fg"
|
set -g message-command-fg "$t_text_fg"
|
||||||
set -g message-command-bg "$t_text_bg"
|
set -g message-command-bg "$t_text_bg"
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** Panes
|
** Panes
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
set -g pane-border-fg "$t_grey_dark" # Color of the separation between panes
|
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-active-border-fg "$t_red_light" # Color of the active separation
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** Windows
|
** Windows
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
setw -g window-status-fg "$t_red"
|
setw -g window-status-fg "$t_red"
|
||||||
setw -g window-status-bg "$t_grey_light"
|
setw -g window-status-bg "$t_grey_light"
|
||||||
setw -g window-status-attr "none"
|
setw -g window-status-attr "none"
|
||||||
|
|
||||||
setw -g window-status-activity-fg "$t_grey_dark"
|
setw -g window-status-activity-fg "$t_grey_dark"
|
||||||
setw -g window-status-activity-bg "$t_red"
|
setw -g window-status-activity-bg "$t_red"
|
||||||
setw -g window-status-activity-attr "bold"
|
setw -g window-status-activity-attr "bold"
|
||||||
|
|
||||||
setw -g window-status-separator " "
|
setw -g window-status-separator " "
|
||||||
setw -g window-status-format "#[fg=$t_win_fg,bg=$t_win_bg] #I | #W "
|
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-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
|
#+END_SRC
|
||||||
|
|
||||||
* Bindings
|
* Bindings
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
# Set prefix to 'C-Space'
|
# Set prefix to 'C-Space'
|
||||||
unbind C-b
|
unbind C-b
|
||||||
set -g prefix C-Space
|
set -g prefix C-Space
|
||||||
|
|
||||||
# Reload the config using 'C-Space + r'
|
# Reload the config using 'C-Space + r'
|
||||||
bind r source-file ~/.tmux.conf \; display-message "Config reloaded..."
|
bind r source-file ~/.tmux.conf \; display-message "Config reloaded..."
|
||||||
|
|
||||||
# Simulate 'C-l' to clear the terminal
|
# Simulate 'C-l' to clear the terminal
|
||||||
bind C-l send-keys C-l \; clear-history
|
bind C-l send-keys C-l \; clear-history
|
||||||
|
|
||||||
# Open new panes with the path of the current pane.
|
# Open new panes with the path of the current pane.
|
||||||
unbind c
|
unbind c
|
||||||
bind c new-window -c '#{pane_current_path}'
|
bind c new-window -c '#{pane_current_path}'
|
||||||
|
|
||||||
# Vim-like key bindings for pane navigation (default uses cursor keys).
|
# Vim-like key bindings for pane navigation (default uses cursor keys).
|
||||||
unbind h
|
unbind h
|
||||||
bind h select-pane -L
|
bind h select-pane -L
|
||||||
unbind j
|
unbind j
|
||||||
bind j select-pane -D
|
bind j select-pane -D
|
||||||
unbind k
|
unbind k
|
||||||
bind k select-pane -U
|
bind k select-pane -U
|
||||||
unbind l # normally used for last-window
|
unbind l # normally used for last-window
|
||||||
bind l select-pane -R
|
bind l select-pane -R
|
||||||
|
|
||||||
# Move Panes
|
# Move Panes
|
||||||
unbind L
|
unbind L
|
||||||
bind L swap-pane -D
|
bind L swap-pane -D
|
||||||
unbind H
|
unbind H
|
||||||
bind H swap-pane -U
|
bind H swap-pane -U
|
||||||
|
|
||||||
# Resizing (mouse also works).
|
# Resizing (mouse also works).
|
||||||
unbind Left
|
unbind Left
|
||||||
bind -r Left resize-pane -L 5
|
bind -r Left resize-pane -L 5
|
||||||
unbind Right
|
unbind Right
|
||||||
bind -r Right resize-pane -R 5
|
bind -r Right resize-pane -R 5
|
||||||
unbind Down
|
unbind Down
|
||||||
bind -r Down resize-pane -D 5
|
bind -r Down resize-pane -D 5
|
||||||
unbind Up
|
unbind Up
|
||||||
bind -r Up resize-pane -U 5
|
bind -r Up resize-pane -U 5
|
||||||
|
|
||||||
# Fast toggle (normally prefix-l).
|
# Fast toggle (normally prefix-l).
|
||||||
bind ^space last-window
|
bind ^space last-window
|
||||||
|
|
||||||
# Intuitive window-splitting keys.
|
# Intuitive window-splitting keys.
|
||||||
bind / split-window -h -c '#{pane_current_path}' # normally prefix-%
|
bind / split-window -h -c '#{pane_current_path}' # normally prefix-%
|
||||||
bind - split-window -v -c '#{pane_current_path}' # normally prefix-"
|
bind - split-window -v -c '#{pane_current_path}' # normally prefix-"
|
||||||
|
|
||||||
# Swap windows
|
# Swap windows
|
||||||
bind-key -r "<" swap-window -t -1
|
bind-key -r "<" swap-window -t -1
|
||||||
bind-key -r ">" swap-window -t +1
|
bind-key -r ">" swap-window -t +1
|
||||||
|
|
||||||
# Smart pane switching with awareness of Vim splits
|
# Smart pane switching with awareness of Vim splits
|
||||||
# See: https://github.com/christoomey/vim-tmux-navigator
|
# See: https://github.com/christoomey/vim-tmux-navigator
|
||||||
is_vim="ps -o state= -o comm= -t '#{pane_tty}' \
|
is_vim="ps -o state= -o comm= -t '#{pane_tty}' \
|
||||||
| grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?(view|n?vim?x?)(diff)?$'"
|
| 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-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-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-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-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"
|
bind-key -n C-\ if-shell "$is_vim" "send-keys C-\\" "select-pane -l"
|
||||||
|
|
||||||
# Set 'C-Space + v' to enter copy-mode
|
# Set 'C-Space + v' to enter copy-mode
|
||||||
unbind [
|
unbind [
|
||||||
bind-key v copy-mode
|
bind-key v copy-mode
|
||||||
|
|
||||||
# Set 'C-Space + C-v' to paste
|
# Set 'C-Space + C-v' to paste
|
||||||
unbind ]
|
unbind ]
|
||||||
bind-key C-v paste-buffer
|
bind-key C-v paste-buffer
|
||||||
|
|
||||||
# Setup 'v' to begin selection as in Vim and 'y' to yank
|
# 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 '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 '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 'Escape' send -X cancel
|
||||||
bind-key -T copy-mode-vi 'C-v' send-keys -X rectangle-toggle
|
bind-key -T copy-mode-vi 'C-v' send-keys -X rectangle-toggle
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* Settings
|
* Settings
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
# Activity monitoring
|
# Activity monitoring
|
||||||
set -g visual-activity off
|
set -g visual-activity off
|
||||||
|
|
||||||
# Automatically renumber window numbers on closing a pane (tmux >= 1.7).
|
# Automatically renumber window numbers on closing a pane (tmux >= 1.7).
|
||||||
set -g renumber-windows on
|
set -g renumber-windows on
|
||||||
|
|
||||||
# Mouse can be used to select panes, select windows (by clicking on the status bar), resize panes
|
# Mouse can be used to select panes, select windows (by clicking on the status bar), resize panes
|
||||||
set -g mouse on
|
set -g mouse on
|
||||||
|
|
||||||
set -g default-terminal "screen-256color"
|
set -g default-terminal "screen-256color"
|
||||||
set -ga terminal-overrides ',xterm-256color:Tc'
|
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)
|
# Start window and pane numbering at 1, (0 is too hard to reach)
|
||||||
set -g base-index 1
|
set -g base-index 1
|
||||||
set -g pane-base-index 1
|
set -g pane-base-index 1
|
||||||
|
|
||||||
# Don't wait for an escape sequence after seeing C-a
|
# Don't wait for an escape sequence after seeing C-a
|
||||||
set -s escape-time 0
|
set -s escape-time 0
|
||||||
|
|
||||||
# Dynamically update iTerm tab and window titles
|
# Dynamically update iTerm tab and window titles
|
||||||
set -g set-titles on
|
set -g set-titles on
|
||||||
|
|
||||||
# Needed as on tmux 1.9 and up (defaults to off)
|
# Needed as on tmux 1.9 and up (defaults to off)
|
||||||
set -g focus-events on
|
set -g focus-events on
|
||||||
|
|
||||||
# But don't change tmux's own window titles
|
# But don't change tmux's own window titles
|
||||||
set-option -g allow-rename off
|
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
|
# 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
|
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.
|
# 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 \
|
bind-key -T root WheelUpPane \
|
||||||
if-shell -Ft= '#{?pane_in_mode,1,#{mouse_any_flag}}' \
|
if-shell -Ft= '#{?pane_in_mode,1,#{mouse_any_flag}}' \
|
||||||
'send -Mt=' \
|
'send -Mt=' \
|
||||||
'if-shell -Ft= "#{alternate_on}" "send -t= Up" "copy-mode -et="'
|
'if-shell -Ft= "#{alternate_on}" "send -t= Up" "copy-mode -et="'
|
||||||
bind-key -T root WheelDownPane \
|
bind-key -T root WheelDownPane \
|
||||||
if-shell -Ft = '#{?pane_in_mode,1,#{mouse_any_flag}}' \
|
if-shell -Ft = '#{?pane_in_mode,1,#{mouse_any_flag}}' \
|
||||||
'send -Mt=' \
|
'send -Mt=' \
|
||||||
'if-shell -Ft= "#{alternate_on}" "send -t= Down" "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.
|
# Stay in copy mode on drag end, but otherwise exit for mouse up.
|
||||||
# Requires patch from https://github.com/tmux/tmux/issues/326
|
# Requires patch from https://github.com/tmux/tmux/issues/326
|
||||||
# unbind-key -t vi-copy MouseDragEnd1Pane
|
# unbind-key -t vi-copy MouseDragEnd1Pane
|
||||||
# bind-key -t vi-copy MouseUp1Pane cancel
|
# bind-key -t vi-copy MouseUp1Pane cancel
|
||||||
|
|
||||||
bind-key -n MouseDrag1Status swap-window -t=
|
bind-key -n MouseDrag1Status swap-window -t=
|
||||||
# bind-key -n MouseDown3Status new-window -a -t=
|
# bind-key -n MouseDown3Status new-window -a -t=
|
||||||
|
|
||||||
bind-key -n MouseDrag1Status swap-window -t=
|
bind-key -n MouseDrag1Status swap-window -t=
|
||||||
# bind-key -n MouseDown3Status new-window -a -t=
|
# bind-key -n MouseDown3Status new-window -a -t=
|
||||||
|
|
||||||
|
|
||||||
# #T = standard window title (last command, see ~/.bash_profile)
|
# #T = standard window title (last command, see ~/.bash_profile)
|
||||||
# #h = short hostname
|
# #h = short hostname
|
||||||
# #S = session name
|
# #S = session name
|
||||||
# #W = tmux window name
|
# #W = tmux window name
|
||||||
set -g set-titles-string "#T : #h > #S > #W"
|
set -g set-titles-string "#T : #h > #S > #W"
|
||||||
|
|
||||||
# Show bells in window titles
|
# Show bells in window titles
|
||||||
set -g window-status-bell-style fg=yellow,bold,underscore
|
set -g window-status-bell-style fg=yellow,bold,underscore
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* Plugins
|
* Plugins
|
||||||
** Install plugins
|
** Install plugins
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
set -g @plugin 'tmux-plugins/tpm'
|
set -g @plugin 'tmux-plugins/tpm'
|
||||||
# set -g @plugin 'tmux-plugins/tmux-sessionist'
|
# set -g @plugin 'tmux-plugins/tmux-sessionist'
|
||||||
# set -g @plugin 'tmux-plugins/tmux-resurrect'
|
# set -g @plugin 'tmux-plugins/tmux-resurrect'
|
||||||
# set -g @plugin 'tmux-plugins/tmux-continuum'
|
# set -g @plugin 'tmux-plugins/tmux-continuum'
|
||||||
# set -g @plugin 'tmux-plugins/tmux-battery'
|
# set -g @plugin 'tmux-plugins/tmux-battery'
|
||||||
set -g @plugin 'nhdaly/tmux-better-mouse-mode'
|
set -g @plugin 'nhdaly/tmux-better-mouse-mode'
|
||||||
set -g @plugin 'seebi/tmux-colors-solarized'
|
set -g @plugin 'seebi/tmux-colors-solarized'
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** Configuration
|
** Configuration
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
# =============================================================
|
# =============================================================
|
||||||
# tmux-resurrect
|
# tmux-resurrect
|
||||||
# =============================================================
|
# =============================================================
|
||||||
# for vim
|
# for vim
|
||||||
set -g @resurrect-strategy-vim 'session'
|
set -g @resurrect-strategy-vim 'session'
|
||||||
# for neovim
|
# for neovim
|
||||||
set -g @resurrect-strategy-nvim 'session'
|
set -g @resurrect-strategy-nvim 'session'
|
||||||
|
|
||||||
# Restoring pane contents
|
# Restoring pane contents
|
||||||
set -g @resurrect-capture-pane-contents 'on'
|
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
|
# tmux-continuum
|
||||||
# =============================================================
|
# =============================================================
|
||||||
set -g @continuum-boot 'on'
|
set -g @continuum-boot 'on'
|
||||||
set -g @continuum-boot-options 'iterm,fullscreen'
|
set -g @continuum-boot-options 'iterm,fullscreen'
|
||||||
set -g @continuum-save-interval '15'
|
set -g @continuum-save-interval '15'
|
||||||
|
|
||||||
run-shell ~/.tmux/plugins/tmux-continuum/continuum.tmux
|
run-shell ~/.tmux/plugins/tmux-continuum/continuum.tmux
|
||||||
# =============================================================
|
# =============================================================
|
||||||
|
|
||||||
|
|
||||||
# =============================================================
|
# =============================================================
|
||||||
# tmux-battery
|
# tmux-battery
|
||||||
# =============================================================
|
# =============================================================
|
||||||
set -g @batt_charged_icon "="
|
set -g @batt_charged_icon "="
|
||||||
set -g @batt_charging_icon "+"
|
set -g @batt_charging_icon "+"
|
||||||
set -g @batt_discharging_icon "-"
|
set -g @batt_discharging_icon "-"
|
||||||
set -g @batt_attached_icon "o"
|
set -g @batt_attached_icon "o"
|
||||||
# =============================================================
|
# =============================================================
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* Colors
|
* Colors
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
set -g @colors-solarized 'light'
|
set -g @colors-solarized 'light'
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* Initialize TMUX plugin manager
|
* Initialize TMUX plugin manager
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
run '~/.tmux/plugins/tpm/tpm'
|
run '~/.tmux/plugins/tpm/tpm'
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#+TITLE: Vim Config
|
#+TITLE: Vim Config
|
||||||
#+PROPERTY: header-args+ :comments both
|
#+PROPERTY: header-args+ :comments none
|
||||||
#+PROPERTY: header-args+ :mkdirp yes
|
#+PROPERTY: header-args+ :mkdirp yes
|
||||||
#+PROPERTY: header-args+ :tangle ~/.vimrc
|
#+PROPERTY: header-args+ :tangle ~/.vimrc
|
||||||
|
|
||||||
|
336
readme.org
336
readme.org
@ -47,7 +47,7 @@ http://www.howardism.org/Technical/Emacs/literate-devops.html
|
|||||||
https://github.com/Jguer/yay
|
https://github.com/Jguer/yay
|
||||||
|
|
||||||
** Installation
|
** Installation
|
||||||
#+BEGIN_SRC bash :tangle ~/dotfiles-install.sh
|
#+BEGIN_SRC bash
|
||||||
sudo pacman -S yay
|
sudo pacman -S yay
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
@ -65,11 +65,12 @@ sudo pacman -S yay
|
|||||||
https://git-scm.com/
|
https://git-scm.com/
|
||||||
|
|
||||||
** Installation
|
** Installation
|
||||||
#+BEGIN_SRC bash :tangle ~/dotfiles-install.sh
|
#+BEGIN_SRC bash
|
||||||
yay -S git
|
yay -S git
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** Configuration
|
** Configuration
|
||||||
|
[[file:dotfiles/git.org][dotfiles/git.org]]
|
||||||
- =~/.gitconfig=
|
- =~/.gitconfig=
|
||||||
- =~/.gitignore_global=
|
- =~/.gitignore_global=
|
||||||
|
|
||||||
@ -77,7 +78,7 @@ yay -S git
|
|||||||
https://github.com/so-fancy/diff-so-fancy
|
https://github.com/so-fancy/diff-so-fancy
|
||||||
*** Installation
|
*** Installation
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
yay -S diff-so-fancy
|
yay -S diff-so-fancy
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** Configuration
|
*** Configuration
|
||||||
@ -85,12 +86,6 @@ yay -S diff-so-fancy
|
|||||||
git config --global core.pager "diff-so-fancy | less --tabs=4 -RFX"
|
git config --global core.pager "diff-so-fancy | less --tabs=4 -RFX"
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** TODO Github interface - Hub
|
|
||||||
*** Installation
|
|
||||||
#+begin_src bash
|
|
||||||
yay -S hub
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
** Credential Helper setup with Pass
|
** Credential Helper setup with Pass
|
||||||
This is explained in a further part: [[*Integration with Git][Integration of Pass with Git]].
|
This is explained in a further part: [[*Integration with Git][Integration of Pass with Git]].
|
||||||
|
|
||||||
@ -98,11 +93,12 @@ This is explained in a further part: [[*Integration with Git][Integration of Pas
|
|||||||
https://github.com/thestinger/termite
|
https://github.com/thestinger/termite
|
||||||
** Termite
|
** Termite
|
||||||
*** Installation
|
*** Installation
|
||||||
#+BEGIN_SRC bash :tangle ~/dotfiles-install.sh
|
#+BEGIN_SRC bash
|
||||||
yay -S termite
|
yay -S termite
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
*** Configuration
|
*** Configuration
|
||||||
|
[[file:dotfiles/termite.org][termite.org]]
|
||||||
- =~/.config/termite/config=
|
- =~/.config/termite/config=
|
||||||
|
|
||||||
*** Cheatsheet
|
*** Cheatsheet
|
||||||
@ -121,8 +117,8 @@ yay -S termite
|
|||||||
|
|
||||||
** TODO [#C] Unicode Rxvt
|
** TODO [#C] Unicode Rxvt
|
||||||
*** Installation
|
*** Installation
|
||||||
#+BEGIN_SRC bash :tangle ~/dotfiles-install.sh
|
#+BEGIN_SRC bash
|
||||||
yay -S rxvt-unicode
|
yay -S rxvt-unicode
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
*** Configuration
|
*** Configuration
|
||||||
@ -132,8 +128,8 @@ Most of Urxvt configuration is done in =~/.Xresources=
|
|||||||
https://wiki.archlinux.org/index.php/Bash
|
https://wiki.archlinux.org/index.php/Bash
|
||||||
|
|
||||||
** Bash Completion
|
** Bash Completion
|
||||||
#+BEGIN_SRC bash :tangle ~/dotfiles-install.sh
|
#+BEGIN_SRC bash
|
||||||
yay -S bash-completion
|
yay -S bash-completion
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** TODO [#B] Configuration
|
** TODO [#B] Configuration
|
||||||
@ -146,16 +142,22 @@ yay -S bash-completion
|
|||||||
https://github.com/tmux/tmux
|
https://github.com/tmux/tmux
|
||||||
|
|
||||||
** Installation
|
** Installation
|
||||||
#+BEGIN_SRC bash :tangle ~/dotfiles-install.sh
|
#+BEGIN_SRC bash
|
||||||
yay -S tmux
|
yay -S tmux
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
** Configuration
|
||||||
|
After configuration is generated.
|
||||||
|
#+begin_src bash
|
||||||
|
tmux source-file ~/.tmux.conf
|
||||||
|
#+end_src
|
||||||
|
|
||||||
** Session Manager - Tmuxinator
|
** Session Manager - Tmuxinator
|
||||||
https://github.com/tmuxinator/tmuxinator
|
https://github.com/tmuxinator/tmuxinator
|
||||||
|
|
||||||
*** Installation
|
*** Installation
|
||||||
#+BEGIN_SRC bash
|
#+BEGIN_SRC bash
|
||||||
yay -S tmuxinator
|
yay -S tmuxinator
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
*** Special sessions
|
*** Special sessions
|
||||||
@ -170,8 +172,10 @@ This is used with rofi.
|
|||||||
** TODO [#A] Multiple Tmux configuration
|
** TODO [#A] Multiple Tmux configuration
|
||||||
- one with no line for neomutt
|
- one with no line for neomutt
|
||||||
- one complete for coding
|
- one complete for coding
|
||||||
|
|
||||||
** TODO [#B] Configuration: theme
|
** TODO [#B] Configuration: theme
|
||||||
https://github.com/seebi/tmux-colors-solarized
|
https://github.com/seebi/tmux-colors-solarized
|
||||||
|
|
||||||
** TODO [#A] To check
|
** TODO [#A] To check
|
||||||
- https://github.com/gpakosz/.tmux
|
- https://github.com/gpakosz/.tmux
|
||||||
- https://gist.github.com/MohamedAlaa/2961058
|
- https://gist.github.com/MohamedAlaa/2961058
|
||||||
@ -187,8 +191,8 @@ https://github.com/seebi/tmux-colors-solarized
|
|||||||
|
|
||||||
* TODO [#C] Fonts
|
* TODO [#C] Fonts
|
||||||
** Installation
|
** Installation
|
||||||
#+BEGIN_SRC bash :tangle ~/dotfiles-install.sh
|
#+BEGIN_SRC bash
|
||||||
yay -S ttf-inconsolata nerd-font-complete ttf-linux-libertine
|
yay -S ttf-inconsolata nerd-fonts-complete ttf-linux-libertine ttf-emojione
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** TODO [#C] Default fonts
|
** TODO [#C] Default fonts
|
||||||
@ -199,13 +203,6 @@ Maybe use:
|
|||||||
- Serif Font: Libertine
|
- Serif Font: Libertine
|
||||||
- Sans Font: Linux Biolinum
|
- Sans Font: Linux Biolinum
|
||||||
|
|
||||||
** Nice fonts
|
|
||||||
- https://github.com/be5invis/Iosevka
|
|
||||||
** Emojis
|
|
||||||
#+BEGIN_SRC bash :tangle ~/dotfiles-install.sh
|
|
||||||
yay -S ttf-emojione
|
|
||||||
#+END_SRC
|
|
||||||
|
|
||||||
** Cheatsheet
|
** Cheatsheet
|
||||||
| Command | Usage |
|
| Command | Usage |
|
||||||
|-----------+--------------------------|
|
|-----------+--------------------------|
|
||||||
@ -216,7 +213,7 @@ yay -S ttf-emojione
|
|||||||
https://github.com/neovim/neovim
|
https://github.com/neovim/neovim
|
||||||
|
|
||||||
*** Installation
|
*** Installation
|
||||||
#+BEGIN_SRC bash :tangle ~/dotfiles-install.sh
|
#+BEGIN_SRC bash
|
||||||
yay -S neovim
|
yay -S neovim
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
@ -244,7 +241,7 @@ https://github.com/daeyun/vim-matlab/
|
|||||||
https://www.gnu.org/software/emacs/
|
https://www.gnu.org/software/emacs/
|
||||||
|
|
||||||
*** Installation
|
*** Installation
|
||||||
#+BEGIN_SRC bash :tangle ~/dotfiles-install.sh
|
#+BEGIN_SRC bash
|
||||||
yay -S emacs
|
yay -S emacs
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
@ -254,8 +251,8 @@ Add a systemd service to automatically run Emacs deamon in the background on sta
|
|||||||
|
|
||||||
Then run:
|
Then run:
|
||||||
#+BEGIN_SRC bash
|
#+BEGIN_SRC bash
|
||||||
systemctl enable --user emacs
|
systemctl enable --user emacs
|
||||||
systemctl start --user emacs
|
systemctl start --user emacs
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
In order to open the emacs client: =emacsclient -create-frame --alternate-editor=""=
|
In order to open the emacs client: =emacsclient -create-frame --alternate-editor=""=
|
||||||
@ -266,7 +263,7 @@ Then, add a shortcut to i3 config to open an emacsclient.
|
|||||||
[[file:~/.spacemacs.d/spacemacs.org][file:~/.spacemacs.d/spacemacs.org]]
|
[[file:~/.spacemacs.d/spacemacs.org][file:~/.spacemacs.d/spacemacs.org]]
|
||||||
|
|
||||||
*** SpellCheck with Aspell
|
*** SpellCheck with Aspell
|
||||||
#+BEGIN_SRC bash :tangle ~/dotfiles-install.sh
|
#+BEGIN_SRC bash
|
||||||
yay -S aspell aspell-en aspell-fr
|
yay -S aspell aspell-en aspell-fr
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
@ -307,6 +304,43 @@ max-cache-ttl 60480000
|
|||||||
default-cache-ttl 60480000
|
default-cache-ttl 60480000
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
* Launcher - Rofi
|
||||||
|
https://github.com/DaveDavenport/rofi
|
||||||
|
|
||||||
|
** Installation
|
||||||
|
#+BEGIN_SRC bash
|
||||||
|
yay -S rofi
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
|
** Setup rofi as a dmenu replacement
|
||||||
|
Setup rofi as a dmenu replacement in =~/.i3/config=:
|
||||||
|
#+BEGIN_SRC
|
||||||
|
bindsym $mod+d exec --no-startup-id rofi -show run
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
|
** Run sudo commands with rofi
|
||||||
|
https://github.com/DaveDavenport/rofi/issues/584#issuecomment-384555551
|
||||||
|
|
||||||
|
Use ~sudo -A~, that will open a rofi prompt to ask for the password.
|
||||||
|
|
||||||
|
For that to work, we need to add the following code to =~/.profile=:
|
||||||
|
#+BEGIN_SRC bash
|
||||||
|
export SUDO_ASKPASS=~/bin/askpass-rofi
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
|
The =askpass= script is:
|
||||||
|
#+BEGIN_SRC bash
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Take password prompt from STDIN, print password to STDOUT
|
||||||
|
# the sed piece just removes the colon from the provided
|
||||||
|
# prompt: rofi -p already gives us a colon
|
||||||
|
rofi -dmenu \
|
||||||
|
-password \
|
||||||
|
-no-fixed-num-lines \
|
||||||
|
-p "$(printf "$1" | sed s/://)"
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
* Password Manager: Pass
|
* Password Manager: Pass
|
||||||
https://www.passwordstore.org/
|
https://www.passwordstore.org/
|
||||||
|
|
||||||
@ -315,8 +349,6 @@ https://www.passwordstore.org/
|
|||||||
yay -S pass
|
yay -S pass
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** TODO Connect the GPG key
|
|
||||||
|
|
||||||
** Initialize the password store as a git repository
|
** Initialize the password store as a git repository
|
||||||
#+BEGIN_SRC bash
|
#+BEGIN_SRC bash
|
||||||
pass git init
|
pass git init
|
||||||
@ -335,7 +367,7 @@ https://github.com/carnager/rofi-pass
|
|||||||
|
|
||||||
*** Installation
|
*** Installation
|
||||||
#+BEGIN_SRC bash
|
#+BEGIN_SRC bash
|
||||||
yay -S rofi-pass
|
yay -S rofi-pass
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
Then we can add a shortcut to =rofi-pass= on i3 config.
|
Then we can add a shortcut to =rofi-pass= on i3 config.
|
||||||
@ -354,7 +386,7 @@ This is explained [[*Integration with Pass: the password manager][here]].
|
|||||||
https://github.com/languitar/pass-git-helper
|
https://github.com/languitar/pass-git-helper
|
||||||
*** Installation
|
*** Installation
|
||||||
#+BEGIN_SRC bash
|
#+BEGIN_SRC bash
|
||||||
yay -S pass-git-helper
|
yay -S pass-git-helper
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
*** Configuration
|
*** Configuration
|
||||||
@ -385,7 +417,7 @@ https://github.com/jarun/Buku
|
|||||||
|
|
||||||
** Installation
|
** Installation
|
||||||
#+BEGIN_SRC bash
|
#+BEGIN_SRC bash
|
||||||
yaourt -S buku
|
yay -S buku
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** Integration with Rofi
|
** Integration with Rofi
|
||||||
@ -460,13 +492,13 @@ https://github.com/qutebrowser/qutebrowser
|
|||||||
|
|
||||||
** Installation
|
** Installation
|
||||||
#+BEGIN_SRC bash
|
#+BEGIN_SRC bash
|
||||||
yay -S qutebrowser
|
yay -S qutebrowser
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** View Pdf inside qutebrowser with pdfjs
|
** View Pdf inside qutebrowser with pdfjs
|
||||||
*** Installation
|
*** Installation
|
||||||
#+BEGIN_SRC bash
|
#+BEGIN_SRC bash
|
||||||
yay -S pdfjs
|
yay -S pdfjs
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
*** Usage
|
*** Usage
|
||||||
@ -483,7 +515,7 @@ When opening a pdf file on qutebrowser, you'll be ask for options:
|
|||||||
Add the key-binding on =~/.config/qutebrowser/config.py=
|
Add the key-binding on =~/.config/qutebrowser/config.py=
|
||||||
|
|
||||||
#+BEGIN_SRC
|
#+BEGIN_SRC
|
||||||
config.bind('<Ctrl-p>', 'spawn --userscript password_fill')
|
config.bind(',p', 'spawn --userscript password_fill')
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
The =password_fill= script can be found on [[https://github.com/qutebrowser/qutebrowser/blob/master/misc/userscripts/password_fill][github.com]].
|
The =password_fill= script can be found on [[https://github.com/qutebrowser/qutebrowser/blob/master/misc/userscripts/password_fill][github.com]].
|
||||||
@ -708,54 +740,48 @@ This looks for contacts in your emails.
|
|||||||
** TODO Integration with Mutt
|
** TODO Integration with Mutt
|
||||||
|
|
||||||
* TODO Chat Application
|
* TODO Chat Application
|
||||||
** Gui Chat Application - Franz
|
|
||||||
https://github.com/meetfranz/franz
|
|
||||||
*** Installation
|
|
||||||
Download the AppImage and run it.
|
|
||||||
|
|
||||||
** Weechat
|
** Weechat
|
||||||
https://weechat.org/files/doc/stable/weechat_user.en.html
|
https://weechat.org/files/doc/stable/weechat_user.en.html
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
yay -S weechat
|
yay -S weechat
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
Then we install some dependencies
|
Then we install some dependencies
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
yay -S tcl lua ruby
|
yay -S tcl lua ruby
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
Enable mouse support:
|
Enable mouse support:
|
||||||
#+begin_src text
|
#+begin_src text
|
||||||
/mouse enable
|
/mouse enable
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** TODO Theme
|
*** TODO Theme
|
||||||
https://www.bfoliver.com/technology/2017/07/15/weechat/
|
https://www.bfoliver.com/technology/2017/07/15/weechat/
|
||||||
|
|
||||||
https://alexjj.com/blog/2016/9/setting-up-weechat/
|
https://alexjj.com/blog/2016/9/setting-up-weechat/
|
||||||
#+begin_src conf
|
#+begin_src conf
|
||||||
/set weechat.look.prefix_same_nick "⤷"
|
/set weechat.look.prefix_same_nick "⤷"
|
||||||
/set weechat.look.prefix_error "⚠"
|
/set weechat.look.prefix_error "⚠"
|
||||||
/set weechat.look.prefix_action "⚡"
|
/set weechat.look.prefix_action "⚡"
|
||||||
/set weechat.look.bar_more_down "▼▼"
|
/set weechat.look.bar_more_down "▼▼"
|
||||||
/set weechat.look.bar_more_left "◀◀"
|
/set weechat.look.bar_more_left "◀◀"
|
||||||
/set weechat.look.bar_more_right "▶▶"
|
/set weechat.look.bar_more_right "▶▶"
|
||||||
/set weechat.look.bar_more_up "▲▲"
|
/set weechat.look.bar_more_up "▲▲"
|
||||||
/set weechat.look.prefix_suffix "╡"
|
/set weechat.look.prefix_suffix "╡"
|
||||||
/set weechat.color.chat_nick_colors red,green,brown,blue,magenta,cyan,white,lightred,lightgreen,yellow,lightblue,lightmagenta,lightcyan
|
/set weechat.color.chat_nick_colors red,green,brown,blue,magenta,cyan,white,lightred,lightgreen,yellow,lightblue,lightmagenta,lightcyan
|
||||||
/set weechat.color.separator 31
|
/set weechat.color.separator 31
|
||||||
/set buffers.color.current_fg 31
|
/set buffers.color.current_fg 31
|
||||||
/set buffers.color.current_bg white
|
/set buffers.color.current_bg white
|
||||||
/set buffers.color.hotlist_message_fg 229
|
/set buffers.color.hotlist_message_fg 229
|
||||||
/set buffers.color.hotlist_private_fg 121
|
/set buffers.color.hotlist_private_fg 121
|
||||||
/set buffers.color.hotlist_highlight_fg 163
|
/set buffers.color.hotlist_highlight_fg 163
|
||||||
/set buffers.color.number 239
|
/set buffers.color.number 239
|
||||||
/set buffers.color.number_char 245
|
/set buffers.color.number_char 245
|
||||||
/set weechat.bar.title.conditions "${inactive}"
|
/set weechat.bar.title.conditions "${inactive}"
|
||||||
/set weechat.bar.title.color_fg black
|
/set weechat.bar.title.color_fg black
|
||||||
/set weechat.bar.title.color_bg 31 #Or white if 31 does nothing
|
/set weechat.bar.title.color_bg 31 #Or white if 31 does nothing
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** TODO Configuration
|
*** TODO Configuration
|
||||||
@ -772,6 +798,7 @@ Then alt-enter is bound to insert a new line:
|
|||||||
/set plugins.var.perl.multiline.magic_paste_only on
|
/set plugins.var.perl.multiline.magic_paste_only on
|
||||||
/key bind meta-ctrl-M /input insert \x0a
|
/key bind meta-ctrl-M /input insert \x0a
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
And enter is bound to =magic_enter= that directly sends the message if its one line, and if its multiple line, waits a little bit and then sends the message:
|
And enter is bound to =magic_enter= that directly sends the message if its one line, and if its multiple line, waits a little bit and then sends the message:
|
||||||
#+begin_src conf
|
#+begin_src conf
|
||||||
/key bind ctrl-M /input magic_enter
|
/key bind ctrl-M /input magic_enter
|
||||||
@ -800,14 +827,9 @@ https://github.com/wee-slack/wee-slack
|
|||||||
|
|
||||||
Dependency:
|
Dependency:
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
yay -S python2-websocket-client
|
yay -S python2-websocket-client
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** TODO Terminal Based - Slack-Term
|
|
||||||
https://github.com/erroneousboat/slack-term
|
|
||||||
|
|
||||||
*** Installation
|
|
||||||
|
|
||||||
** TODO Using Emacs
|
** TODO Using Emacs
|
||||||
* Redshift
|
* Redshift
|
||||||
http://jonls.dk/redshift/
|
http://jonls.dk/redshift/
|
||||||
@ -824,7 +846,7 @@ https://wiki.archlinux.org/index.php/Isync
|
|||||||
|
|
||||||
*** Installation
|
*** Installation
|
||||||
#+BEGIN_SRC bash
|
#+BEGIN_SRC bash
|
||||||
yay -S isync
|
yay -S isync
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
*** TODO Configuration
|
*** TODO Configuration
|
||||||
@ -861,7 +883,7 @@ https://marlam.de/msmtp/
|
|||||||
|
|
||||||
*** Installation
|
*** Installation
|
||||||
#+BEGIN_SRC bash
|
#+BEGIN_SRC bash
|
||||||
yay -S msmtp
|
yay -S msmtp
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** Mail Indexer - Notmuch
|
** Mail Indexer - Notmuch
|
||||||
@ -991,7 +1013,6 @@ yay -S nnn
|
|||||||
https://wiki.archlinux.org/index.php/PCManFM
|
https://wiki.archlinux.org/index.php/PCManFM
|
||||||
|
|
||||||
* TODO [#B] Image viewer
|
* TODO [#B] Image viewer
|
||||||
|
|
||||||
** TODO Write a script to open any type of image using the corresponding program
|
** TODO Write a script to open any type of image using the corresponding program
|
||||||
| Filetype | png | pdf | svg |
|
| Filetype | png | pdf | svg |
|
||||||
|----------+-----+---------+---------|
|
|----------+-----+---------+---------|
|
||||||
@ -1036,7 +1057,7 @@ yay -S sxiv
|
|||||||
* TODO [#B] Windows Manager - i3
|
* TODO [#B] Windows Manager - i3
|
||||||
** TODO Installation
|
** TODO Installation
|
||||||
#+BEGIN_SRC bash
|
#+BEGIN_SRC bash
|
||||||
yay -S i3-gaps
|
yay -S i3-gaps
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** TODO Packages to install/understand
|
** TODO Packages to install/understand
|
||||||
@ -1051,17 +1072,6 @@ https://github.com/i3/i3/blob/next/contrib/per-workspace-layout.pl
|
|||||||
For instance, default to tabbed windows for workspace dealing with matlab figures.
|
For instance, default to tabbed windows for workspace dealing with matlab figures.
|
||||||
*** Figures / Matlab
|
*** Figures / Matlab
|
||||||
|
|
||||||
** TODO [#C] Scratchpad
|
|
||||||
This mode is activated using =cmd-s=.
|
|
||||||
|
|
||||||
| Command | Usage |
|
|
||||||
|---------+------------------------|
|
|
||||||
| =p= | Music Player - ncmpcpp |
|
|
||||||
| =m= | Mail Reader - neomutt |
|
|
||||||
| =c= | Calculator - insect |
|
|
||||||
|
|
||||||
To close the current Scratchpad, use =cmd-bsp=
|
|
||||||
|
|
||||||
** TODO [#B] CheatSheet
|
** TODO [#B] CheatSheet
|
||||||
| Command | Usage |
|
| Command | Usage |
|
||||||
|---------+-------|
|
|---------+-------|
|
||||||
@ -1071,7 +1081,7 @@ https://polybar.github.io/
|
|||||||
|
|
||||||
** Installation
|
** Installation
|
||||||
#+BEGIN_SRC bash
|
#+BEGIN_SRC bash
|
||||||
yay -S polybar
|
yay -S polybar
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** TODO [#C] Configuration
|
** TODO [#C] Configuration
|
||||||
@ -1086,26 +1096,6 @@ Polybar is launched automatically from i3 config.
|
|||||||
- [ ] switch theme (dark/light)
|
- [ ] switch theme (dark/light)
|
||||||
- [ ] suspend, restart, hibernate, lock
|
- [ ] suspend, restart, hibernate, lock
|
||||||
|
|
||||||
** Display unread emails
|
|
||||||
Let's say we want to display unread emails, and when clicking on that we open our mail client.
|
|
||||||
|
|
||||||
#+BEGIN_SRC
|
|
||||||
[module/unread_mail]
|
|
||||||
type = custom/script
|
|
||||||
|
|
||||||
label-font = 2
|
|
||||||
format-underline = ${colors.background}
|
|
||||||
click-left = termite -e "tmuxinator start neomutt" &
|
|
||||||
format = <label>
|
|
||||||
exec = ~/.config/polybar/scripts/unread_mails.sh
|
|
||||||
interval = 1
|
|
||||||
#+END_SRC
|
|
||||||
|
|
||||||
A custom script =~/.config/polybar/scripts/unread_mails.sh= is just returning the unread emails.
|
|
||||||
|
|
||||||
** TODO [#C] Create multiple bars
|
|
||||||
https://www.reddit.com/r/unixporn/comments/92guq6/i3polybar_animated_polybar_drop_down_menus/?utm_name=u_tdehaeze
|
|
||||||
|
|
||||||
** TODO [#C] Add Conky to polybar
|
** TODO [#C] Add Conky to polybar
|
||||||
* TODO [#C] Compositor - Compton
|
* TODO [#C] Compositor - Compton
|
||||||
https://wiki.archlinux.org/index.php/Compton
|
https://wiki.archlinux.org/index.php/Compton
|
||||||
@ -1113,16 +1103,16 @@ https://github.com/chjj/compton
|
|||||||
|
|
||||||
** Installation
|
** Installation
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
yay -S compton
|
yay -S compton
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** TODO [#B] Configuration
|
** TODO [#B] Configuration
|
||||||
=~/.config/compton.conf=
|
=~/.config/compton.conf=
|
||||||
|
|
||||||
** GUI Configuration
|
** TODO GUI Configuration
|
||||||
To install:
|
To install:
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
yay -S compton-conf
|
yay -S compton-conf
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
Then run =compton-conf=
|
Then run =compton-conf=
|
||||||
@ -1130,7 +1120,7 @@ Then run =compton-conf=
|
|||||||
** Automatic run as daemon
|
** Automatic run as daemon
|
||||||
Compton is run from i3 config in the background (=-b= option)
|
Compton is run from i3 config in the background (=-b= option)
|
||||||
#+BEGIN_SRC bash
|
#+BEGIN_SRC bash
|
||||||
exec --no-startup-id compton -b
|
exec --no-startup-id compton -b
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* TODO [#C] Notification Manager - Dunst
|
* TODO [#C] Notification Manager - Dunst
|
||||||
@ -1189,60 +1179,7 @@ Run ~qt5ct~ to manage QT Themes.
|
|||||||
** XFT Themes
|
** XFT Themes
|
||||||
Some configuration are located in =~/.Xresources=.
|
Some configuration are located in =~/.Xresources=.
|
||||||
|
|
||||||
* Launcher - Rofi
|
|
||||||
https://github.com/DaveDavenport/rofi
|
|
||||||
|
|
||||||
** Installation
|
|
||||||
#+BEGIN_SRC bash
|
|
||||||
yay -S rofi
|
|
||||||
#+END_SRC
|
|
||||||
|
|
||||||
** Setup rofi as a dmenu replacement
|
|
||||||
Setup rofi as a dmenu replacement in =~/.i3/config=:
|
|
||||||
#+BEGIN_SRC
|
|
||||||
bindsym $mod+d exec --no-startup-id rofi -show run
|
|
||||||
#+END_SRC
|
|
||||||
|
|
||||||
** Run sudo commands with rofi
|
|
||||||
https://github.com/DaveDavenport/rofi/issues/584#issuecomment-384555551
|
|
||||||
|
|
||||||
Use ~sudo -A~, that will open a rofi prompt to ask for the password.
|
|
||||||
|
|
||||||
For that to work, we need to add the following code to =~/.profile=:
|
|
||||||
#+BEGIN_SRC bash
|
|
||||||
export SUDO_ASKPASS=~/bin/askpass-rofi
|
|
||||||
#+END_SRC
|
|
||||||
|
|
||||||
The =askpass= script is:
|
|
||||||
#+BEGIN_SRC bash
|
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# Take password prompt from STDIN, print password to STDOUT
|
|
||||||
# the sed piece just removes the colon from the provided
|
|
||||||
# prompt: rofi -p already gives us a colon
|
|
||||||
rofi -dmenu \
|
|
||||||
-password \
|
|
||||||
-no-fixed-num-lines \
|
|
||||||
-p "$(printf "$1" | sed s/://)"
|
|
||||||
#+END_SRC
|
|
||||||
|
|
||||||
* TODO [#A] Advanced config
|
* TODO [#A] Advanced config
|
||||||
** TODO [#A] Deactivate startup mac sound
|
|
||||||
#+BEGIN_SRC bash
|
|
||||||
sudo nvram SystemAudioVolume=%80
|
|
||||||
#+END_SRC
|
|
||||||
|
|
||||||
** TODO [#B] Webcam
|
|
||||||
https://github.com/patjak/bcwc_pcie/wiki/Get-Started
|
|
||||||
|
|
||||||
Explain how this is working now
|
|
||||||
|
|
||||||
** TODO [#C] Trackpad
|
|
||||||
The configuration is here: =/etc/X11/xorg.conf.d/30-touchpad.conf=
|
|
||||||
|
|
||||||
** TODO [#A] Startup programs
|
|
||||||
Should I use i3 or systemd for that?
|
|
||||||
https://www.reddit.com/r/linux/comments/132gle/eli5_the_systemd_vs_initupstart_controversy/
|
|
||||||
** TODO [#C] Printer
|
** TODO [#C] Printer
|
||||||
https://wiki.archlinux.org/index.php/CUPS
|
https://wiki.archlinux.org/index.php/CUPS
|
||||||
Web based administration: http://localhost:631/
|
Web based administration: http://localhost:631/
|
||||||
@ -1283,19 +1220,6 @@ https://wiki.archlinux.org/index.php/Powertop
|
|||||||
|
|
||||||
Alternative: pm-utils
|
Alternative: pm-utils
|
||||||
|
|
||||||
** TODO [#A] Suspend / Hibernate
|
|
||||||
https://bbs.archlinux.org/viewtopic.php?id=215091
|
|
||||||
https://loicpefferkorn.net/2015/01/arch-linux-sur-macbook-pro-retina-2014-avec-dm-crypt-lvm-et-hibernation/
|
|
||||||
|
|
||||||
https://0xadada.pub/2016/03/05/install-encrypted-arch-linux-on-apple-macbook-pro/#configuring-wireless
|
|
||||||
|
|
||||||
https://medium.com/@tigersoldier/macbook-pro-2015-with-arch-linux-4f8d3a2c0de5
|
|
||||||
To work around this problem, disable the driver before suspend: =sudo rmmod brcmfmac=
|
|
||||||
On wake up, re-enable the driver: =sudo modprobe brcmfmac=
|
|
||||||
|
|
||||||
*** Current behavior
|
|
||||||
Actually, it seems that the first suspend is working. After that the macbook go out of the suspend after few seconds
|
|
||||||
|
|
||||||
** TODO [#A] Lid open/close
|
** TODO [#A] Lid open/close
|
||||||
Should automatic show lock screen
|
Should automatic show lock screen
|
||||||
|
|
||||||
@ -1308,18 +1232,6 @@ https://wiki.archlinux.org/index.php/USB_storage_devices
|
|||||||
https://wiki.manjaro.org/index.php?title=ExFAT_file_system
|
https://wiki.manjaro.org/index.php?title=ExFAT_file_system
|
||||||
AUR package: bash mount
|
AUR package: bash mount
|
||||||
|
|
||||||
** TODO [#C] NAS Synology
|
|
||||||
*** Script to mount and umount
|
|
||||||
https://blog.whabash.com/posts/mounting_synology_nas_shared_folder_nfs_ubuntu_16_10
|
|
||||||
=~/bin/nas=
|
|
||||||
|
|
||||||
*** TODO Automatic Backup of folders?
|
|
||||||
AUR package: synology backup
|
|
||||||
*** TODO Automatic Mount of NAS folder
|
|
||||||
https://wiki.archlinux.org/index.php/NFS
|
|
||||||
https://hoarding.me/rclone-scripts/
|
|
||||||
https://blog.whabash.com/posts/mounting_synology_nas_shared_folder_nfs_ubuntu_16_10
|
|
||||||
*** TODO [#A] Install beets on the nas?
|
|
||||||
** TODO [#C] Format disks
|
** TODO [#C] Format disks
|
||||||
https://gparted.org/
|
https://gparted.org/
|
||||||
|
|
||||||
@ -1328,15 +1240,8 @@ https://gparted.org/
|
|||||||
** TODO [#B] Bluetooth
|
** TODO [#B] Bluetooth
|
||||||
Bluetooth: Gui: https://github.com/blueman-project/blueman
|
Bluetooth: Gui: https://github.com/blueman-project/blueman
|
||||||
|
|
||||||
*** TODO Bluetooth mouse MX Anywhere
|
|
||||||
https://blog.onee3.org/2016/09/how-to-get-logitech-mx-anywhere-2-to-work-with-ubuntu/
|
|
||||||
|
|
||||||
*** TODO Bluetooth headset
|
|
||||||
** TODO [#B] Wifi
|
|
||||||
https://0xadada.pub/2016/03/05/install-encrypted-arch-linux-on-apple-macbook-pro/#ref:note:1
|
|
||||||
** TODO [#B] Temperature and Fan control
|
** TODO [#B] Temperature and Fan control
|
||||||
https://github.com/dgraziotin/mbpfan
|
https://github.com/dgraziotin/mbpfan
|
||||||
https://0xadada.pub/2016/03/05/install-encrypted-arch-linux-on-apple-macbook-pro/#fine-tuning
|
|
||||||
Fan are controlled by mbpfan. The config file is =/etc/mbpfan.conf=
|
Fan are controlled by mbpfan. The config file is =/etc/mbpfan.conf=
|
||||||
|
|
||||||
#+BEGIN_SRC bash
|
#+BEGIN_SRC bash
|
||||||
@ -1352,33 +1257,28 @@ sudo systemctl enable thermald
|
|||||||
sudo systemctl start thermald
|
sudo systemctl start thermald
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** TODO [#B] Refind / Grub
|
|
||||||
https://github.com/EvanPurkhiser/rEFInd-minimal
|
|
||||||
https://www.pclosmag.com/html/Issues/200709/page07.html
|
|
||||||
*** TODO Switch from Refind to Grub
|
|
||||||
https://www.reddit.com/r/archlinux/comments/a2euuz/switching_from_refind_to_grub/?utm_name=u_tdehaeze
|
|
||||||
** TODO [#B] Lock Screen
|
** TODO [#B] Lock Screen
|
||||||
https://github.com/pavanjadhaw/betterlockscreen
|
https://github.com/pavanjadhaw/betterlockscreen
|
||||||
|
|
||||||
*** Installation
|
*** Installation
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
yay -S betterlockscreen
|
yay -S betterlockscreen
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* TODO [#C] LaTeX
|
* TODO [#C] LaTeX
|
||||||
** Installation
|
** Installation
|
||||||
#+BEGIN_SRC bash
|
#+BEGIN_SRC bash
|
||||||
yay -S texlive-most
|
yay -S texlive-most
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
Biber support for the bibliography:
|
Biber support for the bibliography:
|
||||||
#+BEGIN_SRC bash
|
#+BEGIN_SRC bash
|
||||||
yay -S biber
|
yay -S biber
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
Support for source code using minted:
|
Support for source code using minted:
|
||||||
#+BEGIN_SRC bash
|
#+BEGIN_SRC bash
|
||||||
yay -S minted
|
yay -S minted
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** Personnal classes/packages
|
** Personnal classes/packages
|
||||||
@ -1430,6 +1330,8 @@ https://wiki.archlinux.org/index.php/MATLAB#Installation
|
|||||||
yay -S matlab
|
yay -S matlab
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
If there is a problem when opening a Simulink file, check the solution [[https://fr.mathworks.com/matlabcentral/answers/361053-can-t-reload-usr-local-matlab-r2017b-bin-glnxa64-libmwdastudio-so][here]].
|
||||||
|
|
||||||
** SageMath
|
** SageMath
|
||||||
http://www.sagemath.org/
|
http://www.sagemath.org/
|
||||||
https://wiki.archlinux.org/index.php/SageMath
|
https://wiki.archlinux.org/index.php/SageMath
|
||||||
@ -1563,11 +1465,11 @@ sudo pip3 install papis
|
|||||||
** TODO Vdirsyncer - Sync calendars
|
** TODO Vdirsyncer - Sync calendars
|
||||||
*** Installation
|
*** Installation
|
||||||
#+BEGIN_SRC bash
|
#+BEGIN_SRC bash
|
||||||
yay -S vdirsyncer
|
yay -S vdirsyncer
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
#+BEGIN_SRC bash
|
#+BEGIN_SRC bash
|
||||||
sudo pip install requests-oauthlib
|
sudo pip install requests-oauthlib
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
*** Cheatsheet
|
*** Cheatsheet
|
||||||
@ -1579,13 +1481,13 @@ sudo pip install requests-oauthlib
|
|||||||
http://vdirsyncer.pimutils.org/en/stable/tutorials/systemd-timer.html?highlight=systemd
|
http://vdirsyncer.pimutils.org/en/stable/tutorials/systemd-timer.html?highlight=systemd
|
||||||
|
|
||||||
#+BEGIN_SRC bash
|
#+BEGIN_SRC bash
|
||||||
systemctl --user enable vdirsyncer.timer
|
systemctl --user enable vdirsyncer.timer
|
||||||
systemctl --user start vdirsyncer.timer
|
systemctl --user start vdirsyncer.timer
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
To check the status of the service:
|
To check the status of the service:
|
||||||
#+BEGIN_SRC bash
|
#+BEGIN_SRC bash
|
||||||
systemctl --user status vdirsyncer.service
|
systemctl --user status vdirsyncer.service
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** TODO Calendar Client - Khal
|
** TODO Calendar Client - Khal
|
||||||
@ -1701,12 +1603,12 @@ https://github.com/l3ib/nitrogen/
|
|||||||
https://pwmt.org/projects/zathura/
|
https://pwmt.org/projects/zathura/
|
||||||
** Installation
|
** Installation
|
||||||
#+BEGIN_SRC bash
|
#+BEGIN_SRC bash
|
||||||
yay -S zathura
|
yay -S zathura
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
Then add dependecies to view specific files:
|
Then add dependecies to view specific files:
|
||||||
#+BEGIN_SRC bash
|
#+BEGIN_SRC bash
|
||||||
yay -S zathura-pdf-mupdf zathura-djvu zathura-ps zathura-cb
|
yay -S zathura-pdf-mupdf zathura-djvu zathura-ps zathura-cb
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
It seems that mupdf is better that poppler to view pdf.
|
It seems that mupdf is better that poppler to view pdf.
|
||||||
|
Loading…
Reference in New Issue
Block a user