From 865f7162c410f38e083a9d3110c8e3ca1d7d6fc0 Mon Sep 17 00:00:00 2001 From: Jannik ZANDER Date: Fri, 12 Feb 2021 14:13:11 +0100 Subject: [PATCH] Fix .ssh/config --- .config/i3/config | 170 ------------------------------------------ .config/mimeapps.list | 115 +++++++++++++++++++++++++++- .inputrc | 62 --------------- .ssh/config | 12 +-- 4 files changed, 119 insertions(+), 240 deletions(-) delete mode 100644 .config/i3/config diff --git a/.config/i3/config b/.config/i3/config deleted file mode 100644 index 39dc75e..0000000 --- a/.config/i3/config +++ /dev/null @@ -1,170 +0,0 @@ -# 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 Mod4 - -# 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 - -# Before i3 v4.8, we used to recommend this one as the default: -# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 -# The font above is very space-efficient, that is, it looks good, sharp and -# clear in small sizes. However, its unicode glyph coverage is limited, the old -# X core fonts rendering does not support right-to-left and this being a bitmap -# font, it doesn’t scale on retina/hidpi displays. - -# Use Mouse+$mod to drag floating windows to their wanted position -floating_modifier $mod - -# 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 dmenu_run -# There also is the (new) i3-dmenu-desktop which only displays applications -# shipping a .desktop file. It is a wrapper around dmenu, so you need that -# installed. -# bindsym $mod+d 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+semicolon 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+semicolon 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 $ws1 -bindsym $mod+2 workspace $ws2 -bindsym $mod+3 workspace $ws3 -bindsym $mod+4 workspace $ws4 -bindsym $mod+5 workspace $ws5 -bindsym $mod+6 workspace $ws6 -bindsym $mod+7 workspace $ws7 -bindsym $mod+8 workspace $ws8 -bindsym $mod+9 workspace $ws9 -bindsym $mod+0 workspace $ws10 - -# move focused container to workspace -bindsym $mod+Shift+1 move container to workspace $ws1 -bindsym $mod+Shift+2 move container to workspace $ws2 -bindsym $mod+Shift+3 move container to workspace $ws3 -bindsym $mod+Shift+4 move container to workspace $ws4 -bindsym $mod+Shift+5 move container to workspace $ws5 -bindsym $mod+Shift+6 move container to workspace $ws6 -bindsym $mod+Shift+7 move container to workspace $ws7 -bindsym $mod+Shift+8 move container to workspace $ws8 -bindsym $mod+Shift+9 move container to workspace $ws9 -bindsym $mod+Shift+0 move container to workspace $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 semicolon 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 -} diff --git a/.config/mimeapps.list b/.config/mimeapps.list index 47189d0..0c52d94 100644 --- a/.config/mimeapps.list +++ b/.config/mimeapps.list @@ -126,7 +126,7 @@ application/x-extension-shtml=firefox-esr.desktop application/xhtml+xml=firefox-esr.desktop application/x-extension-xhtml=firefox-esr.desktop application/x-extension-xht=firefox-esr.desktop -x-scheme-handler/mailto=userapp-Thunderbird-KO33J0.desktop +x-scheme-handler/mailto=thunderbird.desktop message/rfc822=userapp-Thunderbird-KO33J0.desktop text/calendar=thunderbird.desktop x-scheme-handler/news=userapp-Thunderbird-54Z8N0.desktop @@ -135,6 +135,62 @@ x-scheme-handler/nntp=userapp-Thunderbird-54Z8N0.desktop x-scheme-handler/feed=userapp-Thunderbird-E8J9N0.desktop application/rss+xml=userapp-Thunderbird-E8J9N0.desktop application/x-extension-rss=userapp-Thunderbird-E8J9N0.desktop +image/jpeg=org.gnome.eog.desktop +image/avs=display-im6.q16.desktop +image/bie=display-im6.q16.desktop +image/x-ms-bmp=display-im6.q16.desktop +image/cmyk=display-im6.q16.desktop +image/dcx=display-im6.q16.desktop +image/eps=display-im6.q16.desktop +image/fax=display-im6.q16.desktop +image/fits=display-im6.q16.desktop +image/gif=org.gnome.eog.desktop +image/gray=display-im6.q16.desktop +image/pjpeg=org.gnome.eog.desktop +image/miff=display-im6.q16.desktop +image/mono=display-im6.q16.desktop +image/mtv=display-im6.q16.desktop +image/x-portable-bitmap=org.gnome.eog.desktop +image/pcd=display-im6.q16.desktop +image/pcx=display-im6.q16.desktop +image/pdf=display-im6.q16.desktop +image/x-portable-graymap=org.gnome.eog.desktop +image/pict=display-im6.q16.desktop +image/png=org.gnome.eog.desktop +image/x-portable-anymap=org.gnome.eog.desktop +image/x-portable-pixmap=org.gnome.eog.desktop +image/ps=display-im6.q16.desktop +image/rad=display-im6.q16.desktop +image/x-rgb=display-im6.q16.desktop +image/rgba=display-im6.q16.desktop +image/rla=display-im6.q16.desktop +image/rle=display-im6.q16.desktop +image/sgi=display-im6.q16.desktop +image/sun-raster=display-im6.q16.desktop +image/targa=display-im6.q16.desktop +image/tiff=org.gnome.eog.desktop +image/uyvy=display-im6.q16.desktop +image/vid=display-im6.q16.desktop +image/viff=display-im6.q16.desktop +image/x-xbitmap=org.gnome.eog.desktop +image/x-xpixmap=org.gnome.eog.desktop +image/x-xwindowdump=display-im6.q16.desktop +image/x-icon=display-im6.q16.desktop +image/yuv=display-im6.q16.desktop +image/bmp=org.gnome.eog.desktop +image/jpg=org.gnome.eog.desktop +image/x-bmp=org.gnome.eog.desktop +image/x-gray=org.gnome.eog.desktop +image/x-icb=org.gnome.eog.desktop +image/x-ico=org.gnome.eog.desktop +image/x-png=org.gnome.eog.desktop +image/x-pcx=org.gnome.eog.desktop +image/svg+xml=org.gnome.eog.desktop +image/svg+xml-compressed=org.gnome.eog.desktop +image/vnd.wap.wbmp=org.gnome.eog.desktop +image/x-icns=org.gnome.eog.desktop +application/pdf=org.gnome.Evince.desktop +x-scheme-handler/msteams=teams.desktop [Added Associations] video/ogg=vlc.desktop; @@ -255,7 +311,7 @@ text/html=code-url-handler.desktop;firefox.desktop;userapp-Firefox-0UV8TZ.deskto x-scheme-handler/sms=org.gnome.Shell.Extensions.GSConnect.desktop; inode/directory=meld.desktop; application/javascript=gvim.desktop; -x-scheme-handler/mailto=gnome-gmail.desktop;org.gnome.Evolution.desktop;userapp-Thunderbird-KO33J0.desktop; +x-scheme-handler/mailto=gnome-gmail.desktop;org.gnome.Evolution.desktop;userapp-Thunderbird-KO33J0.desktop;thunderbird.desktop; text/markdown=gvim.desktop; x-scheme-handler/ftp=userapp-Firefox-0UV8TZ.desktop;thunderbird.desktop;firefox-esr.desktop; x-scheme-handler/chrome=userapp-Firefox-0UV8TZ.desktop;thunderbird.desktop;firefox-esr.desktop; @@ -281,3 +337,58 @@ x-scheme-handler/nntp=userapp-Thunderbird-54Z8N0.desktop; x-scheme-handler/feed=userapp-Thunderbird-E8J9N0.desktop; application/rss+xml=userapp-Thunderbird-E8J9N0.desktop; application/x-extension-rss=userapp-Thunderbird-E8J9N0.desktop; +image/avs=display-im6.q16.desktop; +image/bie=display-im6.q16.desktop; +image/x-ms-bmp=display-im6.q16.desktop; +image/cmyk=display-im6.q16.desktop; +image/dcx=display-im6.q16.desktop; +image/eps=display-im6.q16.desktop; +image/fax=display-im6.q16.desktop; +image/fits=display-im6.q16.desktop; +image/gif=display-im6.q16.desktop;org.gnome.eog.desktop; +image/gray=display-im6.q16.desktop; +image/pjpeg=display-im6.q16.desktop;org.gnome.eog.desktop; +image/miff=display-im6.q16.desktop; +image/mono=display-im6.q16.desktop; +image/mtv=display-im6.q16.desktop; +image/x-portable-bitmap=display-im6.q16.desktop;org.gnome.eog.desktop; +image/pcd=display-im6.q16.desktop; +image/pcx=display-im6.q16.desktop; +image/pdf=display-im6.q16.desktop; +image/x-portable-graymap=display-im6.q16.desktop;org.gnome.eog.desktop; +image/pict=display-im6.q16.desktop; +image/png=display-im6.q16.desktop;org.gnome.eog.desktop; +image/x-portable-anymap=display-im6.q16.desktop;org.gnome.eog.desktop; +image/x-portable-pixmap=display-im6.q16.desktop;org.gnome.eog.desktop; +image/ps=display-im6.q16.desktop; +image/rad=display-im6.q16.desktop; +image/x-rgb=display-im6.q16.desktop; +image/rgba=display-im6.q16.desktop; +image/rla=display-im6.q16.desktop; +image/rle=display-im6.q16.desktop; +image/sgi=display-im6.q16.desktop; +image/sun-raster=display-im6.q16.desktop; +image/targa=display-im6.q16.desktop; +image/tiff=display-im6.q16.desktop;org.gnome.eog.desktop; +image/uyvy=display-im6.q16.desktop; +image/vid=display-im6.q16.desktop; +image/viff=display-im6.q16.desktop; +image/x-xbitmap=display-im6.q16.desktop;org.gnome.eog.desktop; +image/x-xpixmap=display-im6.q16.desktop;org.gnome.eog.desktop; +image/x-xwindowdump=display-im6.q16.desktop; +image/x-icon=display-im6.q16.desktop; +image/yuv=display-im6.q16.desktop; +image/bmp=org.gnome.eog.desktop; +image/jpg=org.gnome.eog.desktop; +image/x-bmp=org.gnome.eog.desktop; +image/x-gray=org.gnome.eog.desktop; +image/x-icb=org.gnome.eog.desktop; +image/x-ico=org.gnome.eog.desktop; +image/x-png=org.gnome.eog.desktop; +image/x-pcx=org.gnome.eog.desktop; +image/svg+xml=org.gnome.eog.desktop; +image/svg+xml-compressed=org.gnome.eog.desktop; +image/vnd.wap.wbmp=org.gnome.eog.desktop; +image/x-icns=org.gnome.eog.desktop; +application/pdf=org.gnome.Evince.desktop; +binary/octet-stream=org.gnome.eog.desktop; diff --git a/.inputrc b/.inputrc index 2eeb802..d56b349 100644 --- a/.inputrc +++ b/.inputrc @@ -1,64 +1,2 @@ -# Use vi keybindings for everything that uses readline. - -# Useful stuff for UTF-8 -set meta-flag on -set input-meta on -set output-meta on -set convert-meta off - -# Adds punctuation as word delimiters -set bind-tty-special-chars off - -# Completion Options -set completion-ignore-case on -set show-all-if-ambiguous on -set show-all-if-unmodified on -set mark-symlinked-directories on -set match-hidden-files off -set page-completions on -set completion-query-items 200 -set visible-stats on -set skip-completed-text on - set editing-mode vi -set keymap vi - -set show-mode-in-prompt on -set vi-ins-mode-string + -set vi-cmd-mode-string - - -set keymap vi-command -"gg": beginning-of-history -"G": end-of-history -"j": history-search-forward -"k": history-search-backward - -$if Bash - # do history expansion when space entered - Space: magic-space -$endif - set keymap vi-insert -"\e": vi-movement-mode -"jk": vi-movement-mode -Tab: complete -#Tab: menu-complete - -$if Python -$endif - -$if Gdb - "\e[15~": "continue\n" - "\e[21~": "next\n" - "\e[23~": "step\n" - "\eOQ": "nexti\n" - "\eOR": "stepi\n" -$endif - -$if mysql - "\C-xs": "show tables like '%%';\e[D\e[D\e[D" -$endif - -# Include system wide settings which is ignored -# by default if one has own .inputrc -$include ~/inputrc.local diff --git a/.ssh/config b/.ssh/config index af20b43..705aef1 100644 --- a/.ssh/config +++ b/.ssh/config @@ -1,10 +1,10 @@ # default for all IdentityFile ~/.ssh/id_rsa -Host localhost git.zndr.dk - HostName localhost - User git + Host localhost git.zndr.dk + HostName localhost + User git -Host zndr.dk - HostName zndr.dk - User jaz + Host zndr.dk + HostName zndr.dk + User jaz -- 2.43.0