changed some
This commit is contained in:
@ -44,6 +44,6 @@
|
|||||||
"python shebang" : {
|
"python shebang" : {
|
||||||
"scope": "python",
|
"scope": "python",
|
||||||
"prefix": "sb",
|
"prefix": "sb",
|
||||||
"body": "#!/usr/bin/python3"
|
"body": "#!/usr/bin/env python3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -9,36 +9,36 @@ duration = 0
|
|||||||
draw_bold_text_with_bright_colors = false
|
draw_bold_text_with_bright_colors = false
|
||||||
|
|
||||||
[colors.bright]
|
[colors.bright]
|
||||||
black = "#7B7B7B"
|
black = "#505050"
|
||||||
blue = "#B5DCFE"
|
blue = "#547C99"
|
||||||
cyan = "#DFDFFD"
|
cyan = "#7DD6CF"
|
||||||
green = "#CEFFAB"
|
green = "#7B9246"
|
||||||
magenta = "#FB9BFE"
|
magenta = "#9F4E85"
|
||||||
red = "#AF4B57"
|
red = "#A53C23"
|
||||||
white = "#FEFFFE"
|
white = "#F5F5F5"
|
||||||
yellow = "#FFFECC"
|
yellow = "#D3A04D"
|
||||||
|
|
||||||
[colors.cursor]
|
[colors.cursor]
|
||||||
cursor = "0x4d4d4c"
|
cursor = "0x4d4d4c"
|
||||||
text = "0xffffff"
|
text = "0xffffff"
|
||||||
|
|
||||||
[colors.normal]
|
[colors.normal]
|
||||||
black = "#4F4F4F"
|
black = "#151515"
|
||||||
blue = "#7D90A4"
|
blue = "#6C99BB"
|
||||||
cyan = "#85A6A5"
|
cyan = "#7DD6CF"
|
||||||
green = "#AFD383"
|
green = "#7B9246"
|
||||||
magenta = "#A4799D"
|
magenta = "#9F4E85"
|
||||||
red = "#AF4B57"
|
red = "#A53C23"
|
||||||
white = "#EEEDEE"
|
white = "#D0D0D0"
|
||||||
yellow = "#E5C079"
|
yellow = "#D3A04D"
|
||||||
|
|
||||||
[colors.primary]
|
[colors.primary]
|
||||||
background = "#1C1F27"
|
background = "#222222"
|
||||||
foreground = "#979CAC"
|
foreground = "#D0D0D0"
|
||||||
|
|
||||||
[cursor]
|
[cursor.style]
|
||||||
style = "Block"
|
shape = "Beam"
|
||||||
unfocused_hollow = true
|
blinking = "On"
|
||||||
|
|
||||||
[debug]
|
[debug]
|
||||||
log_level = "OFF"
|
log_level = "OFF"
|
||||||
@ -50,19 +50,19 @@ render_timer = false
|
|||||||
size = 16.0
|
size = 16.0
|
||||||
|
|
||||||
[font.bold]
|
[font.bold]
|
||||||
family = "Source Code Pro"
|
family = "Monaspace Neon"
|
||||||
style = "Bold"
|
style = "Regular"
|
||||||
|
|
||||||
[font.glyph_offset]
|
[font.glyph_offset]
|
||||||
x = 0
|
x = 0
|
||||||
y = 0
|
y = 0
|
||||||
|
|
||||||
[font.italic]
|
[font.italic]
|
||||||
family = "Source Code Pro"
|
family = "Monaspace Neon"
|
||||||
style = "Italic"
|
style = "Italic"
|
||||||
|
|
||||||
[font.normal]
|
[font.normal]
|
||||||
family = "Source Code Pro"
|
family = "Monaspace Neon"
|
||||||
style = "Regular"
|
style = "Regular"
|
||||||
|
|
||||||
[font.offset]
|
[font.offset]
|
||||||
@ -74,6 +74,11 @@ bindings = [
|
|||||||
{ action = "PasteSelection", mouse = "Middle" },
|
{ action = "PasteSelection", mouse = "Middle" },
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[keyboard]
|
||||||
|
bindings = [
|
||||||
|
{ key = "Back", mods = "Control", chars = "\u001b\u007f"}
|
||||||
|
]
|
||||||
|
|
||||||
[scrolling]
|
[scrolling]
|
||||||
history = 100000
|
history = 100000
|
||||||
multiplier = 3
|
multiplier = 3
|
||||||
@ -84,9 +89,12 @@ semantic_escape_chars = ",│`|:\"' ()[]{}<>"
|
|||||||
|
|
||||||
[window]
|
[window]
|
||||||
decorations = "full"
|
decorations = "full"
|
||||||
|
blur = false
|
||||||
dynamic_padding = false
|
dynamic_padding = false
|
||||||
opacity = 1
|
opacity = 1
|
||||||
startup_mode = "windowed"
|
startup_mode = "windowed"
|
||||||
|
title = "Terminal"
|
||||||
|
dynamic_title = false
|
||||||
|
|
||||||
[window.dimensions]
|
[window.dimensions]
|
||||||
columns = 85
|
columns = 85
|
||||||
|
|||||||
44
.config/alacritty/icon.svg
Normal file
44
.config/alacritty/icon.svg
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 128 128" style="display:inline;enable-background:new" version="1.0" id="svg11300" height="128" width="128">
|
||||||
|
|
||||||
|
|
||||||
|
<title id="title4162">Adwaita Icon Template</title>
|
||||||
|
<defs id="defs3">
|
||||||
|
<linearGradient id="linearGradient1948">
|
||||||
|
<stop id="stop1944" offset="0" style="stop-color:#2d2839;stop-opacity:1;"/>
|
||||||
|
<stop id="stop1946" offset="1" style="stop-color:#282433;stop-opacity:1"/>
|
||||||
|
</linearGradient>
|
||||||
|
<linearGradient id="linearGradient1020">
|
||||||
|
<stop id="stop1016" offset="0" style="stop-color:#ffffff;stop-opacity:1;"/>
|
||||||
|
<stop id="stop1018" offset="1" style="stop-color:#ffffff;stop-opacity:0.09411765"/>
|
||||||
|
</linearGradient>
|
||||||
|
<linearGradient id="linearGradient1001">
|
||||||
|
<stop id="stop989" offset="0" style="stop-color:#77767b;stop-opacity:1"/>
|
||||||
|
<stop style="stop-color:#c0bfbc;stop-opacity:1" offset="0.05" id="stop991"/>
|
||||||
|
<stop id="stop993" offset="0.09999998" style="stop-color:#9a9996;stop-opacity:1"/>
|
||||||
|
<stop style="stop-color:#9a9996;stop-opacity:1" offset="0.89999938" id="stop995"/>
|
||||||
|
<stop id="stop997" offset="0.94999999" style="stop-color:#c0bfbc;stop-opacity:1"/>
|
||||||
|
<stop id="stop999" offset="1" style="stop-color:#77767b;stop-opacity:1"/>
|
||||||
|
</linearGradient>
|
||||||
|
<linearGradient gradientUnits="userSpaceOnUse" y2="44" x2="464" y1="44" x1="48" id="linearGradient965" xlink:href="#linearGradient1001"/>
|
||||||
|
<radialGradient gradientUnits="userSpaceOnUse" gradientTransform="matrix(-4.7272726,7.935912e-7,-3.0301491e-7,-1.6363636,238.54547,49.766183)" r="44" fy="194.19048" fx="63.999996" cy="194.19048" cx="63.999996" id="radialGradient1030" xlink:href="#linearGradient1020"/>
|
||||||
|
<linearGradient gradientUnits="userSpaceOnUse" y2="269.13693" x2="70.346565" y1="245.39511" x1="70.346565" id="linearGradient1950" xlink:href="#linearGradient1948"/>
|
||||||
|
</defs>
|
||||||
|
<metadata id="metadata4">
|
||||||
|
|
||||||
|
</metadata>
|
||||||
|
<g transform="translate(0,-172)" style="display:inline" id="layer1">
|
||||||
|
<g style="display:inline" id="layer9">
|
||||||
|
<g transform="rotate(-30,420.69873,288.4192)" id="g1710" style="display:inline;enable-background:new"/>
|
||||||
|
<rect transform="matrix(0.25,0,0,0.25,0,225)" style="display:inline;opacity:1;fill:url(#linearGradient965);fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" id="rect953" width="416" height="376" x="48" y="-124" rx="32" ry="32"/>
|
||||||
|
<rect ry="32" rx="32" y="-164" x="48" height="384" width="416" id="rect950" style="display:inline;opacity:1;fill:#deddda;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" transform="matrix(0.25,0,0,0.25,0,225)"/>
|
||||||
|
<rect transform="scale(1,-1)" ry="3.9999695" rx="4" y="-276" x="16" height="87.999969" width="96" id="rect1004" style="display:inline;opacity:1;vector-effect:none;fill:#241f31;fill-opacity:1;stroke:none;stroke-width:0.01121096px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new"/>
|
||||||
|
<rect transform="scale(-1)" style="display:inline;opacity:0.05;vector-effect:none;fill:url(#radialGradient1030);fill-opacity:1;stroke:none;stroke-width:0.01121096px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" id="rect968" width="88" height="78" x="-108" y="-272"/>
|
||||||
|
<g id="g976" transform="translate(-2,-2)" style="fill:#ffffff">
|
||||||
|
<path d="M 44.012301,210.88755 30,203.27182 V 208 l 9.710724,4.62951 v 0.1422 L 30,218 v 4.72818 l 14.012301,-8.21451 z" style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:medium;line-height:1.25;font-family:'Source Code Pro';-inkscape-font-specification:'Source Code Pro, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.24999999" id="path972"/>
|
||||||
|
<path d="m 47.999998,226 2e-6,4 h 16.00001 l -2e-6,-4 z" style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:medium;line-height:1.25;font-family:'Source Code Pro';-inkscape-font-specification:'Source Code Pro, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.24999999" id="path974"/>
|
||||||
|
</g>
|
||||||
|
<path d="m 100,244 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m 84,4 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m 76,4 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m 84,4 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m 76,4 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m 84,4 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m 76,4 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z m -8,0 h 4 v 4 h -4 z" style="opacity:1;vector-effect:none;fill:url(#linearGradient1950);fill-opacity:1;stroke:none;stroke-width:8;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal" id="rect1059"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 7.4 KiB |
@ -150,6 +150,44 @@
|
|||||||
"items": []
|
"items": []
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name" : "1920x1080 Centered",
|
||||||
|
"type" : 0,
|
||||||
|
"length" : 100,
|
||||||
|
"items" : [
|
||||||
|
{
|
||||||
|
"type" : 0,
|
||||||
|
"length" : 21.9,
|
||||||
|
"items" : []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type" : 1,
|
||||||
|
"length" : 56.2,
|
||||||
|
"items" : [
|
||||||
|
{
|
||||||
|
"type" : 1,
|
||||||
|
"length" : 9.8,
|
||||||
|
"items" : []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type" : 1,
|
||||||
|
"length" : 80.4,
|
||||||
|
"items" : []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type" : 1,
|
||||||
|
"length" : 9.8,
|
||||||
|
"items" : []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type" : 0,
|
||||||
|
"length" : 21.9,
|
||||||
|
"items" : []
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@ -1 +1,2 @@
|
|||||||
add-auto-load-safe-path /home/paul/code/ma/repo/scripts/gdb/vmlinux-gdb.py
|
add-auto-load-safe-path /home/paul/code/ma/repo/scripts/gdb/vmlinux-gdb.py
|
||||||
|
add-auto-load-safe-path /home/paul/code/ma/morsel-linux-kernel/scripts/gdb/vmlinux-gdb.py
|
||||||
|
|||||||
193
.config/i3/config
Normal file
193
.config/i3/config
Normal file
@ -0,0 +1,193 @@
|
|||||||
|
# This file has been auto-generated by i3-config-wizard(1).
|
||||||
|
# It will not be overwritten, so edit it as you like.
|
||||||
|
#
|
||||||
|
# Should you change your keyboard layout some time, delete
|
||||||
|
# this file and re-run i3-config-wizard(1).
|
||||||
|
#
|
||||||
|
|
||||||
|
# i3 config file (v4)
|
||||||
|
#
|
||||||
|
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
|
||||||
|
|
||||||
|
set $mod Mod1
|
||||||
|
|
||||||
|
# Font for window titles. Will also be used by the bar unless a different font
|
||||||
|
# is used in the bar {} block below.
|
||||||
|
# font pango:monospace 8
|
||||||
|
|
||||||
|
# This font is widely installed, provides lots of unicode glyphs, right-to-left
|
||||||
|
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
||||||
|
font pango:DejaVu Sans Mono 8
|
||||||
|
|
||||||
|
# Start XDG autostart .desktop files using dex. See also
|
||||||
|
# https://wiki.archlinux.org/index.php/XDG_Autostart
|
||||||
|
exec --no-startup-id dex --autostart --environment i3
|
||||||
|
|
||||||
|
# The combination of xss-lock, nm-applet and pactl is a popular choice, so
|
||||||
|
# they are included here as an example. Modify as you see fit.
|
||||||
|
|
||||||
|
# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
|
||||||
|
# screen before suspend. Use loginctl lock-session to lock your screen.
|
||||||
|
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
|
||||||
|
|
||||||
|
# NetworkManager is the most popular way to manage wireless networks on Linux,
|
||||||
|
# and nm-applet is a desktop environment-independent system tray GUI for it.
|
||||||
|
exec --no-startup-id nm-applet
|
||||||
|
|
||||||
|
# Use pactl to adjust volume in PulseAudio.
|
||||||
|
set $refresh_i3status killall -SIGUSR1 i3status
|
||||||
|
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
|
||||||
|
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
|
||||||
|
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
|
||||||
|
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
|
||||||
|
|
||||||
|
# Use Mouse+$mod to drag floating windows to their wanted position
|
||||||
|
floating_modifier $mod
|
||||||
|
|
||||||
|
# move tiling windows via drag & drop by left-clicking into the title bar,
|
||||||
|
# or left-clicking anywhere into the window while holding the floating modifier.
|
||||||
|
tiling_drag modifier titlebar
|
||||||
|
|
||||||
|
# start a terminal
|
||||||
|
bindsym $mod+Return exec i3-sensible-terminal
|
||||||
|
|
||||||
|
# kill focused window
|
||||||
|
bindsym $mod+Shift+q kill
|
||||||
|
|
||||||
|
# start dmenu (a program launcher)
|
||||||
|
bindsym $mod+d exec --no-startup-id dmenu_run
|
||||||
|
# A more modern dmenu replacement is rofi:
|
||||||
|
# bindcode $mod+40 exec "rofi -modi drun,run -show drun"
|
||||||
|
# There also is i3-dmenu-desktop which only displays applications shipping a
|
||||||
|
# .desktop file. It is a wrapper around dmenu, so you need that installed.
|
||||||
|
# bindcode $mod+40 exec --no-startup-id i3-dmenu-desktop
|
||||||
|
|
||||||
|
# change focus
|
||||||
|
bindsym $mod+j focus left
|
||||||
|
bindsym $mod+k focus down
|
||||||
|
bindsym $mod+l focus up
|
||||||
|
bindsym $mod+odiaeresis focus right
|
||||||
|
|
||||||
|
# alternatively, you can use the cursor keys:
|
||||||
|
bindsym $mod+Left focus left
|
||||||
|
bindsym $mod+Down focus down
|
||||||
|
bindsym $mod+Up focus up
|
||||||
|
bindsym $mod+Right focus right
|
||||||
|
|
||||||
|
# move focused window
|
||||||
|
bindsym $mod+Shift+j move left
|
||||||
|
bindsym $mod+Shift+k move down
|
||||||
|
bindsym $mod+Shift+l move up
|
||||||
|
bindsym $mod+Shift+odiaeresis move right
|
||||||
|
|
||||||
|
# alternatively, you can use the cursor keys:
|
||||||
|
bindsym $mod+Shift+Left move left
|
||||||
|
bindsym $mod+Shift+Down move down
|
||||||
|
bindsym $mod+Shift+Up move up
|
||||||
|
bindsym $mod+Shift+Right move right
|
||||||
|
|
||||||
|
# split in horizontal orientation
|
||||||
|
bindsym $mod+h split h
|
||||||
|
|
||||||
|
# split in vertical orientation
|
||||||
|
bindsym $mod+v split v
|
||||||
|
|
||||||
|
# enter fullscreen mode for the focused container
|
||||||
|
bindsym $mod+f fullscreen toggle
|
||||||
|
|
||||||
|
# change container layout (stacked, tabbed, toggle split)
|
||||||
|
bindsym $mod+s layout stacking
|
||||||
|
bindsym $mod+w layout tabbed
|
||||||
|
bindsym $mod+e layout toggle split
|
||||||
|
|
||||||
|
# toggle tiling / floating
|
||||||
|
bindsym $mod+Shift+space floating toggle
|
||||||
|
|
||||||
|
# change focus between tiling / floating windows
|
||||||
|
bindsym $mod+space focus mode_toggle
|
||||||
|
|
||||||
|
# focus the parent container
|
||||||
|
bindsym $mod+a focus parent
|
||||||
|
|
||||||
|
# focus the child container
|
||||||
|
#bindsym $mod+d focus child
|
||||||
|
|
||||||
|
# Define names for default workspaces for which we configure key bindings later on.
|
||||||
|
# We use variables to avoid repeating the names in multiple places.
|
||||||
|
set $ws1 "1"
|
||||||
|
set $ws2 "2"
|
||||||
|
set $ws3 "3"
|
||||||
|
set $ws4 "4"
|
||||||
|
set $ws5 "5"
|
||||||
|
set $ws6 "6"
|
||||||
|
set $ws7 "7"
|
||||||
|
set $ws8 "8"
|
||||||
|
set $ws9 "9"
|
||||||
|
set $ws10 "10"
|
||||||
|
|
||||||
|
# switch to workspace
|
||||||
|
bindsym $mod+1 workspace number $ws1
|
||||||
|
bindsym $mod+2 workspace number $ws2
|
||||||
|
bindsym $mod+3 workspace number $ws3
|
||||||
|
bindsym $mod+4 workspace number $ws4
|
||||||
|
bindsym $mod+5 workspace number $ws5
|
||||||
|
bindsym $mod+6 workspace number $ws6
|
||||||
|
bindsym $mod+7 workspace number $ws7
|
||||||
|
bindsym $mod+8 workspace number $ws8
|
||||||
|
bindsym $mod+9 workspace number $ws9
|
||||||
|
bindsym $mod+0 workspace number $ws10
|
||||||
|
|
||||||
|
# move focused container to workspace
|
||||||
|
bindsym $mod+Shift+1 move container to workspace number $ws1
|
||||||
|
bindsym $mod+Shift+2 move container to workspace number $ws2
|
||||||
|
bindsym $mod+Shift+3 move container to workspace number $ws3
|
||||||
|
bindsym $mod+Shift+4 move container to workspace number $ws4
|
||||||
|
bindsym $mod+Shift+5 move container to workspace number $ws5
|
||||||
|
bindsym $mod+Shift+6 move container to workspace number $ws6
|
||||||
|
bindsym $mod+Shift+7 move container to workspace number $ws7
|
||||||
|
bindsym $mod+Shift+8 move container to workspace number $ws8
|
||||||
|
bindsym $mod+Shift+9 move container to workspace number $ws9
|
||||||
|
bindsym $mod+Shift+0 move container to workspace number $ws10
|
||||||
|
|
||||||
|
# reload the configuration file
|
||||||
|
bindsym $mod+Shift+c reload
|
||||||
|
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||||
|
bindsym $mod+Shift+r restart
|
||||||
|
# exit i3 (logs you out of your X session)
|
||||||
|
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
|
||||||
|
|
||||||
|
# resize window (you can also use the mouse for that)
|
||||||
|
mode "resize" {
|
||||||
|
# These bindings trigger as soon as you enter the resize mode
|
||||||
|
|
||||||
|
# Pressing left will shrink the window’s width.
|
||||||
|
# Pressing right will grow the window’s width.
|
||||||
|
# Pressing up will shrink the window’s height.
|
||||||
|
# Pressing down will grow the window’s height.
|
||||||
|
bindsym j resize shrink width 10 px or 10 ppt
|
||||||
|
bindsym k resize grow height 10 px or 10 ppt
|
||||||
|
bindsym l resize shrink height 10 px or 10 ppt
|
||||||
|
bindsym odiaeresis resize grow width 10 px or 10 ppt
|
||||||
|
|
||||||
|
# same bindings, but for the arrow keys
|
||||||
|
bindsym Left resize shrink width 10 px or 10 ppt
|
||||||
|
bindsym Down resize grow height 10 px or 10 ppt
|
||||||
|
bindsym Up resize shrink height 10 px or 10 ppt
|
||||||
|
bindsym Right resize grow width 10 px or 10 ppt
|
||||||
|
|
||||||
|
# back to normal: Enter or Escape or $mod+r
|
||||||
|
bindsym Return mode "default"
|
||||||
|
bindsym Escape mode "default"
|
||||||
|
bindsym $mod+r mode "default"
|
||||||
|
}
|
||||||
|
|
||||||
|
bindsym $mod+r mode "resize"
|
||||||
|
|
||||||
|
# Start i3bar to display a workspace bar (plus the system information i3status
|
||||||
|
# finds out, if available)
|
||||||
|
bar {
|
||||||
|
status_command i3status
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
gaps inner 10
|
||||||
@ -19,9 +19,15 @@ unbind %
|
|||||||
# reload on r
|
# reload on r
|
||||||
bind r source-file ~/.tmux.conf \; display "Reloaded config!"
|
bind r source-file ~/.tmux.conf \; display "Reloaded config!"
|
||||||
|
|
||||||
|
# number of scrollback lines
|
||||||
|
set-option -g history-limit 5000
|
||||||
|
|
||||||
# enable mouse mode
|
# enable mouse mode
|
||||||
set -g mouse on
|
set -g mouse on
|
||||||
|
|
||||||
|
# stop window to stop jump to bottom when selection something
|
||||||
|
unbind-key -T copy-mode-vi MouseDragEnd1Pane
|
||||||
|
|
||||||
# start numbering panes at 1
|
# start numbering panes at 1
|
||||||
set -g base-index 1
|
set -g base-index 1
|
||||||
setw -g pane-base-index 1
|
setw -g pane-base-index 1
|
||||||
|
|||||||
18
.zshrc
18
.zshrc
@ -70,7 +70,7 @@ DISABLE_UNTRACKED_FILES_DIRTY="true"
|
|||||||
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
|
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
|
||||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||||
# Add wisely, as too many plugins slow down shell startup.
|
# Add wisely, as too many plugins slow down shell startup.
|
||||||
plugins=(git zsh-autosuggestions macos pip pyenv docker colorize copyfile brew)
|
plugins=(git zsh-autosuggestions zsh-syntax-highlighting fast-syntax-highlighting macos pip pyenv docker colorize copyfile brew)
|
||||||
|
|
||||||
source $ZSH/oh-my-zsh.sh
|
source $ZSH/oh-my-zsh.sh
|
||||||
|
|
||||||
@ -130,11 +130,14 @@ alias zshconfig="$EDITOR ~/.zshrc"
|
|||||||
alias zshreload="source ~/.zshrc"
|
alias zshreload="source ~/.zshrc"
|
||||||
alias zshsource="source ~/.zshrc"
|
alias zshsource="source ~/.zshrc"
|
||||||
alias home="cd ~"
|
alias home="cd ~"
|
||||||
alias userchrome="$EDITOR /Users/paul/Library/Application\ Support/Firefox/Profiles/k37hu3wo.default-release/chrome/userChrome.css"
|
alias userchrome="$EDITOR ~/.mozilla/firefox/jcjwalyb.default-release/chrome/userChrome.css"
|
||||||
alias kw='echo Current Week: $((10#$(date +"%V")))'
|
alias kw='echo Current Week: $((10#$(date +"%V")))'
|
||||||
alias wol=wakeonlan
|
alias wol=wakeonlan
|
||||||
alias ge=gnome-extensions
|
alias ge=gnome-extensions
|
||||||
alias open="xdg-open"
|
alias open="xdg-open"
|
||||||
|
alias lg="lazygit"
|
||||||
|
|
||||||
|
alias R="R --no-save"
|
||||||
|
|
||||||
# Python tkinter stuff
|
# Python tkinter stuff
|
||||||
export PATH="/usr/local/opt/tcl-tk/bin:$PATH"
|
export PATH="/usr/local/opt/tcl-tk/bin:$PATH"
|
||||||
@ -142,17 +145,7 @@ export PATH="/usr/local/opt/tcl-tk/bin:$PATH"
|
|||||||
# autojump
|
# autojump
|
||||||
[ -f /opt/homebrew/etc/profile.d/autojump.sh ] && . /opt/homebrew/etc/profile.d/autojump.sh
|
[ -f /opt/homebrew/etc/profile.d/autojump.sh ] && . /opt/homebrew/etc/profile.d/autojump.sh
|
||||||
|
|
||||||
# spicetify
|
|
||||||
alias sba="spicetify backup apply"
|
|
||||||
|
|
||||||
# bitwarden-cli
|
|
||||||
alias bw='NODE_OPTIONS="--no-deprecation" bw'
|
|
||||||
|
|
||||||
# connect to smb shares
|
|
||||||
alias mount-ds='[ -e "/Volumes/pauls-dateien" ] || open "smb://paul@192.168.193.68/pauls-dateien"'
|
|
||||||
|
|
||||||
# vscode shortcuts
|
# vscode shortcuts
|
||||||
alias ma="code --folder-uri=vscode-remote://ssh-remote+sralab/home/2021/pau.aumann/ma"
|
|
||||||
alias ws="cd ~/code/wasteside && code . && tmux new -A -s wasteside"
|
alias ws="cd ~/code/wasteside && code . && tmux new -A -s wasteside"
|
||||||
|
|
||||||
# Fix ls colors for synology directories
|
# Fix ls colors for synology directories
|
||||||
@ -169,6 +162,7 @@ SAVEHIST=10000
|
|||||||
# reload "blur my shell"
|
# reload "blur my shell"
|
||||||
alias blur-my-shell="gnome-extensions disable blur-my-shell@aunetx && gnome-extensions enable blur-my-shell@aunetx"
|
alias blur-my-shell="gnome-extensions disable blur-my-shell@aunetx && gnome-extensions enable blur-my-shell@aunetx"
|
||||||
alias bms=blur-my-shell
|
alias bms=blur-my-shell
|
||||||
|
bms # run it, so it reloads on terminal open
|
||||||
|
|
||||||
# zoxide
|
# zoxide
|
||||||
eval "$(zoxide init --cmd cd zsh)"
|
eval "$(zoxide init --cmd cd zsh)"
|
||||||
|
|||||||
Reference in New Issue
Block a user