deprecate legacy
This commit is contained in:
@@ -1,36 +0,0 @@
|
|||||||
import pdb
|
|
||||||
|
|
||||||
|
|
||||||
class Config(pdb.DefaultConfig):
|
|
||||||
editor = "e"
|
|
||||||
stdin_paste = "epaste"
|
|
||||||
filename_color = pdb.Color.lightgray
|
|
||||||
use_terminal256formatter = False
|
|
||||||
# exec_if_unfocused = "play ~/sounds/dialtone.wav 2> /dev/null &"
|
|
||||||
|
|
||||||
def __init__(self):
|
|
||||||
# import readline
|
|
||||||
# readline.parse_and_bind('set convert-meta on')
|
|
||||||
# readline.parse_and_bind('Meta-/: complete')
|
|
||||||
|
|
||||||
try:
|
|
||||||
from pygments.formatters import terminal
|
|
||||||
except ImportError:
|
|
||||||
pass
|
|
||||||
else:
|
|
||||||
self.colorscheme = terminal.TERMINAL_COLORS.copy()
|
|
||||||
self.colorscheme.update(
|
|
||||||
{
|
|
||||||
terminal.Keyword: ("darkred", "red"),
|
|
||||||
terminal.Number: ("darkyellow", "yellow"),
|
|
||||||
terminal.String: ("brown", "green"),
|
|
||||||
terminal.Name.Function: ("darkgreen", "blue"),
|
|
||||||
terminal.Name.Namespace: ("teal", "cyan"),
|
|
||||||
}
|
|
||||||
)
|
|
||||||
|
|
||||||
def setup(self, pdb):
|
|
||||||
# make 'l' an alias to 'longlist'
|
|
||||||
Pdb = pdb.__class__
|
|
||||||
Pdb.do_l = Pdb.do_longlist
|
|
||||||
Pdb.do_st = Pdb.do_sticky
|
|
||||||
@@ -1,45 +0,0 @@
|
|||||||
[global]
|
|
||||||
width = (0, 600)
|
|
||||||
height = (0, 300)
|
|
||||||
origin = top-right
|
|
||||||
offset = (10, 50)
|
|
||||||
notification_limit = 200 # Maximum number of notification (0 means no limit)
|
|
||||||
frame_width = 1 # Defines width in pixels of frame around the notification window. Set to 0 to disable.
|
|
||||||
frame_color = "#788388"
|
|
||||||
separator_color = #263238
|
|
||||||
font = Noto Sans 10
|
|
||||||
|
|
||||||
# The format of the message. Possible variables are:
|
|
||||||
# %a appname
|
|
||||||
# %s summary
|
|
||||||
# %b body
|
|
||||||
# %i iconname (including its path)
|
|
||||||
# %I iconname (without its path)
|
|
||||||
# %p progress value if set ([ 0%] to [100%]) or nothing
|
|
||||||
# Markup is allowed
|
|
||||||
format = "<b>%s</b> %p\n%b"
|
|
||||||
icon_position = off # Align icons left/right/off
|
|
||||||
icon_path = /usr/share/icons/Adwaita/16x16/status/:/usr/share/icons/Adwaita/16x16/devices/ # Paths to default icons.
|
|
||||||
sticky_history = no
|
|
||||||
history_length = 100 # Maximum amount of notifications kept in history
|
|
||||||
|
|
||||||
[urgency_low]
|
|
||||||
background = "#263238"
|
|
||||||
foreground = "#556064"
|
|
||||||
timeout = 20
|
|
||||||
default_icon = dialog-information
|
|
||||||
|
|
||||||
[urgency_normal]
|
|
||||||
background = "#263238"
|
|
||||||
foreground = "#F9FAF9"
|
|
||||||
timeout = 40
|
|
||||||
override_pause_level = 30
|
|
||||||
default_icon = dialog-information
|
|
||||||
|
|
||||||
[urgency_critical]
|
|
||||||
background = "#D62929"
|
|
||||||
foreground = "#F9FAF9"
|
|
||||||
timeout = 0
|
|
||||||
override_pause_level = 60
|
|
||||||
default_icon = dialog-warning
|
|
||||||
# vim: ft=cfg
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
if status is-interactive
|
|
||||||
pyenv init - | source
|
|
||||||
set -x PAGER "nvimpager"
|
|
||||||
set -Ua fish_user_paths /home/hjalmarlucius/.local/bin/
|
|
||||||
set -x CUDA_HOME /opt/cuda
|
|
||||||
set -x LD_LIBRARY_PATH $LD_LIBRARY_PATH $CUDA_HOME/lib64
|
|
||||||
end
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
function ll --description 'List contents of directory using long format'
|
|
||||||
exa --icons -l $argv
|
|
||||||
end
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
function ll --description 'List contents of directory using long format'
|
|
||||||
exa --icons -l -g $argv
|
|
||||||
end
|
|
||||||
-22
@@ -1,22 +0,0 @@
|
|||||||
# General Options.
|
|
||||||
[options]
|
|
||||||
background = 2d2d2d
|
|
||||||
overlay_font = Iosevka:18
|
|
||||||
overlay_background_color = 282828
|
|
||||||
|
|
||||||
# Keybindings.
|
|
||||||
[binds]
|
|
||||||
h = prev 1
|
|
||||||
j = zoom 5
|
|
||||||
k = zoom -5
|
|
||||||
l = next 1
|
|
||||||
|
|
||||||
<Shift+H> = pan -100 0
|
|
||||||
<Shift+J> = pan 0 100
|
|
||||||
<Shift+K> = pan 0 -100
|
|
||||||
<Shift+L> = pan 100 0
|
|
||||||
|
|
||||||
<Ctrl+h> = rotate by -90
|
|
||||||
<Ctrl+j> = flip vertical
|
|
||||||
<Ctrl+k> = flip horizontal
|
|
||||||
<Ctrl+l> = rotate by 90
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
LOC=$1
|
|
||||||
echo "/srv/nfs/state *.hjarl.com(rw,async,no_subtree_check,no_root_squash) 10.0.0.0/16(rw,async,no_subtree_check,no_root_squash)" | sudo bash -c "cat >> /etc/exports"
|
|
||||||
sudo hostnamectl set-hostname ${LOC}
|
|
||||||
sudo apt install nfs-kernel-server
|
|
||||||
sudo systemctl enable --now nfs-kernel-server
|
|
||||||
sudo mkdir -p /srv/nfs/state
|
|
||||||
sudo chown -R 1000:1000 /srv/nfs/state
|
|
||||||
sudo ln -s /srv/nfs/state/ /mnt/${LOC}
|
|
||||||
sudo chown -R 1000:1000 /mnt/${LOC}
|
|
||||||
sudo exportfs -a
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
[redshift]
|
|
||||||
temp-day=5700
|
|
||||||
temp-night=3200
|
|
||||||
gamma=0.8
|
|
||||||
transition=1
|
|
||||||
brightness-day=1
|
|
||||||
brightness-night=1
|
|
||||||
adjustment-method=randr
|
|
||||||
location-provider=manual
|
|
||||||
|
|
||||||
[manual]
|
|
||||||
lat=59.9139
|
|
||||||
lon=10.7522
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Gdrive (rclone)
|
|
||||||
AssertPathIsDirectory=~/gdrive
|
|
||||||
# Make sure we have network enabled
|
|
||||||
After=network.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=notify
|
|
||||||
|
|
||||||
ExecStart=/usr/bin/rclone mount --vfs-cache-mode full gdrive: ~/gdrive
|
|
||||||
|
|
||||||
# Perform lazy unmount
|
|
||||||
ExecStop=/usr/bin/fusermount -zu ~/gdrive
|
|
||||||
|
|
||||||
# Restart the service whenever rclone exists with non-zero exit code
|
|
||||||
Restart=on-failure
|
|
||||||
RestartSec=15
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
# Autostart after reboot
|
|
||||||
WantedBy=default.target
|
|
||||||
Reference in New Issue
Block a user