From 6b129df7eecd64f7a5c8cbe946d0511f91f002f9 Mon Sep 17 00:00:00 2001 From: clyhtsuriva Date: Mon, 27 Dec 2021 20:28:19 +0100 Subject: Updated with chezmoi --- .Xdefaults | 26 -- .Xresources | 1 - .config/aliasrc | 33 -- .config/directories | 2 - .config/i3/config | 404 -------------------- .config/ibus/rime/build/default.custom.yaml | 4 - .config/ibus/rime/build/default.yaml | 143 -------- .config/ibus/rime/build/stroke.prism.bin | Bin 2329916 -> 0 bytes .config/ibus/rime/build/stroke.reverse.bin | Bin 895660 -> 0 bytes .config/ibus/rime/build/stroke.schema.yaml | 186 ---------- .config/ibus/rime/build/stroke.table.bin | Bin 30678212 -> 0 bytes .config/ibus/rime/build/terra_pinyin.prism.bin | Bin 206720 -> 0 bytes .config/ibus/rime/build/terra_pinyin.reverse.bin | Bin 260544 -> 0 bytes .config/ibus/rime/build/terra_pinyin.schema.yaml | 302 --------------- .config/ibus/rime/build/terra_pinyin.table.bin | Bin 8560284 -> 0 bytes .config/ibus/rime/default.custom.yaml | 4 - .config/ibus/rime/installation.yaml | 6 - .config/ibus/rime/luna_pinyin.userdb/000054.log | 0 .config/ibus/rime/luna_pinyin.userdb/000055.ldb | Bin 259 -> 0 bytes .config/ibus/rime/luna_pinyin.userdb/CURRENT | 1 - .config/ibus/rime/luna_pinyin.userdb/LOCK | 0 .config/ibus/rime/luna_pinyin.userdb/LOG | 14 - .config/ibus/rime/luna_pinyin.userdb/LOG.old | 3 - .../ibus/rime/luna_pinyin.userdb/MANIFEST-000052 | Bin 354 -> 0 bytes .../default.custom.yaml | 4 - .../installation.yaml | 6 - .../luna_pinyin.userdb.txt | 6 - .../terra_pinyin.userdb.txt | 9 - .../0473e284-5ff2-42f2-91ba-319c9ef261b2/user.yaml | 2 - .config/ibus/rime/terra_pinyin.userdb/000072.ldb | Bin 380 -> 0 bytes .config/ibus/rime/terra_pinyin.userdb/000074.log | Bin 283 -> 0 bytes .config/ibus/rime/terra_pinyin.userdb/CURRENT | 1 - .config/ibus/rime/terra_pinyin.userdb/LOCK | 0 .config/ibus/rime/terra_pinyin.userdb/LOG | 3 - .config/ibus/rime/terra_pinyin.userdb/LOG.old | 16 - .../ibus/rime/terra_pinyin.userdb/MANIFEST-000073 | Bin 125 -> 0 bytes .config/ibus/rime/user.yaml | 2 - .config/inputrc | 19 - .config/mpv/input.conf | 7 - .config/mpv/mpv.conf | 1 - .config/newsboat/config | 40 -- .config/shortcutrc | 3 - .config/zathura/zathurarc | 12 - .profile | 39 -- .vimrc | 154 -------- .xinitrc | 22 -- .xprofile | 26 -- dot_Xdefaults | 26 ++ dot_Xresources | 1 + dot_config/aliasrc | 26 ++ dot_config/i3/config | 405 +++++++++++++++++++++ dot_config/i3/i3status.conf | 88 +++++ dot_config/mpv/input.conf | 7 + dot_config/mpv/mpv.conf | 1 + .../002476DCE9FB6921C4FC4FD2260E768C | 1 + .../078BD038743E5C569FD9E487FA30565E | 1 + .../137EDE3F0C09E218620CDD6191E4B2D3 | 1 + .../17D95844B55D1D4597BDF6E9273FD376 | 1 + .../1B255E528EC3F572709BB49ED4844B20 | 1 + .../3157DE7CCF940EF0477E7D35D4A96120 | 1 + .../3C5DE48BF004CA7801F79FDF2B0B2D4E | 1 + .../495B7355C35E9E5C0097CD6E5D2EEDED | 1 + .../57382138AD7A1480799D411309088838 | 1 + .../5DA45EDB38F1F9D192D1A48302DB1339 | 1 + .../60BE57727223F94FD189B81F8AE87DB7 | 1 + .../703B80180712137EB546795B88465444 | 1 + .../7F86B714B30C792245874AD01DE6C306 | 2 + .../880C95A9836AD865D3EB91FEDAF46AA3 | 1 + .../93D05E4790F31E14358E9A9553CF7EC3 | 1 + .../989E564F8C4E4B5A5462D1F17EC3B0C6 | 1 + .../9A8940D9F6A2DAA710C1F28C06F25DE2 | 1 + .../AAB8EB4AF1D4B0687ABFCABC7463CD8E | 1 + .../ADC1D9FD12EDD6783444770F64425DFB | 1 + .../B933A6F015BBB85993AD8222DEFDE3E6 | 1 + .../BAF20BF7197F58DA4D993B769D6BC040 | 1 + .../C1BEB8A1D291F6D9E316DF2382D62134 | 1 + .../C2BA14BFE4FFBC6B4BCDB148CB73F059 | 1 + .../C6C919AF5D43EA8A9B0D0E1D6F64655D | 2 + .../CBEAB7E5420B99CAEBBAB72BE5427D13 | 2 + .../DB1062B7A8F4BEA460CD8F90B5759C6D | 1 + .../E35D4A3CCC75A34A2F822E77EC39091D | 1 + .../E8796243DD578DF365C2F07D63FFCEF0 | 1 + .../EF79945E52B961025E89BDB8FCD50F1A | 1 + .../F6357D506EF45579F6FE322F6EA9CA80 | 1 + .../F6A0472E127CFF5491AE3176D7F528D2 | 1 + .../F73C7999BD59909E1A9937883A94842C | 1 + .../F7E223B988F2E53B693299FF04AF856A | 1 + dot_config/zathura/zathurarc | 12 + dot_profile | 25 ++ dot_vimrc | 154 ++++++++ dot_xinitrc | 19 + dot_xprofile | 11 + etc/i3status.conf | 88 ----- 93 files changed, 811 insertions(+), 1589 deletions(-) delete mode 100644 .Xdefaults delete mode 100644 .Xresources delete mode 100644 .config/aliasrc delete mode 100644 .config/directories delete mode 100644 .config/i3/config delete mode 100644 .config/ibus/rime/build/default.custom.yaml delete mode 100644 .config/ibus/rime/build/default.yaml delete mode 100644 .config/ibus/rime/build/stroke.prism.bin delete mode 100644 .config/ibus/rime/build/stroke.reverse.bin delete mode 100644 .config/ibus/rime/build/stroke.schema.yaml delete mode 100644 .config/ibus/rime/build/stroke.table.bin delete mode 100644 .config/ibus/rime/build/terra_pinyin.prism.bin delete mode 100644 .config/ibus/rime/build/terra_pinyin.reverse.bin delete mode 100644 .config/ibus/rime/build/terra_pinyin.schema.yaml delete mode 100644 .config/ibus/rime/build/terra_pinyin.table.bin delete mode 100644 .config/ibus/rime/default.custom.yaml delete mode 100644 .config/ibus/rime/installation.yaml delete mode 100644 .config/ibus/rime/luna_pinyin.userdb/000054.log delete mode 100644 .config/ibus/rime/luna_pinyin.userdb/000055.ldb delete mode 100644 .config/ibus/rime/luna_pinyin.userdb/CURRENT delete mode 100644 .config/ibus/rime/luna_pinyin.userdb/LOCK delete mode 100644 .config/ibus/rime/luna_pinyin.userdb/LOG delete mode 100644 .config/ibus/rime/luna_pinyin.userdb/LOG.old delete mode 100644 .config/ibus/rime/luna_pinyin.userdb/MANIFEST-000052 delete mode 100644 .config/ibus/rime/sync/0473e284-5ff2-42f2-91ba-319c9ef261b2/default.custom.yaml delete mode 100644 .config/ibus/rime/sync/0473e284-5ff2-42f2-91ba-319c9ef261b2/installation.yaml delete mode 100644 .config/ibus/rime/sync/0473e284-5ff2-42f2-91ba-319c9ef261b2/luna_pinyin.userdb.txt delete mode 100644 .config/ibus/rime/sync/0473e284-5ff2-42f2-91ba-319c9ef261b2/terra_pinyin.userdb.txt delete mode 100644 .config/ibus/rime/sync/0473e284-5ff2-42f2-91ba-319c9ef261b2/user.yaml delete mode 100644 .config/ibus/rime/terra_pinyin.userdb/000072.ldb delete mode 100644 .config/ibus/rime/terra_pinyin.userdb/000074.log delete mode 100644 .config/ibus/rime/terra_pinyin.userdb/CURRENT delete mode 100644 .config/ibus/rime/terra_pinyin.userdb/LOCK delete mode 100644 .config/ibus/rime/terra_pinyin.userdb/LOG delete mode 100644 .config/ibus/rime/terra_pinyin.userdb/LOG.old delete mode 100644 .config/ibus/rime/terra_pinyin.userdb/MANIFEST-000073 delete mode 100644 .config/ibus/rime/user.yaml delete mode 100644 .config/inputrc delete mode 100644 .config/mpv/input.conf delete mode 100644 .config/mpv/mpv.conf delete mode 100644 .config/newsboat/config delete mode 100644 .config/shortcutrc delete mode 100644 .config/zathura/zathurarc delete mode 100644 .profile delete mode 100644 .vimrc delete mode 100644 .xinitrc delete mode 100644 .xprofile create mode 100644 dot_Xdefaults create mode 100644 dot_Xresources create mode 100644 dot_config/aliasrc create mode 100644 dot_config/i3/config create mode 100644 dot_config/i3/i3status.conf create mode 100644 dot_config/mpv/input.conf create mode 100644 dot_config/mpv/mpv.conf create mode 100644 dot_config/mpv/private_watch_later/002476DCE9FB6921C4FC4FD2260E768C create mode 100644 dot_config/mpv/private_watch_later/078BD038743E5C569FD9E487FA30565E create mode 100644 dot_config/mpv/private_watch_later/137EDE3F0C09E218620CDD6191E4B2D3 create mode 100644 dot_config/mpv/private_watch_later/17D95844B55D1D4597BDF6E9273FD376 create mode 100644 dot_config/mpv/private_watch_later/1B255E528EC3F572709BB49ED4844B20 create mode 100644 dot_config/mpv/private_watch_later/3157DE7CCF940EF0477E7D35D4A96120 create mode 100644 dot_config/mpv/private_watch_later/3C5DE48BF004CA7801F79FDF2B0B2D4E create mode 100644 dot_config/mpv/private_watch_later/495B7355C35E9E5C0097CD6E5D2EEDED create mode 100644 dot_config/mpv/private_watch_later/57382138AD7A1480799D411309088838 create mode 100644 dot_config/mpv/private_watch_later/5DA45EDB38F1F9D192D1A48302DB1339 create mode 100644 dot_config/mpv/private_watch_later/60BE57727223F94FD189B81F8AE87DB7 create mode 100644 dot_config/mpv/private_watch_later/703B80180712137EB546795B88465444 create mode 100644 dot_config/mpv/private_watch_later/7F86B714B30C792245874AD01DE6C306 create mode 100644 dot_config/mpv/private_watch_later/880C95A9836AD865D3EB91FEDAF46AA3 create mode 100644 dot_config/mpv/private_watch_later/93D05E4790F31E14358E9A9553CF7EC3 create mode 100644 dot_config/mpv/private_watch_later/989E564F8C4E4B5A5462D1F17EC3B0C6 create mode 100644 dot_config/mpv/private_watch_later/9A8940D9F6A2DAA710C1F28C06F25DE2 create mode 100644 dot_config/mpv/private_watch_later/AAB8EB4AF1D4B0687ABFCABC7463CD8E create mode 100644 dot_config/mpv/private_watch_later/ADC1D9FD12EDD6783444770F64425DFB create mode 100644 dot_config/mpv/private_watch_later/B933A6F015BBB85993AD8222DEFDE3E6 create mode 100644 dot_config/mpv/private_watch_later/BAF20BF7197F58DA4D993B769D6BC040 create mode 100644 dot_config/mpv/private_watch_later/C1BEB8A1D291F6D9E316DF2382D62134 create mode 100644 dot_config/mpv/private_watch_later/C2BA14BFE4FFBC6B4BCDB148CB73F059 create mode 100644 dot_config/mpv/private_watch_later/C6C919AF5D43EA8A9B0D0E1D6F64655D create mode 100644 dot_config/mpv/private_watch_later/CBEAB7E5420B99CAEBBAB72BE5427D13 create mode 100644 dot_config/mpv/private_watch_later/DB1062B7A8F4BEA460CD8F90B5759C6D create mode 100644 dot_config/mpv/private_watch_later/E35D4A3CCC75A34A2F822E77EC39091D create mode 100644 dot_config/mpv/private_watch_later/E8796243DD578DF365C2F07D63FFCEF0 create mode 100644 dot_config/mpv/private_watch_later/EF79945E52B961025E89BDB8FCD50F1A create mode 100644 dot_config/mpv/private_watch_later/F6357D506EF45579F6FE322F6EA9CA80 create mode 100644 dot_config/mpv/private_watch_later/F6A0472E127CFF5491AE3176D7F528D2 create mode 100644 dot_config/mpv/private_watch_later/F73C7999BD59909E1A9937883A94842C create mode 100644 dot_config/mpv/private_watch_later/F7E223B988F2E53B693299FF04AF856A create mode 100644 dot_config/zathura/zathurarc create mode 100644 dot_profile create mode 100644 dot_vimrc create mode 100644 dot_xinitrc create mode 100644 dot_xprofile delete mode 100644 etc/i3status.conf diff --git a/.Xdefaults b/.Xdefaults deleted file mode 100644 index 36874e7..0000000 --- a/.Xdefaults +++ /dev/null @@ -1,26 +0,0 @@ -xterm*cursorColor: yellow -xterm*pointerShape: xterm -xterm*pointerColor: magenta -xterm*faceSize: 12 -xterm*faceName: wts11 -Sxiv.background: #000000 - -! Dracula Xresources palette -*.foreground: #F8F8F2 -*.background: #282A36 -*.color0: #000000 -*.color8: #4D4D4D -*.color1: #FF5555 -*.color9: #FF6E67 -*.color2: #50FA7B -*.color10: #5AF78E -*.color3: #F1FA8C -*.color11: #F4F99D -*.color4: #BD93F9 -*.color12: #CAA9FA -*.color5: #FF79C6 -*.color13: #FF92D0 -*.color6: #8BE9FD -*.color14: #9AEDFE -*.color7: #BFBFBF -*.color15: #E6E6E6 diff --git a/.Xresources b/.Xresources deleted file mode 100644 index b815be1..0000000 --- a/.Xresources +++ /dev/null @@ -1 +0,0 @@ -Sxiv.background: #000000 diff --git a/.config/aliasrc b/.config/aliasrc deleted file mode 100644 index f99e596..0000000 --- a/.config/aliasrc +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/sh - -alias mpv='mpv --input-ipc-server=/tmp/mpvsoc$(date +%s)' \ - xi="sudo xbps-install" \ - xr="sudo xbps-remove" \ - xq="xbps-query" \ - v='$EDITOR' \ - ls="ls -hN --color=auto --group-directories-first" \ - grep="grep --color=auto" \ - diff="diff --color=auto" \ - ffmpeg="ffmpeg -hide_banner" \ - cat='bat' \ - bat_pow='sudo upower -i /org/freedesktop/UPower/devices/battery_BAT0' \ - la='ls -A' \ - l='ls -1' \ - ll='ls -lt' \ - display='sxiv' \ - xbacklight='sudo xbacklight' \ - nox='user_nox.py' \ - incendio='user_incendio.py' \ - imperio='sudo user_imperio.py' \ - ipconfig='curl ipconfig.io' \ - cp='cp -v' \ - mv='mv -v' \ - mkdir='mkdir -pv' \ - rm='rm -v' \ - rmac='rmac.py' \ - vv='cd ~/Videos && ls -A *' \ - pp='cd ~/Pictures && ls -A *' \ - mm='cd ~/Music && ls -A !(data-music)' \ - ipa='ip -c -h -s a' - -command -v nvim >/dev/null && alias vim="nvim" vimdiff="nvim -d" # Use neovim for vim if present. diff --git a/.config/directories b/.config/directories deleted file mode 100644 index 5ac49e5..0000000 --- a/.config/directories +++ /dev/null @@ -1,2 +0,0 @@ -pp ~/Pictures -vv ~/Videos diff --git a/.config/i3/config b/.config/i3/config deleted file mode 100644 index 1956ec4..0000000 --- a/.config/i3/config +++ /dev/null @@ -1,404 +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 - -# 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@ +5% && $refresh_i3status -bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5% && $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 - -# start a terminal -bindsym $mod+Return exec xterm - -# 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+h focus left -bindsym $mod+j focus down -bindsym $mod+k focus up -bindsym $mod+l 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+h move left -bindsym $mod+Shift+j move down -bindsym $mod+Shift+k move up -bindsym $mod+Shift+l 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+c 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 h resize shrink width 10 px or 10 ppt - bindsym j resize grow height 10 px or 10 ppt - bindsym k resize shrink height 10 px or 10 ppt - bindsym l 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 { - colors { - background #040217 - statusline #972e73 - separator #C9A6C9 - - focused_workspace #c583b6 #040217 #d52c70 - active_workspace #6c2d7a #000000 #c583b6 - inactive_workspace #6c2d7a #000000 #6c2d7a - urgent_workspace #20202D #F54A94 #FFFFFF - binding_mode #20202D #F54A94 #FFFFFF - } - separator_symbol "║" - font pango: 11 - status_command i3status -} - -# Firefox - (W)eb browser -bindsym $mod+Shift+W exec notify-send -t 5000 -i /usr/share/icons/hicolor/256x256/apps/firefox.png "Opening" "firefox" ; exec firefox -# Power off - X -bindsym $mod+Shift+X exec "i3-nagbar -t warning -f fixed -m 'You pressed the shutting shortcut. Do you really eant to shut you computer?' -B 'Yes, shut it.' 'sudo poweroff'" -# Reboot - BackSpace -bindsym $mod+Shift+BackSpace exec "i3-nagbar -t warning -f fixed -m 'You pressed the restarting shortcut. Do you really eant to restart you computer?' -B 'Yes, restart it.' 'sudo reboot'" -# (T)eams -bindsym $mod+Shift+T exec notify-send -t 5000 -i /home/mas/Pictures/icons/teams.png "Opening" "Teams" ; exec teams -# (P)assword manager -bindsym $mod+Shift+P exec passmenu - -# Set the bg wallpaper -exec --no-startup-id feh --bg-scale /home/mas/Pictures/retrowave-pyramid.png - -# Sreen brightness controls -bindsym XF86MonBrightnessUp exec xbacklight -inc 1 ; exec notify-send -t 500 "Brightness : $(xbacklight -get)" # increase screen brightness -bindsym XF86MonBrightnessDown exec xbacklight -dec 1 ; exec notify-send -t 500 "Brightness : $(xbacklight -get)" # decrease screen brightness - -# class border backgr. text indicator child_border -client.focused #c583b6 #040217 #d52c70 #F54A94 #814db3 -client.focused_inactive #6C2D7A #000000 #c583b6 #0C1746 #3C3C54 -client.unfocused #6C2D7A #000000 #6C2D7A #0C1746 #3C3C54 -client.urgent #F54A94 #20202D #FFFFFF #0C1746 #F54A94 -client.placeholder #20202D #20202D #FFFFFF #0C1746 #3C3C54 - -client.background #D52C70 - -# suspend and hibernate -bindsym $mod+Shift+S exec "i3-nagbar -t warning -f fixed -m 'You pressed the suspending shortcut. Do you really want to suspend your computer?' -B 'Yes, suspend it.' 'sudo zzz'" -bindsym $mod+Shift+Delete exec "i3-nagbar -t warning -f fixed -m 'You pressed the hibernating shortcut. Do you really want to put your computer to sleep?' -B 'Yes, do it.' 'sudo ZZZ'" - -# What happens when we hit the power button -bindsym XF86PowerOff exec xcowsay $(fortune -os) - -######GAPS###### -set $mode_gaps Gaps: (o)uter, (i)nner, (h)orizontal, (v)ertical, (t)op, (r)ight, (b)ottom, (l)eft -set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global) -set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global) -set $mode_gaps_horiz Horizontal Gaps: +|-|0 (local), Shift + +|-|0 (global) -set $mode_gaps_verti Vertical Gaps: +|-|0 (local), Shift + +|-|0 (global) -set $mode_gaps_top Top Gaps: +|-|0 (local), Shift + +|-|0 (global) -set $mode_gaps_right Right Gaps: +|-|0 (local), Shift + +|-|0 (global) -set $mode_gaps_bottom Bottom Gaps: +|-|0 (local), Shift + +|-|0 (global) -set $mode_gaps_left Left Gaps: +|-|0 (local), Shift + +|-|0 (global) -bindsym $mod+Shift+g mode "$mode_gaps" - -mode "$mode_gaps" { - bindsym o mode "$mode_gaps_outer" - bindsym i mode "$mode_gaps_inner" - bindsym h mode "$mode_gaps_horiz" - bindsym v mode "$mode_gaps_verti" - bindsym t mode "$mode_gaps_top" - bindsym r mode "$mode_gaps_right" - bindsym b mode "$mode_gaps_bottom" - bindsym l mode "$mode_gaps_left" - bindsym Return mode "$mode_gaps" - bindsym Escape mode "default" -} - -mode "$mode_gaps_outer" { - bindsym plus gaps outer current plus 5 - bindsym minus gaps outer current minus 5 - bindsym 0 gaps outer current set 0 - - bindsym Shift+plus gaps outer all plus 5 - bindsym Shift+minus gaps outer all minus 5 - bindsym Shift+0 gaps outer all set 0 - - bindsym Return mode "$mode_gaps" - bindsym Escape mode "default" -} -mode "$mode_gaps_inner" { - bindsym plus gaps inner current plus 5 - bindsym minus gaps inner current minus 5 - bindsym 0 gaps inner current set 0 - - bindsym Shift+plus gaps inner all plus 5 - bindsym Shift+minus gaps inner all minus 5 - bindsym Shift+0 gaps inner all set 0 - - bindsym Return mode "$mode_gaps" - bindsym Escape mode "default" -} -mode "$mode_gaps_horiz" { - bindsym plus gaps horizontal current plus 5 - bindsym minus gaps horizontal current minus 5 - bindsym 0 gaps horizontal current set 0 - - bindsym Shift+plus gaps horizontal all plus 5 - bindsym Shift+minus gaps horizontal all minus 5 - bindsym Shift+0 gaps horizontal all set 0 - - bindsym Return mode "$mode_gaps" - bindsym Escape mode "default" -} -mode "$mode_gaps_verti" { - bindsym plus gaps vertical current plus 5 - bindsym minus gaps vertical current minus 5 - bindsym 0 gaps vertical current set 0 - - bindsym Shift+plus gaps vertical all plus 5 - bindsym Shift+minus gaps vertical all minus 5 - bindsym Shift+0 gaps vertical all set 0 - - bindsym Return mode "$mode_gaps" - bindsym Escape mode "default" -} -mode "$mode_gaps_top" { - bindsym plus gaps top current plus 5 - bindsym minus gaps top current minus 5 - bindsym 0 gaps top current set 0 - - bindsym Shift+plus gaps top all plus 5 - bindsym Shift+minus gaps top all minus 5 - bindsym Shift+0 gaps top all set 0 - - bindsym Return mode "$mode_gaps" - bindsym Escape mode "default" -} -mode "$mode_gaps_right" { - bindsym plus gaps right current plus 5 - bindsym minus gaps right current minus 5 - bindsym 0 gaps right current set 0 - - bindsym Shift+plus gaps right all plus 5 - bindsym Shift+minus gaps right all minus 5 - bindsym Shift+0 gaps right all set 0 - - bindsym Return mode "$mode_gaps" - bindsym Escape mode "default" -} -mode "$mode_gaps_bottom" { - bindsym plus gaps bottom current plus 5 - bindsym minus gaps bottom current minus 5 - bindsym 0 gaps bottom current set 0 - - bindsym Shift+plus gaps bottom all plus 5 - bindsym Shift+minus gaps bottom all minus 5 - bindsym Shift+0 gaps bottom all set 0 - - bindsym Return mode "$mode_gaps" - bindsym Escape mode "default" -} -mode "$mode_gaps_left" { - bindsym plus gaps left current plus 5 - bindsym minus gaps left current minus 5 - bindsym 0 gaps left current set 0 - - bindsym Shift+plus gaps left all plus 5 - bindsym Shift+minus gaps left all minus 5 - bindsym Shift+0 gaps left all set 0 - - bindsym Return mode "$mode_gaps" - bindsym Escape mode "default" -} - -gaps inner 10 -###GAPS### - -# (N)ewsboat -bindsym $mod+Shift+N exec xterm -e "newsboat" - -# (D)iscord -bindsym $mod+Shift+D exec notify-send -t 5000 -i /home/mas/Pictures/icons/discord.png "Opening" "Discord" ; exec Discord - -# Media Player Controls -#bindsym ISO_Level3_Shift+F7 -bindsym XF86AudioPlay exec playerctl play-pause -bindsym XF86AudioPause exec playerctl pause -bindsym XF86AudioNext exec playerctl next -#bindsym XF86AudioPrev exec playerctl previous - -# Screenshot with scrot -bindsym Print exec notify-send -t 5000 -i /home/mas/Pictures/icons/screenshot.png "Launching" "scrot" ; exec scrot --silent --exec 'mv $f ~/Pictures && sxiv ~/Pictures/$f' - -# (C)hromium -bindsym $mod+Shift+C exec notify-send -t 5000 -i /usr/share/icons/hicolor/256x256/apps/chromium.png "Opening" "chromium" ; exec chromium - -# Mount/Umount on the drives - F10/F11 -bindsym $mod+F10 exec dmenumount -bindsym $mod+F11 exec dmenuumount - -# (V)irtualBox -bindsym $mod+Shift+V exec notify-send -t 5000 -i /usr/share/icons/hicolor/128x128/mimetypes/virtualbox.png "Launching" "VirtualBox" ; exec VirtualBox -# Thunderbird - (M)ail -bindsym $mod+Shift+M exec notify-send -t 5000 -i /usr/share/icons/hicolor/256x256/apps/thunderbird.png "Launching" "Thunderbird" ; exec thunderbird - -# US and FR keyboard mapping - (U)S/(F)R -bindsym $mod+Shift+U exec setxkbmap us && exec notify-send -t 5000 "US xkbmap" -bindsym $mod+Shift+F exec setxkbmap fr && exec notify-send -t 5000 "FR xkbmap" - -# Network manager - (I)nternet -bindsym $mod+Shift+I exec networkmanager_dmenu - -#Krita - F1 -bindsym $mod+Shift+F1 exec notify-send -t 5000 -i /usr/share/icons/hicolor/1024x1024/apps/krita.png "Lauching" "Krita" && exec krita - -#remove the header of the window -default_border pixel 2 - -#Urgency i3 opt out option -bindsym $mod+Shift+F10 exec i3-msg exit - -#Android Studio - F2 -bindsym $mod+Shift+F2 exec notify-send -t 5000 -i /home/mas/Pictures/icons/android_studio.png "Lauching" "Android Studio" && exec studio -#R Studio - F3 -bindsym $mod+Shift+F3 exec notify-send -t 5000 -i /home/mas/Pictures/icons/r_studio.png "Lauching" "R Studio" && exec rstudio -#Visual Code Studio - F4 -bindsym $mod+Shift+F4 exec notify-send -t 5000 -i /home/mas/Pictures/icons/vscode.png "Lauching" "VSCode" && exec code diff --git a/.config/ibus/rime/build/default.custom.yaml b/.config/ibus/rime/build/default.custom.yaml deleted file mode 100644 index ea410a0..0000000 --- a/.config/ibus/rime/build/default.custom.yaml +++ /dev/null @@ -1,4 +0,0 @@ -patch: - "menu/page_size": 9 - schema_list: - - schema: terra_pinyin diff --git a/.config/ibus/rime/build/default.yaml b/.config/ibus/rime/build/default.yaml deleted file mode 100644 index ed14c97..0000000 --- a/.config/ibus/rime/build/default.yaml +++ /dev/null @@ -1,143 +0,0 @@ -__build_info: - rime_version: 1.5.3 - timestamps: - default: 1555114826 - default.custom: 1592992833 -ascii_composer: - good_old_caps_lock: true - switch_key: - Caps_Lock: clear - Control_L: noop - Control_R: noop - Eisu_toggle: clear - Shift_L: inline_ascii - Shift_R: commit_text -config_version: 0.38 -key_binder: - bindings: - - {accept: "Control+p", send: Up, when: composing} - - {accept: "Control+n", send: Down, when: composing} - - {accept: "Control+b", send: Left, when: composing} - - {accept: "Control+f", send: Right, when: composing} - - {accept: "Control+a", send: Home, when: composing} - - {accept: "Control+e", send: End, when: composing} - - {accept: "Control+d", send: Delete, when: composing} - - {accept: "Control+k", send: "Shift+Delete", when: composing} - - {accept: "Control+h", send: BackSpace, when: composing} - - {accept: "Control+g", send: Escape, when: composing} - - {accept: "Control+bracketleft", send: Escape, when: composing} - - {accept: "Alt+v", send: Page_Up, when: composing} - - {accept: "Control+v", send: Page_Down, when: composing} - - {accept: ISO_Left_Tab, send: "Shift+Left", when: composing} - - {accept: "Shift+Tab", send: "Shift+Left", when: composing} - - {accept: Tab, send: "Shift+Right", when: composing} - - {accept: minus, send: Page_Up, when: has_menu} - - {accept: equal, send: Page_Down, when: has_menu} - - {accept: comma, send: Page_Up, when: paging} - - {accept: period, send: Page_Down, when: has_menu} - - {accept: "Control+Shift+1", select: .next, when: always} - - {accept: "Control+Shift+2", toggle: ascii_mode, when: always} - - {accept: "Control+Shift+3", toggle: full_shape, when: always} - - {accept: "Control+Shift+4", toggle: simplification, when: always} - - {accept: "Control+Shift+5", toggle: extended_charset, when: always} - - {accept: "Control+Shift+exclam", select: .next, when: always} - - {accept: "Control+Shift+at", toggle: ascii_mode, when: always} - - {accept: "Control+Shift+numbersign", toggle: full_shape, when: always} - - {accept: "Control+Shift+dollar", toggle: simplification, when: always} - - {accept: "Control+Shift+percent", toggle: extended_charset, when: always} - - {accept: "Shift+space", toggle: full_shape, when: always} - - {accept: "Control+period", toggle: ascii_punct, when: always} -menu: - page_size: 9 -punctuator: - full_shape: - " ": {commit: " "} - "!": {commit: "!"} - "\"": {pair: ["“", "”"]} - "#": ["#", "⌘"] - "$": ["¥", "$", "€", "£", "¥", "¢", "¤"] - "%": ["%", "°", "℃"] - "&": "&" - "'": {pair: ["‘", "’"]} - "(": "(" - ")": ")" - "*": ["*", "·", "・", "×", "※", "❂"] - "+": "+" - ",": {commit: ","} - "-": "-" - .: {commit: "。"} - "/": ["/", "÷"] - ":": {commit: ":"} - ";": {commit: ";"} - "<": ["《", "〈", "«", "‹"] - "=": "=" - ">": ["》", "〉", "»", "›"] - "?": {commit: "?"} - "@": ["@", "☯"] - "[": ["「", "【", "〔", "["] - "\\": ["、", "\"] - "]": ["」", "】", "〕", "]"] - "^": {commit: "……"} - _: "——" - "`": "`" - "{": ["『", "〖", "{"] - "|": ["·", "|", "§", "¦"] - "}": ["』", "〗", "}"] - "~": "~" - half_shape: - "!": {commit: "!"} - "\"": {pair: ["“", "”"]} - "#": "#" - "$": ["¥", "$", "€", "£", "¥", "¢", "¤"] - "%": ["%", "%", "°", "℃"] - "&": "&" - "'": {pair: ["‘", "’"]} - "(": "(" - ")": ")" - "*": ["*", "*", "·", "・", "×", "※", "❂"] - "+": "+" - ",": {commit: ","} - "-": "-" - .: {commit: "。"} - "/": ["、", "/", "/", "÷"] - ":": {commit: ":"} - ";": {commit: ";"} - "<": ["《", "〈", "«", "‹"] - "=": "=" - ">": ["》", "〉", "»", "›"] - "?": {commit: "?"} - "@": "@" - "[": ["「", "【", "〔", "["] - "\\": ["、", "\\", "\"] - "]": ["」", "】", "〕", "]"] - "^": {commit: "……"} - _: "——" - "`": "`" - "{": ["『", "〖", "{"] - "|": ["·", "|", "|", "§", "¦"] - "}": ["』", "〗", "}"] - "~": ["~", "~"] -recognizer: - patterns: - email: "^[A-Za-z][-_.0-9A-Za-z]*@.*$" - uppercase: "[A-Z][-_+.'0-9A-Za-z]*$" - url: "^(www[.]|https?:|ftp[.:]|mailto:|file:).*$|^[a-z]+[.].+$" -schema_list: - - schema: terra_pinyin -switcher: - abbreviate_options: true - caption: "〔方案選單〕" - fold_options: true - hotkeys: - - "Control+grave" - - "Control+Shift+grave" - - F4 - option_list_separator: "/" - save_options: - - full_shape - - ascii_punct - - simplification - - extended_charset - - zh_hant - - zh_hans - - zh_hant_tw \ No newline at end of file diff --git a/.config/ibus/rime/build/stroke.prism.bin b/.config/ibus/rime/build/stroke.prism.bin deleted file mode 100644 index 59275bf..0000000 Binary files a/.config/ibus/rime/build/stroke.prism.bin and /dev/null differ diff --git a/.config/ibus/rime/build/stroke.reverse.bin b/.config/ibus/rime/build/stroke.reverse.bin deleted file mode 100644 index 0e9c84b..0000000 Binary files a/.config/ibus/rime/build/stroke.reverse.bin and /dev/null differ diff --git a/.config/ibus/rime/build/stroke.schema.yaml b/.config/ibus/rime/build/stroke.schema.yaml deleted file mode 100644 index 5effb6a..0000000 --- a/.config/ibus/rime/build/stroke.schema.yaml +++ /dev/null @@ -1,186 +0,0 @@ -__build_info: - rime_version: 1.5.3 - timestamps: - default: 1555114826 - default.custom: 1592992833 - stroke.custom: 0 - stroke.schema: 1555114826 -abc_segmentor: - extra_tags: - - reverse_lookup -engine: - processors: - - ascii_composer - - recognizer - - key_binder - - speller - - punctuator - - selector - - navigator - - express_editor - segmentors: - - ascii_segmentor - - matcher - - abc_segmentor - - punct_segmentor - - fallback_segmentor - translators: - - punct_translator - - reverse_lookup_translator - - table_translator -key_binder: - bindings: - - {accept: "Control+p", send: Up, when: composing} - - {accept: "Control+n", send: Down, when: composing} - - {accept: "Control+b", send: Left, when: composing} - - {accept: "Control+f", send: Right, when: composing} - - {accept: "Control+a", send: Home, when: composing} - - {accept: "Control+e", send: End, when: composing} - - {accept: "Control+d", send: Delete, when: composing} - - {accept: "Control+k", send: "Shift+Delete", when: composing} - - {accept: "Control+h", send: BackSpace, when: composing} - - {accept: "Control+g", send: Escape, when: composing} - - {accept: "Control+bracketleft", send: Escape, when: composing} - - {accept: "Alt+v", send: Page_Up, when: composing} - - {accept: "Control+v", send: Page_Down, when: composing} - - {accept: ISO_Left_Tab, send: "Shift+Left", when: composing} - - {accept: "Shift+Tab", send: "Shift+Left", when: composing} - - {accept: Tab, send: "Shift+Right", when: composing} - - {accept: minus, send: Page_Up, when: has_menu} - - {accept: equal, send: Page_Down, when: has_menu} - - {accept: comma, send: Page_Up, when: paging} - - {accept: period, send: Page_Down, when: has_menu} - - {accept: "Control+Shift+1", select: .next, when: always} - - {accept: "Control+Shift+2", toggle: ascii_mode, when: always} - - {accept: "Control+Shift+3", toggle: full_shape, when: always} - - {accept: "Control+Shift+4", toggle: simplification, when: always} - - {accept: "Control+Shift+5", toggle: extended_charset, when: always} - - {accept: "Control+Shift+exclam", select: .next, when: always} - - {accept: "Control+Shift+at", toggle: ascii_mode, when: always} - - {accept: "Control+Shift+numbersign", toggle: full_shape, when: always} - - {accept: "Control+Shift+dollar", toggle: simplification, when: always} - - {accept: "Control+Shift+percent", toggle: extended_charset, when: always} - - {accept: "Shift+space", toggle: full_shape, when: always} - - {accept: "Control+period", toggle: ascii_punct, when: always} - import_preset: default -menu: - page_size: 9 -punctuator: - full_shape: - " ": {commit: " "} - "!": {commit: "!"} - "\"": {pair: ["“", "”"]} - "#": ["#", "⌘"] - "$": ["¥", "$", "€", "£", "¥", "¢", "¤"] - "%": ["%", "°", "℃"] - "&": "&" - "'": {pair: ["‘", "’"]} - "(": "(" - ")": ")" - "*": ["*", "·", "・", "×", "※", "❂"] - "+": "+" - ",": {commit: ","} - "-": "-" - .: {commit: "。"} - "/": ["/", "÷"] - ":": {commit: ":"} - ";": {commit: ";"} - "<": ["《", "〈", "«", "‹"] - "=": "=" - ">": ["》", "〉", "»", "›"] - "?": {commit: "?"} - "@": ["@", "☯"] - "[": ["「", "【", "〔", "["] - "\\": ["、", "\"] - "]": ["」", "】", "〕", "]"] - "^": {commit: "……"} - _: "——" - "`": "`" - "{": ["『", "〖", "{"] - "|": ["·", "|", "§", "¦"] - "}": ["』", "〗", "}"] - "~": "~" - half_shape: - "!": {commit: "!"} - "\"": {pair: ["“", "”"]} - "#": "#" - "$": ["¥", "$", "€", "£", "¥", "¢", "¤"] - "%": ["%", "%", "°", "℃"] - "&": "&" - "'": {pair: ["‘", "’"]} - "(": "(" - ")": ")" - "*": ["*", "*", "·", "・", "×", "※", "❂"] - "+": "+" - ",": {commit: ","} - "-": "-" - .: {commit: "。"} - "/": ["、", "/", "/", "÷"] - ":": {commit: ":"} - ";": {commit: ";"} - "<": ["《", "〈", "«", "‹"] - "=": "=" - ">": ["》", "〉", "»", "›"] - "?": {commit: "?"} - "@": "@" - "[": ["「", "【", "〔", "["] - "\\": ["、", "\\", "\"] - "]": ["」", "】", "〕", "]"] - "^": {commit: "……"} - _: "——" - "`": "`" - "{": ["『", "〖", "{"] - "|": ["·", "|", "|", "§", "¦"] - "}": ["』", "〗", "}"] - "~": ["~", "~"] - import_preset: default -recognizer: - import_preset: default - patterns: - email: "^[A-Za-z][-_.0-9A-Za-z]*@.*$" - reverse_lookup: "`[a-z]*'?$" - uppercase: "[A-Z][-_+.'0-9A-Za-z]*$" - url: "^(www[.]|https?:|ftp[.:]|mailto:|file:).*$|^[a-z]+[.].+$" -reverse_lookup: - comment_format: - - "xlit/hspnz/一丨丿丶乙/" - dictionary: luna_pinyin - preedit_format: - - "xform/([nl])v/$1ü/" - - "xform/([nl])ue/$1üe/" - - "xform/([jqxy])v/$1u/" - prefix: "`" - suffix: "'" - tips: "〔拼音〕" -schema: - author: - - "四季的風" - - "雪齋" - - "Kunki Chou" - dependencies: - - luna_pinyin - description: | - 五筆畫 - h,s,p,n,z 代表橫、豎、撇、捺、折 - - name: "五筆畫" - schema_id: stroke - version: 0.5 -speller: - alphabet: abcdefghijklmnopqrstuvwxyz - delimiter: " '" -switches: - - name: ascii_mode - reset: 0 - states: ["中文", "西文"] - - name: full_shape - states: ["半角", "全角"] - - name: ascii_punct - states: ["。,", ".,"] -translator: - comment_format: - - "xform/~//" - - "xlit/hspnz/一丨丿丶乙/" - dictionary: stroke - preedit_format: - - "xlit/hspnz/一丨丿丶乙/" \ No newline at end of file diff --git a/.config/ibus/rime/build/stroke.table.bin b/.config/ibus/rime/build/stroke.table.bin deleted file mode 100644 index dfff234..0000000 Binary files a/.config/ibus/rime/build/stroke.table.bin and /dev/null differ diff --git a/.config/ibus/rime/build/terra_pinyin.prism.bin b/.config/ibus/rime/build/terra_pinyin.prism.bin deleted file mode 100644 index 6276259..0000000 Binary files a/.config/ibus/rime/build/terra_pinyin.prism.bin and /dev/null differ diff --git a/.config/ibus/rime/build/terra_pinyin.reverse.bin b/.config/ibus/rime/build/terra_pinyin.reverse.bin deleted file mode 100644 index 6d39612..0000000 Binary files a/.config/ibus/rime/build/terra_pinyin.reverse.bin and /dev/null differ diff --git a/.config/ibus/rime/build/terra_pinyin.schema.yaml b/.config/ibus/rime/build/terra_pinyin.schema.yaml deleted file mode 100644 index 6b840e2..0000000 --- a/.config/ibus/rime/build/terra_pinyin.schema.yaml +++ /dev/null @@ -1,302 +0,0 @@ -__build_info: - rime_version: 1.5.3 - timestamps: - default: 1555114826 - default.custom: 1592992833 - terra_pinyin.custom: 0 - terra_pinyin.schema: 1555114826 -custom_phrase: - db_class: stabledb - dictionary: "" - enable_completion: false - enable_sentence: false - initial_quality: 1 - user_dict: custom_phrase -engine: - filters: - - simplifier - - uniquifier - processors: - - ascii_composer - - recognizer - - key_binder - - speller - - punctuator - - selector - - navigator - - express_editor - segmentors: - - ascii_segmentor - - matcher - - abc_segmentor - - punct_segmentor - - fallback_segmentor - translators: - - punct_translator - - "table_translator@custom_phrase" - - reverse_lookup_translator - - script_translator -key_binder: - bindings: - - {accept: "Control+p", send: Up, when: composing} - - {accept: "Control+n", send: Down, when: composing} - - {accept: "Control+b", send: Left, when: composing} - - {accept: "Control+f", send: Right, when: composing} - - {accept: "Control+a", send: Home, when: composing} - - {accept: "Control+e", send: End, when: composing} - - {accept: "Control+d", send: Delete, when: composing} - - {accept: "Control+k", send: "Shift+Delete", when: composing} - - {accept: "Control+h", send: BackSpace, when: composing} - - {accept: "Control+g", send: Escape, when: composing} - - {accept: "Control+bracketleft", send: Escape, when: composing} - - {accept: "Alt+v", send: Page_Up, when: composing} - - {accept: "Control+v", send: Page_Down, when: composing} - - {accept: ISO_Left_Tab, send: "Shift+Left", when: composing} - - {accept: "Shift+Tab", send: "Shift+Left", when: composing} - - {accept: Tab, send: "Shift+Right", when: composing} - - {accept: minus, send: Page_Up, when: has_menu} - - {accept: equal, send: Page_Down, when: has_menu} - - {accept: comma, send: Page_Up, when: paging} - - {accept: period, send: Page_Down, when: has_menu} - - {accept: "Control+Shift+1", select: .next, when: always} - - {accept: "Control+Shift+2", toggle: ascii_mode, when: always} - - {accept: "Control+Shift+3", toggle: full_shape, when: always} - - {accept: "Control+Shift+4", toggle: simplification, when: always} - - {accept: "Control+Shift+5", toggle: extended_charset, when: always} - - {accept: "Control+Shift+exclam", select: .next, when: always} - - {accept: "Control+Shift+at", toggle: ascii_mode, when: always} - - {accept: "Control+Shift+numbersign", toggle: full_shape, when: always} - - {accept: "Control+Shift+dollar", toggle: simplification, when: always} - - {accept: "Control+Shift+percent", toggle: extended_charset, when: always} - - {accept: "Shift+space", toggle: full_shape, when: always} - - {accept: "Control+period", toggle: ascii_punct, when: always} - - {accept: minus, send: minus, when: has_menu} - - {accept: minus, send: Page_Up, when: paging} - import_preset: default -menu: - page_size: 9 -punctuator: - full_shape: - " ": {commit: " "} - "!": {commit: "!"} - "\"": {pair: ["“", "”"]} - "#": ["#", "⌘"] - "$": ["¥", "$", "€", "£", "¥", "¢", "¤"] - "%": ["%", "°", "℃"] - "&": "&" - "'": {pair: ["‘", "’"]} - "(": "(" - ")": ")" - "*": ["*", "·", "・", "×", "※", "❂"] - "+": "+" - ",": {commit: ","} - "-": "-" - .: {commit: "。"} - "/": ["/", "÷"] - ":": {commit: ":"} - ";": {commit: ";"} - "<": ["《", "〈", "«", "‹"] - "=": "=" - ">": ["》", "〉", "»", "›"] - "?": {commit: "?"} - "@": ["@", "☯"] - "[": ["「", "【", "〔", "["] - "\\": ["、", "\"] - "]": ["」", "】", "〕", "]"] - "^": {commit: "……"} - _: "——" - "`": "`" - "{": ["『", "〖", "{"] - "|": ["·", "|", "§", "¦"] - "}": ["』", "〗", "}"] - "~": "~" - half_shape: - "!": {commit: "!"} - "\"": {pair: ["“", "”"]} - "#": "#" - "$": ["¥", "$", "€", "£", "¥", "¢", "¤"] - "%": ["%", "%", "°", "℃"] - "&": "&" - "'": {pair: ["‘", "’"]} - "(": "(" - ")": ")" - "*": ["*", "*", "·", "・", "×", "※", "❂"] - "+": "+" - ",": {commit: ","} - "-": "-" - .: {commit: "。"} - "/": ["、", "/", "/", "÷"] - ":": {commit: ":"} - ";": {commit: ";"} - "<": ["《", "〈", "«", "‹"] - "=": "=" - ">": ["》", "〉", "»", "›"] - "?": {commit: "?"} - "@": "@" - "[": ["「", "【", "〔", "["] - "\\": ["、", "\\", "\"] - "]": ["」", "】", "〕", "]"] - "^": {commit: "……"} - _: "——" - "`": "`" - "{": ["『", "〖", "{"] - "|": ["·", "|", "|", "§", "¦"] - "}": ["』", "〗", "}"] - "~": ["~", "~"] - import_preset: default -recognizer: - import_preset: default - patterns: - email: "^[A-Za-z][-_.0-9A-Za-z]*@.*$" - reverse_lookup: "`[a-z]*'?$" - uppercase: "[A-Z][-_+.'0-9A-Za-z]*$" - url: "^(www[.]|https?:|ftp[.:]|mailto:|file:).*$|^[a-z]+[.].+$" -reverse_lookup: - comment_format: - - "xform ([aeiou])(ng?|r)([1234]) $1$3$2" - - "xform ([aeo])([iuo])([1234]) $1$3$2" - - "xform a1 ā" - - "xform a2 á" - - "xform a3 ǎ" - - "xform a4 à" - - "xform e1 ē" - - "xform e2 é" - - "xform e3 ě" - - "xform e4 è" - - "xform o1 ō" - - "xform o2 ó" - - "xform o3 ǒ" - - "xform o4 ò" - - "xform i1 ī" - - "xform i2 í" - - "xform i3 ǐ" - - "xform i4 ì" - - "xform u1 ū" - - "xform u2 ú" - - "xform u3 ǔ" - - "xform u4 ù" - - "xform v1 ǖ" - - "xform v2 ǘ" - - "xform v3 ǚ" - - "xform v4 ǜ" - - "xform/([nljqxy])v/$1ü/" - - "xform/eh[0-5]?/ê/" - - "xform/([a-z]+)[0-5]/$1/" - dictionary: stroke - enable_completion: true - preedit_format: - - "xlit/hspnz/一丨丿丶乙/" - prefix: "`" - suffix: "'" - tips: "〔筆畫〕" -schema: - author: - - "佛振 " - dependencies: - - stroke - description: | - 「漢語拼音」,以符號按鍵 - / < \ 輸入四聲 - 拼音碼表根據 CC-CEDICT 改編 - - name: "地球拼音" - schema_id: terra_pinyin - version: 0.19 -speller: - algebra: - - "erase/^xx$/" - - "xform/^r5$/er5/" - - "abbrev/^([a-z]).+$/$1/" - - "abbrev/^([zcs]h).+$/$1/" - - "derive/^([nl])ve/$1ue/" - - "derive/^([jqxy])u/$1v/" - - "derive/un$/uen/" - - "derive/ui/uei/" - - "derive/iu/iou/" - - "derive/ao/oa/" - - "derive/([aeiou])ng/$1gn/" - - "derive/([iu])a(o|ng?)/a$1$2/" - - "derive/^([a-z]+)[0-5]$/$1/" - - "derive/([dtngkhrzcs])o(u|ng)$/$1o/" - - "derive/ong$/on/" - - "erase/^.*5$/" - - "xlit 1234 -/<\\" - - "derive/^(.*)-$/$1;/" - - "derive/^(.*)<$/$1,/" - - "derive/^(.*)\\\\$/$1>/" - alphabet: "zyxwvutsrqponmlkjihgfedcba-;/<,>\\" - delimiter: " '" - initials: zyxwvutsrqponmlkjihgfedcba -switches: - - name: ascii_mode - reset: 0 - states: ["中文", "西文"] - - name: full_shape - states: ["半角", "全角"] - - name: simplification - states: ["漢字", "汉字"] - - name: ascii_punct - states: ["。,", ".,"] -translator: - comment_format: - - "xform ([aeiou])(ng?|r)([1234]) $1$3$2" - - "xform ([aeo])([iuo])([1234]) $1$3$2" - - "xform a1 ā" - - "xform a2 á" - - "xform a3 ǎ" - - "xform a4 à" - - "xform e1 ē" - - "xform e2 é" - - "xform e3 ě" - - "xform e4 è" - - "xform o1 ō" - - "xform o2 ó" - - "xform o3 ǒ" - - "xform o4 ò" - - "xform i1 ī" - - "xform i2 í" - - "xform i3 ǐ" - - "xform i4 ì" - - "xform u1 ū" - - "xform u2 ú" - - "xform u3 ǔ" - - "xform u4 ù" - - "xform v1 ǖ" - - "xform v2 ǘ" - - "xform v3 ǚ" - - "xform v4 ǜ" - - "xform/([nljqxy])v/$1ü/" - - "xform/eh[0-5]?/ê/" - - "xform/([a-z]+)[0-5]/$1/" - dictionary: terra_pinyin - preedit_format: - - "xform/([nl])v/$1ü/" - - "xform/([nl])ue/$1üe/" - - "xform/([jqxy])v/$1u/" - - "xform/eh/ê/" - - "xform ([aeiou])(ng?|r)([-;/<,>\\\\]) $1$3$2" - - "xform ([aeo])([iuo])([-;/<,>\\\\]) $1$3$2" - - "xform a[-;] ā" - - "xform a/ á" - - "xform a[<,] ǎ" - - "xform a[>\\\\] à" - - "xform e[-;] ē" - - "xform e/ é" - - "xform e[<,] ě" - - "xform e[>\\\\] è" - - "xform o[-;] ō" - - "xform o/ ó" - - "xform o[<,] ǒ" - - "xform o[>\\\\] ò" - - "xform i[-;] ī" - - "xform i/ í" - - "xform i[<,] ǐ" - - "xform i[>\\\\] ì" - - "xform u[-;] ū" - - "xform u/ ú" - - "xform u[<,] ǔ" - - "xform u[>\\\\] ù" - - "xform ü[-;] ǖ" - - "xform ü/ ǘ" - - "xform ü[<,] ǚ" - - "xform ü[>\\\\] ǜ" - spelling_hints: 5 \ No newline at end of file diff --git a/.config/ibus/rime/build/terra_pinyin.table.bin b/.config/ibus/rime/build/terra_pinyin.table.bin deleted file mode 100644 index a2683d3..0000000 Binary files a/.config/ibus/rime/build/terra_pinyin.table.bin and /dev/null differ diff --git a/.config/ibus/rime/default.custom.yaml b/.config/ibus/rime/default.custom.yaml deleted file mode 100644 index ea410a0..0000000 --- a/.config/ibus/rime/default.custom.yaml +++ /dev/null @@ -1,4 +0,0 @@ -patch: - "menu/page_size": 9 - schema_list: - - schema: terra_pinyin diff --git a/.config/ibus/rime/installation.yaml b/.config/ibus/rime/installation.yaml deleted file mode 100644 index e80bb8c..0000000 --- a/.config/ibus/rime/installation.yaml +++ /dev/null @@ -1,6 +0,0 @@ -distribution_code_name: "ibus-rime" -distribution_name: Rime -distribution_version: 1.4.0 -install_time: "Wed Jun 24 12:07:07 2020" -installation_id: "0473e284-5ff2-42f2-91ba-319c9ef261b2" -rime_version: 1.5.3 \ No newline at end of file diff --git a/.config/ibus/rime/luna_pinyin.userdb/000054.log b/.config/ibus/rime/luna_pinyin.userdb/000054.log deleted file mode 100644 index e69de29..0000000 diff --git a/.config/ibus/rime/luna_pinyin.userdb/000055.ldb b/.config/ibus/rime/luna_pinyin.userdb/000055.ldb deleted file mode 100644 index c8f1117..0000000 Binary files a/.config/ibus/rime/luna_pinyin.userdb/000055.ldb and /dev/null differ diff --git a/.config/ibus/rime/luna_pinyin.userdb/CURRENT b/.config/ibus/rime/luna_pinyin.userdb/CURRENT deleted file mode 100644 index f774e85..0000000 --- a/.config/ibus/rime/luna_pinyin.userdb/CURRENT +++ /dev/null @@ -1 +0,0 @@ -MANIFEST-000052 diff --git a/.config/ibus/rime/luna_pinyin.userdb/LOCK b/.config/ibus/rime/luna_pinyin.userdb/LOCK deleted file mode 100644 index e69de29..0000000 diff --git a/.config/ibus/rime/luna_pinyin.userdb/LOG b/.config/ibus/rime/luna_pinyin.userdb/LOG deleted file mode 100644 index 876c63d..0000000 --- a/.config/ibus/rime/luna_pinyin.userdb/LOG +++ /dev/null @@ -1,14 +0,0 @@ -2020/06/27-15:20:46.591250 140703118997248 Recovering log #51 -2020/06/27-15:20:46.591341 140703118997248 Level-0 table #53: started -2020/06/27-15:20:46.595170 140703118997248 Level-0 table #53: 173 bytes OK -2020/06/27-15:20:46.605563 140703118997248 Delete type=0 #51 -2020/06/27-15:20:46.605672 140703118997248 Delete type=3 #50 -2020/06/27-15:20:46.606017 140703110604544 Compacting 4@0 + 1@1 files -2020/06/27-15:20:46.610091 140703110604544 Generated table #55@0: 5 keys, 259 bytes -2020/06/27-15:20:46.610145 140703110604544 Compacted 4@0 + 1@1 files => 259 bytes -2020/06/27-15:20:46.614309 140703110604544 compacted to: files[ 0 1 0 0 0 0 0 ] -2020/06/27-15:20:46.614499 140703110604544 Delete type=2 #34 -2020/06/27-15:20:46.614634 140703110604544 Delete type=2 #48 -2020/06/27-15:20:46.614733 140703110604544 Delete type=2 #43 -2020/06/27-15:20:46.614821 140703110604544 Delete type=2 #28 -2020/06/27-15:20:46.614906 140703110604544 Delete type=2 #53 diff --git a/.config/ibus/rime/luna_pinyin.userdb/LOG.old b/.config/ibus/rime/luna_pinyin.userdb/LOG.old deleted file mode 100644 index be9908a..0000000 --- a/.config/ibus/rime/luna_pinyin.userdb/LOG.old +++ /dev/null @@ -1,3 +0,0 @@ -2020/06/27-15:20:46.579236 140703118997248 Recovering log #49 -2020/06/27-15:20:46.589554 140703118997248 Delete type=0 #49 -2020/06/27-15:20:46.589676 140703118997248 Delete type=3 #47 diff --git a/.config/ibus/rime/luna_pinyin.userdb/MANIFEST-000052 b/.config/ibus/rime/luna_pinyin.userdb/MANIFEST-000052 deleted file mode 100644 index c84dc73..0000000 Binary files a/.config/ibus/rime/luna_pinyin.userdb/MANIFEST-000052 and /dev/null differ diff --git a/.config/ibus/rime/sync/0473e284-5ff2-42f2-91ba-319c9ef261b2/default.custom.yaml b/.config/ibus/rime/sync/0473e284-5ff2-42f2-91ba-319c9ef261b2/default.custom.yaml deleted file mode 100644 index ea410a0..0000000 --- a/.config/ibus/rime/sync/0473e284-5ff2-42f2-91ba-319c9ef261b2/default.custom.yaml +++ /dev/null @@ -1,4 +0,0 @@ -patch: - "menu/page_size": 9 - schema_list: - - schema: terra_pinyin diff --git a/.config/ibus/rime/sync/0473e284-5ff2-42f2-91ba-319c9ef261b2/installation.yaml b/.config/ibus/rime/sync/0473e284-5ff2-42f2-91ba-319c9ef261b2/installation.yaml deleted file mode 100644 index e80bb8c..0000000 --- a/.config/ibus/rime/sync/0473e284-5ff2-42f2-91ba-319c9ef261b2/installation.yaml +++ /dev/null @@ -1,6 +0,0 @@ -distribution_code_name: "ibus-rime" -distribution_name: Rime -distribution_version: 1.4.0 -install_time: "Wed Jun 24 12:07:07 2020" -installation_id: "0473e284-5ff2-42f2-91ba-319c9ef261b2" -rime_version: 1.5.3 \ No newline at end of file diff --git a/.config/ibus/rime/sync/0473e284-5ff2-42f2-91ba-319c9ef261b2/luna_pinyin.userdb.txt b/.config/ibus/rime/sync/0473e284-5ff2-42f2-91ba-319c9ef261b2/luna_pinyin.userdb.txt deleted file mode 100644 index d19e12d..0000000 --- a/.config/ibus/rime/sync/0473e284-5ff2-42f2-91ba-319c9ef261b2/luna_pinyin.userdb.txt +++ /dev/null @@ -1,6 +0,0 @@ -# Rime user dictionary -#@/db_name luna_pinyin.userdb -#@/db_type userdb -#@/rime_version 1.5.3 -#@/tick 0 -#@/user_id 0473e284-5ff2-42f2-91ba-319c9ef261b2 diff --git a/.config/ibus/rime/sync/0473e284-5ff2-42f2-91ba-319c9ef261b2/terra_pinyin.userdb.txt b/.config/ibus/rime/sync/0473e284-5ff2-42f2-91ba-319c9ef261b2/terra_pinyin.userdb.txt deleted file mode 100644 index 2377080..0000000 --- a/.config/ibus/rime/sync/0473e284-5ff2-42f2-91ba-319c9ef261b2/terra_pinyin.userdb.txt +++ /dev/null @@ -1,9 +0,0 @@ -# Rime user dictionary -#@/db_name terra_pinyin.userdb -#@/db_type userdb -#@/rime_version 1.5.3 -#@/tick 6 -#@/user_id 0473e284-5ff2-42f2-91ba-319c9ef261b2 -chan3 pin3 產品 c=1 d=1 t=1 -ma5 嗎 c=2 d=1.99005 t=6 -ni3 hao3 你好 c=3 d=2.97516 t=5 diff --git a/.config/ibus/rime/sync/0473e284-5ff2-42f2-91ba-319c9ef261b2/user.yaml b/.config/ibus/rime/sync/0473e284-5ff2-42f2-91ba-319c9ef261b2/user.yaml deleted file mode 100644 index de25e72..0000000 --- a/.config/ibus/rime/sync/0473e284-5ff2-42f2-91ba-319c9ef261b2/user.yaml +++ /dev/null @@ -1,2 +0,0 @@ -var: - last_build_time: 1593263996 \ No newline at end of file diff --git a/.config/ibus/rime/terra_pinyin.userdb/000072.ldb b/.config/ibus/rime/terra_pinyin.userdb/000072.ldb deleted file mode 100644 index 9e3bfbe..0000000 Binary files a/.config/ibus/rime/terra_pinyin.userdb/000072.ldb and /dev/null differ diff --git a/.config/ibus/rime/terra_pinyin.userdb/000074.log b/.config/ibus/rime/terra_pinyin.userdb/000074.log deleted file mode 100644 index b01175c..0000000 Binary files a/.config/ibus/rime/terra_pinyin.userdb/000074.log and /dev/null differ diff --git a/.config/ibus/rime/terra_pinyin.userdb/CURRENT b/.config/ibus/rime/terra_pinyin.userdb/CURRENT deleted file mode 100644 index 60f8f3c..0000000 --- a/.config/ibus/rime/terra_pinyin.userdb/CURRENT +++ /dev/null @@ -1 +0,0 @@ -MANIFEST-000073 diff --git a/.config/ibus/rime/terra_pinyin.userdb/LOCK b/.config/ibus/rime/terra_pinyin.userdb/LOCK deleted file mode 100644 index e69de29..0000000 diff --git a/.config/ibus/rime/terra_pinyin.userdb/LOG b/.config/ibus/rime/terra_pinyin.userdb/LOG deleted file mode 100644 index 0cbc8f1..0000000 --- a/.config/ibus/rime/terra_pinyin.userdb/LOG +++ /dev/null @@ -1,3 +0,0 @@ -2020/06/27-15:20:47.571446 140703135819584 Recovering log #71 -2020/06/27-15:20:47.593516 140703135819584 Delete type=0 #71 -2020/06/27-15:20:47.593630 140703135819584 Delete type=3 #69 diff --git a/.config/ibus/rime/terra_pinyin.userdb/LOG.old b/.config/ibus/rime/terra_pinyin.userdb/LOG.old deleted file mode 100644 index d7cbe28..0000000 --- a/.config/ibus/rime/terra_pinyin.userdb/LOG.old +++ /dev/null @@ -1,16 +0,0 @@ -2020/06/27-15:20:46.544894 140703118997248 Recovering log #68 -2020/06/27-15:20:46.544918 140703118997248 Level-0 table #70: started -2020/06/27-15:20:46.547914 140703118997248 Level-0 table #70: 173 bytes OK -2020/06/27-15:20:46.557055 140703118997248 Delete type=0 #68 -2020/06/27-15:20:46.557095 140703118997248 Delete type=2 #69 -2020/06/27-15:20:46.557116 140703118997248 Delete type=3 #66 -2020/06/27-15:20:46.557263 140703110604544 Compacting 5@0 + 1@1 files -2020/06/27-15:20:46.560597 140703110604544 Generated table #72@0: 8 keys, 380 bytes -2020/06/27-15:20:46.560617 140703110604544 Compacted 5@0 + 1@1 files => 380 bytes -2020/06/27-15:20:46.564717 140703110604544 compacted to: files[ 0 1 0 0 0 0 0 ] -2020/06/27-15:20:46.564805 140703110604544 Delete type=2 #64 -2020/06/27-15:20:46.564868 140703110604544 Delete type=2 #54 -2020/06/27-15:20:46.564915 140703110604544 Delete type=2 #50 -2020/06/27-15:20:46.564959 140703110604544 Delete type=2 #67 -2020/06/27-15:20:46.565020 140703110604544 Delete type=2 #70 -2020/06/27-15:20:46.565068 140703110604544 Delete type=2 #59 diff --git a/.config/ibus/rime/terra_pinyin.userdb/MANIFEST-000073 b/.config/ibus/rime/terra_pinyin.userdb/MANIFEST-000073 deleted file mode 100644 index fd2dc1c..0000000 Binary files a/.config/ibus/rime/terra_pinyin.userdb/MANIFEST-000073 and /dev/null differ diff --git a/.config/ibus/rime/user.yaml b/.config/ibus/rime/user.yaml deleted file mode 100644 index de25e72..0000000 --- a/.config/ibus/rime/user.yaml +++ /dev/null @@ -1,2 +0,0 @@ -var: - last_build_time: 1593263996 \ No newline at end of file diff --git a/.config/inputrc b/.config/inputrc deleted file mode 100644 index f9b94dd..0000000 --- a/.config/inputrc +++ /dev/null @@ -1,19 +0,0 @@ -$include /etc/inputrc -set editing-mode vi -$if mode=vi - -set show-mode-in-prompt on -set vi-ins-mode-string \1\e[6 q\2 -set vi-cmd-mode-string \1\e[2 q\2 - -set keymap vi-command -# these are for vi-command mode -Control-l: clear-screen -Control-a: beginning-of-line - -set keymap vi-insert -# these are for vi-insert mode -Control-l: clear-screen -Control-a: beginning-of-line - -$endif diff --git a/.config/mpv/input.conf b/.config/mpv/input.conf deleted file mode 100644 index e0de762..0000000 --- a/.config/mpv/input.conf +++ /dev/null @@ -1,7 +0,0 @@ -l seek 5 -h seek -5 -j seek -60 -k seek 60 -S cycle sub -ALT+j add sub-scale -0.1 -ALT+k add sub-scale +0.1 diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf deleted file mode 100644 index ff66aed..0000000 --- a/.config/mpv/mpv.conf +++ /dev/null @@ -1 +0,0 @@ -save-position-on-quit diff --git a/.config/newsboat/config b/.config/newsboat/config deleted file mode 100644 index 8a56287..0000000 --- a/.config/newsboat/config +++ /dev/null @@ -1,40 +0,0 @@ -#show-read-feeds no -auto-reload yes - -external-url-viewer "urlscan -dc -r 'linkhandler {}'" - -bind-key j down -bind-key k up -bind-key j next articlelist -bind-key k prev articlelist -bind-key J next-feed articlelist -bind-key K prev-feed articlelist -bind-key G end -bind-key g home -bind-key d pagedown -bind-key u pageup -bind-key l open -bind-key h quit -bind-key a toggle-article-read -bind-key n next-unread -bind-key N prev-unread -bind-key D pb-download -bind-key U show-urls -bind-key x pb-delete -bind-key ^t next-unread - -color listnormal cyan default -color listfocus magenta black standout bold -color listnormal_unread yellow default -color listfocus_unread yellow black standout bold -color info red black standout bold -color article green default - -browser linkhandler -macro , open-in-browser -macro t set browser "tsp youtube-dl --add-metadata -ic"; open-in-browser ; set browser linkhandler -macro a set browser "tsp youtube-dl --add-metadata -xic -f bestaudio/best"; open-in-browser ; set browser linkhandler -macro v set browser "setsid nohup mpv"; open-in-browser ; set browser linkhandler -macro w set browser "w3m"; open-in-browser ; set browser linkhandler -macro p set browser "dmenuhandler"; open-in-browser ; set browser linkhandler -macro c set browser "xsel -b <<<" ; open-in-browser ; set browser linkandler diff --git a/.config/shortcutrc b/.config/shortcutrc deleted file mode 100644 index fc7d7c4..0000000 --- a/.config/shortcutrc +++ /dev/null @@ -1,3 +0,0 @@ -# vim: filetype=sh -alias pp="cd ~/Pictures && ls -a" \ -vv="cd ~/Videos && ls -a" \ diff --git a/.config/zathura/zathurarc b/.config/zathura/zathurarc deleted file mode 100644 index 9fa50ca..0000000 --- a/.config/zathura/zathurarc +++ /dev/null @@ -1,12 +0,0 @@ -set statusbar-h-padding 0 -set statusbar-v-padding 0 -set page-padding 1 -map u scroll half-up -map d scroll half-down -map D toggle_page_mode -map r reload -map R rotate -map K zoom in -map J zoom out -map i recolor -map p print diff --git a/.profile b/.profile deleted file mode 100644 index 55e3f69..0000000 --- a/.profile +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/sh - -# Profile file. Runs on login. Environmental variables are set here. - -export PATH="$PATH:$HOME/.local/bin:$HOME/py:$HOME/.local/usr/local/bin:$HOME/.local/usr/bin" - -# Default programs: -export EDITOR="nvim" -export TERMINAL="xterm" -export BROWSER="firefox" -export READER="zathura" -export FILE="ranger" - -# ~/ Clean-up: -export LESSHISTFILE="-" -export INPUTRC="$HOME/.config/inputrc" - -# Other program settings: -export SUDO_ASKPASS="$HOME/.local/bin/dmenupass" -export LESS=-R -export LESS_TERMCAP_mb="$(printf '%b' '')" -export LESS_TERMCAP_md="$(printf '%b' '')" -export LESS_TERMCAP_me="$(printf '%b' '')" -export LESS_TERMCAP_so="$(printf '%b' '')" -export LESS_TERMCAP_se="$(printf '%b' '')" -export LESS_TERMCAP_us="$(printf '%b' '')" -export LESS_TERMCAP_ue="$(printf '%b' '')" - -export WINDOWS='/mnt/windows' -export BAT_THEME="Dracula" - -[ ! -f ~/.config/shortcutrc ] && shortcuts >/dev/null 2>&1 - -echo "$0" | grep "bash$" >/dev/null && [ -f ~/.bashrc ] && source "$HOME/.bashrc" - -# Start graphical server if i3 not already running. -[ "$(tty)" = "/dev/tty1" ] && ! pgrep -x Xorg >/dev/null && exec startx - - diff --git a/.vimrc b/.vimrc deleted file mode 100644 index 49952df..0000000 --- a/.vimrc +++ /dev/null @@ -1,154 +0,0 @@ -let mapleader ='\' - -if ! filereadable(expand('~/.config/nvim/autoload/plug.vim')) - echo "Downloading junegunn/vim-plug to manage plugins..." - silent !mkdir -p ~/.config/nvim/autoload/ - silent !curl "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim" > ~/.config/nvim/autoload/plug.vim - autocmd VimEnter * PlugInstall -endif - - -set bg=dark -set go=a -set mouse=a -set nohlsearch -set clipboard=unnamedplus - -" Some basics: - nnoremap c "_c - set nocompatible - filetype plugin on - syntax on - set encoding=utf-8 - set number relativenumber - -" Automatically deletes all trailing whitespace on save. - autocmd BufWritePre * %s/\s\+$//e - -" Run xrdb whenever Xdefaults or Xresources are updated. - autocmd BufWritePost *Xresources,*Xdefaults !xrdb % - - - -call plug#begin('~/.vim/plugged') - -Plug 'Shougo/deoplete.nvim' -Plug 'artur-shaik/vim-javacomplete2' , { 'for': 'java'} -Plug 'majutsushi/tagbar', { 'on': 'TagbarToggle' } -Plug 'SirVer/ultisnips' -Plug 'scrooloose/nerdtree', { 'on': ['NERDTreeToggle', 'NERDTreeFind'] } -Plug 'w0rp/ale' -Plug 'ctrlpvim/ctrlp.vim' - -" Theme -Plug 'dracula/vim', { 'as': 'dracula' } -" Bottom line -Plug 'itchyny/lightline.vim' - -call plug#end() -"Ctrlp Settings {{{ - -let g:ctrlp_map = '' - -let g:ctrlp_cmd = 'ctrlp' -let g:ctrlp_dont_split = 'nerd' -let g:ctrlp_working_path_mode = 'rw' -set wildignore+=*/.git/*,*/tmp/*,*.swp/*,*/node_modules/*,*/temp/*,*/Builds/*,*/ProjectSettings/* -" Set no max file limit -let g:ctrlp_max_files = 0 -" Search from current directory instead of project root - - -function! CtrlPCommand() - let c = 0 - let wincount = winnr('$') - " Don't open it here if current buffer is not writable (e.g. NERDTree) - while !empty(getbufvar(+expand(""), "&buftype")) && c < wincount - exec 'wincmd w' - let c = c + 1 - endwhile - exec 'CtrlP' -endfunction -let g:ctrlp_cmd = 'call CtrlPCommand()' - -"RipGrep -if executable('rg') - set grepprg=rg\ --color=never - let g:ctrlp_user_command = 'rg %s --files --color=never --glob ""' - let g:ctrlp_use_caching = 0 -endif -let g:ctrlp_custom_ignore = { - \ 'dir': '', - \ 'file': '\.so$\|\.dat$|\.DS_Store$|\.meta|\.zip|\.rar|\.ipa|\.apk', - \ } -" }}} -"Ale Settings {{{ - -let g:ale_echo_msg_error_str = 'E' -let g:ale_echo_msg_warning_str = 'W' -let g:ale_sign_error = '✘✘' -let g:ale_sign_warning = '⚠⚠' -let g:ale_open_list = 0 -let g:ale_loclist = 0 -"g:ale_javascript_eslint_use_global = 1 -let g:ale_linters = { - \ 'cs':['syntax', 'semantic', 'issues'], - \ 'python': ['pylint'], - \ 'java': ['javac'] - \ } -" }}} -" Deoplete {{{ - -let g:deoplete#enable_at_startup = 1 - -let g:deoplete#custom#auto_complete_start_length = 2 -let g:deoplete#custom#sources = {} -let g:deoplete#custom#sources._=['buffer', 'ultisnips', 'file', 'dictionary'] -let g:deoplete#custom#sources.javascript = ['tern', 'omni', 'file', 'buffer', 'ultisnips'] - -" Use smartcase. -let g:deoplete#custom#enable_smart_case = 1 - - -"set completeopt-=preview - -""use TAB as the mapping -inoremap - \ pumvisible() ? "\" : - \ check_back_space() ? "\" : - \ deoplete#mappings#manual_complete() -function! s:check_back_space() abort "" {{{ - let col = col('.') - 1 - return !col || getline('.')[col - 1] =~ '\s' -endfunction "" }}} -" }}} -" UltiSnips {{{ - -" Trigger configuration. Do not use if you use https://github.com/Valloric/YouCompleteMe. -let g:UltiSnipsExpandTrigger="" -let g:UltiSnipsJumpForwardTrigger="" -let g:UltiSnipsJumpBackwardTrigger="" - -" If you want :UltiSnipsEdit to split your window. -let g:UltiSnipsEditSplit="vertical" - -let g:UltiSnipsSnippetDirectories = ['~/.vim/UltiSnips', 'UltiSnips'] -let g:UltiSnipsSnippetsDir="~/.vim/UltiSnips" - -" }}} -" Java {{{ - -" Easy compile java in vim -autocmd FileType java set makeprg=javac\ % -set errorformat=%A%f:%l:\ %m,%-Z%p^,%-C.%# -" Java completion -autocmd FileType java setlocal omnifunc=javacomplete#Complete -autocmd FileType java JCEnable -" }}} - - colorscheme dracula - -let g:lightline = { - \ 'colorscheme': 'dracula', - \ } - diff --git a/.xinitrc b/.xinitrc deleted file mode 100644 index ab29663..0000000 --- a/.xinitrc +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/sh - -# xinitrc runs automatically when you run startx. - -# There are some small but important commands that need to be run when we start -# the graphical environment. I keep those commands in ~/.xprofile because that -# file is run automatically if someone uses a display manager (login screen) -# and so they are needed there. To prevent doubling up commands, I source them -# here with the line below. - -[ -f ~/.xprofile ] && . ~/.xprofile - - -###PERSONAL EDIT### -exec i3 -start-pulseaudio-x11 & - -ibus-daemon -xd - -xset s off -xset -dpms -xset s noblank diff --git a/.xprofile b/.xprofile deleted file mode 100644 index 0c1f0d0..0000000 --- a/.xprofile +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh - -# This file runs when a DM logs you into a graphical session. -# If you use startx/xinit like a Chad, this file will also be sourced. - -setbg & # set the background with the `setbg` script -xcompmgr & # xcompmgr for transparency -#dunst & # dunst for notifications -#sxhkd & # Bind keys with sxhkd -xset r rate 300 50 & # Speed xrate up -unclutter & # Remove mouse when idle - -# Set Caps to Mod/Escape -setxkbmap -option caps:super && killall xcape 2>/dev/null ; xcape -e 'Super_L=Escape' & -# Properties button extra Mod/Escape -xmodmap -e 'keycode 135 = Super_R' & - -# This loop will run the `refbar` script to refresh the statusbar whenever a -# command changes the music player's status. -while pgrep -x mpd; do - mpc idle >/dev/null 2>&1 - refbar -done & -ibus-daemon -xd & -sct 3500 & -xbacklight -set 25 & diff --git a/dot_Xdefaults b/dot_Xdefaults new file mode 100644 index 0000000..36874e7 --- /dev/null +++ b/dot_Xdefaults @@ -0,0 +1,26 @@ +xterm*cursorColor: yellow +xterm*pointerShape: xterm +xterm*pointerColor: magenta +xterm*faceSize: 12 +xterm*faceName: wts11 +Sxiv.background: #000000 + +! Dracula Xresources palette +*.foreground: #F8F8F2 +*.background: #282A36 +*.color0: #000000 +*.color8: #4D4D4D +*.color1: #FF5555 +*.color9: #FF6E67 +*.color2: #50FA7B +*.color10: #5AF78E +*.color3: #F1FA8C +*.color11: #F4F99D +*.color4: #BD93F9 +*.color12: #CAA9FA +*.color5: #FF79C6 +*.color13: #FF92D0 +*.color6: #8BE9FD +*.color14: #9AEDFE +*.color7: #BFBFBF +*.color15: #E6E6E6 diff --git a/dot_Xresources b/dot_Xresources new file mode 100644 index 0000000..b815be1 --- /dev/null +++ b/dot_Xresources @@ -0,0 +1 @@ +Sxiv.background: #000000 diff --git a/dot_config/aliasrc b/dot_config/aliasrc new file mode 100644 index 0000000..03f917e --- /dev/null +++ b/dot_config/aliasrc @@ -0,0 +1,26 @@ +#!/bin/sh + +alias mpv='mpv --input-ipc-server=/tmp/mpvsoc$(date +%s)' \ + xi="sudo xbps-install" \ + xr="sudo xbps-remove" \ + xq="xbps-query" \ + v='$EDITOR' \ + ls="ls -hN --color=auto --group-directories-first" \ + grep="grep --color=auto" \ + diff="diff --color=auto" \ + ffmpeg="ffmpeg -hide_banner" \ + cat='bat' \ + la='ls -A' \ + l='ls -1' \ + ll='ls -lt' \ + display='sxiv' \ + xbacklight='sudo xbacklight' \ + ipconfig='curl ipconfig.io' \ + cp='cp -v' \ + mv='mv -v' \ + mkdir='mkdir -pv' \ + rm='rm -v' \ + vv='cd ~/Videos && ls -A *' \ + pp='cd ~/Pictures && ls -A *' \ + mm='cd ~/Music && ls -A !(data-music)' \ + ipa='ip -c -h -s a' diff --git a/dot_config/i3/config b/dot_config/i3/config new file mode 100644 index 0000000..e469d5f --- /dev/null +++ b/dot_config/i3/config @@ -0,0 +1,405 @@ +# 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 + +# 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 --color=040217 --show-failed-attemps --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@ +5% && $refresh_i3status +bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5% && $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 + +# start a terminal +bindsym $mod+Return exec xterm + +# 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+h focus left +bindsym $mod+j focus down +bindsym $mod+k focus up +bindsym $mod+l 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+h move left +bindsym $mod+Shift+j move down +bindsym $mod+Shift+k move up +bindsym $mod+Shift+l 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+c 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 h resize shrink width 10 px or 10 ppt + bindsym j resize grow height 10 px or 10 ppt + bindsym k resize shrink height 10 px or 10 ppt + bindsym l 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 { + colors { + background #040217 + statusline #972e73 + separator #C9A6C9 + + focused_workspace #c583b6 #040217 #d52c70 + active_workspace #6c2d7a #000000 #c583b6 + inactive_workspace #6c2d7a #000000 #6c2d7a + urgent_workspace #20202D #F54A94 #FFFFFF + binding_mode #20202D #F54A94 #FFFFFF + } + separator_symbol "║" + font pango: 11 + status_command i3status +} + +# Firefox - (W)eb browser +bindsym $mod+Shift+W exec notify-send -t 5000 -i /usr/share/icons/hicolor/256x256/apps/firefox.png "Opening" "firefox" ; exec firefox +# Power off - X +bindsym $mod+Shift+X exec "i3-nagbar -t warning -f fixed -m 'You pressed the shutting shortcut. Do you really eant to shut you computer?' -B 'Yes, shut it.' 'sudo /bin/poweroff'" +# Reboot - BackSpace +bindsym $mod+Shift+BackSpace exec "i3-nagbar -t warning -f fixed -m 'You pressed the restarting shortcut. Do you really eant to restart you computer?' -B 'Yes, restart it.' 'sudo /bin/reboot'" +# (T)eams +bindsym $mod+Shift+T exec notify-send -t 5000 -i /home/mas/Pictures/icons/teams.png "Opening" "Teams" ; exec teams +# (P)assword manager +bindsym $mod+Shift+P exec passmenu + +# Set the bg wallpaper +exec --no-startup-id feh --bg-scale /home/mas/Pictures/retrowave-pyramid.png + +# Sreen brightness controls +bindsym XF86MonBrightnessUp exec xbacklight -inc 1 ; exec notify-send -t 500 "Brightness : $(xbacklight -get)" # increase screen brightness +bindsym XF86MonBrightnessDown exec xbacklight -dec 1 ; exec notify-send -t 500 "Brightness : $(xbacklight -get)" # decrease screen brightness + +# class border backgr. text indicator child_border +client.focused #c583b6 #040217 #d52c70 #F54A94 #814db3 +client.focused_inactive #6C2D7A #000000 #c583b6 #0C1746 #3C3C54 +client.unfocused #6C2D7A #000000 #6C2D7A #0C1746 #3C3C54 +client.urgent #F54A94 #20202D #FFFFFF #0C1746 #F54A94 +client.placeholder #20202D #20202D #FFFFFF #0C1746 #3C3C54 + +client.background #D52C70 + +# suspend and hibernate +bindsym $mod+Shift+S exec "i3-nagbar -t warning -f fixed -m 'You pressed the suspending shortcut. Do you really want to suspend your computer?' -B 'Yes, suspend it.' 'sudo /bin/zzz'" +bindsym $mod+Shift+Delete exec "i3-nagbar -t warning -f fixed -m 'You pressed the hibernating shortcut. Do you really want to put your computer to sleep?' -B 'Yes, do it.' 'sudo /bin/ZZZ'" + +# What happens when we hit the power button +bindsym XF86PowerOff exec xcowsay $(fortune -os) + +######GAPS###### +set $mode_gaps Gaps: (o)uter, (i)nner, (h)orizontal, (v)ertical, (t)op, (r)ight, (b)ottom, (l)eft +set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global) +set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global) +set $mode_gaps_horiz Horizontal Gaps: +|-|0 (local), Shift + +|-|0 (global) +set $mode_gaps_verti Vertical Gaps: +|-|0 (local), Shift + +|-|0 (global) +set $mode_gaps_top Top Gaps: +|-|0 (local), Shift + +|-|0 (global) +set $mode_gaps_right Right Gaps: +|-|0 (local), Shift + +|-|0 (global) +set $mode_gaps_bottom Bottom Gaps: +|-|0 (local), Shift + +|-|0 (global) +set $mode_gaps_left Left Gaps: +|-|0 (local), Shift + +|-|0 (global) +bindsym $mod+Shift+g mode "$mode_gaps" + +mode "$mode_gaps" { + bindsym o mode "$mode_gaps_outer" + bindsym i mode "$mode_gaps_inner" + bindsym h mode "$mode_gaps_horiz" + bindsym v mode "$mode_gaps_verti" + bindsym t mode "$mode_gaps_top" + bindsym r mode "$mode_gaps_right" + bindsym b mode "$mode_gaps_bottom" + bindsym l mode "$mode_gaps_left" + bindsym Return mode "$mode_gaps" + bindsym Escape mode "default" +} + +mode "$mode_gaps_outer" { + bindsym plus gaps outer current plus 5 + bindsym minus gaps outer current minus 5 + bindsym 0 gaps outer current set 0 + + bindsym Shift+plus gaps outer all plus 5 + bindsym Shift+minus gaps outer all minus 5 + bindsym Shift+0 gaps outer all set 0 + + bindsym Return mode "$mode_gaps" + bindsym Escape mode "default" +} +mode "$mode_gaps_inner" { + bindsym plus gaps inner current plus 5 + bindsym minus gaps inner current minus 5 + bindsym 0 gaps inner current set 0 + + bindsym Shift+plus gaps inner all plus 5 + bindsym Shift+minus gaps inner all minus 5 + bindsym Shift+0 gaps inner all set 0 + + bindsym Return mode "$mode_gaps" + bindsym Escape mode "default" +} +mode "$mode_gaps_horiz" { + bindsym plus gaps horizontal current plus 5 + bindsym minus gaps horizontal current minus 5 + bindsym 0 gaps horizontal current set 0 + + bindsym Shift+plus gaps horizontal all plus 5 + bindsym Shift+minus gaps horizontal all minus 5 + bindsym Shift+0 gaps horizontal all set 0 + + bindsym Return mode "$mode_gaps" + bindsym Escape mode "default" +} +mode "$mode_gaps_verti" { + bindsym plus gaps vertical current plus 5 + bindsym minus gaps vertical current minus 5 + bindsym 0 gaps vertical current set 0 + + bindsym Shift+plus gaps vertical all plus 5 + bindsym Shift+minus gaps vertical all minus 5 + bindsym Shift+0 gaps vertical all set 0 + + bindsym Return mode "$mode_gaps" + bindsym Escape mode "default" +} +mode "$mode_gaps_top" { + bindsym plus gaps top current plus 5 + bindsym minus gaps top current minus 5 + bindsym 0 gaps top current set 0 + + bindsym Shift+plus gaps top all plus 5 + bindsym Shift+minus gaps top all minus 5 + bindsym Shift+0 gaps top all set 0 + + bindsym Return mode "$mode_gaps" + bindsym Escape mode "default" +} +mode "$mode_gaps_right" { + bindsym plus gaps right current plus 5 + bindsym minus gaps right current minus 5 + bindsym 0 gaps right current set 0 + + bindsym Shift+plus gaps right all plus 5 + bindsym Shift+minus gaps right all minus 5 + bindsym Shift+0 gaps right all set 0 + + bindsym Return mode "$mode_gaps" + bindsym Escape mode "default" +} +mode "$mode_gaps_bottom" { + bindsym plus gaps bottom current plus 5 + bindsym minus gaps bottom current minus 5 + bindsym 0 gaps bottom current set 0 + + bindsym Shift+plus gaps bottom all plus 5 + bindsym Shift+minus gaps bottom all minus 5 + bindsym Shift+0 gaps bottom all set 0 + + bindsym Return mode "$mode_gaps" + bindsym Escape mode "default" +} +mode "$mode_gaps_left" { + bindsym plus gaps left current plus 5 + bindsym minus gaps left current minus 5 + bindsym 0 gaps left current set 0 + + bindsym Shift+plus gaps left all plus 5 + bindsym Shift+minus gaps left all minus 5 + bindsym Shift+0 gaps left all set 0 + + bindsym Return mode "$mode_gaps" + bindsym Escape mode "default" +} + +gaps inner 10 +###GAPS### + +# (N)ewsboat +bindsym $mod+Shift+N exec xterm -e "newsboat" + +# (D)iscord +bindsym $mod+Shift+D exec notify-send -t 5000 -i /home/mas/Pictures/icons/discord.png "Opening" "Discord" ; exec Discord + +# Media Player Controls +#bindsym ISO_Level3_Shift+F7 +bindsym XF86AudioPlay exec playerctl play-pause +bindsym XF86AudioPause exec playerctl pause +bindsym XF86AudioNext exec playerctl next +#bindsym XF86AudioPrev exec playerctl previous + +# Screenshot with scrot +bindsym Print exec notify-send -t 5000 -i /home/mas/Pictures/icons/screenshot.png "Launching" "scrot" ; exec scrot --silent --exec 'mv $f ~/Pictures/screenshots && sxiv ~/Pictures/screenshots/$f' + +# (C)hromium +bindsym $mod+Shift+C exec notify-send -t 5000 -i /usr/share/icons/hicolor/256x256/apps/chromium.png "Opening" "chromium" ; exec chromium + +# Mount/Umount on the drives - F10/F11 +bindsym $mod+F10 exec dmenumount +bindsym $mod+F11 exec dmenuumount + +# (V)irtualBox +bindsym $mod+Shift+V exec notify-send -t 5000 -i /usr/share/icons/hicolor/128x128/mimetypes/virtualbox.png "Launching" "VirtualBox" ; exec VirtualBox +# Thunderbird - (M)ail +bindsym $mod+Shift+M exec notify-send -t 5000 -i /usr/share/icons/hicolor/256x256/apps/thunderbird.png "Launching" "Thunderbird" ; exec thunderbird + +# US and FR keyboard mapping - (U)S/(F)R +bindsym $mod+Shift+U exec setxkbmap us && exec notify-send -t 5000 "US xkbmap" +bindsym $mod+Shift+F exec setxkbmap fr && exec notify-send -t 5000 "FR xkbmap" + +# Network manager - (I)nternet +#bindsym $mod+Shift+I exec networkmanager_dmenu + +#Krita - F1 +bindsym $mod+Shift+F1 exec notify-send -t 5000 -i /usr/share/icons/hicolor/1024x1024/apps/krita.png "Lauching" "Krita" && exec krita + +#remove the header of the window +default_border pixel 2 + +#Urgency i3 opt out option +bindsym $mod+Shift+F10 exec i3-msg exit + +#Android Studio - F2 +bindsym $mod+Shift+F2 exec notify-send -t 5000 -i /home/mas/Pictures/icons/android_studio.png "Lauching" "Android Studio" && exec studio + +exec_always --no-startup-id /usr/bin/i3wsr + +#(L)ock +bindsym $mod+Ctrl+l exec i3lock --show-failed-attempts --color=040217 diff --git a/dot_config/i3/i3status.conf b/dot_config/i3/i3status.conf new file mode 100644 index 0000000..0f1f048 --- /dev/null +++ b/dot_config/i3/i3status.conf @@ -0,0 +1,88 @@ +# i3status configuration file. +# see "man i3status" for documentation. + +# It is important that this file is edited as UTF-8. +# The following line should contain a sharp s: +# ß +# If the above line is not correctly displayed, fix your editor first! + +general { + colors = true + color_good="#c583b6" + color_bad="#D52C70" + color_degraded="#6c2e8d" + interval = 1 +} + +#order += "ipv6" +order += "wireless _first_" +order += "ethernet _first_" +order += "battery 0" +order += "disk /" +order += "load" +order += "memory" +order += "volume master" +order += "tztime local" + +wireless _first_ { + format_up = "W: (%quality at %essid) %ip" + format_down = "W: down" +} + +ethernet _first_ { + format_up = "E: %ip (%speed)" + format_down = "E: down" +} + +battery all { + format = "%status %percentage %remaining %emptytime" + format_down = "No battery" + status_chr = "CHR" + status_bat = "BAT" + status_unk = "UNK" + status_full = "FULL" + path = "/sys/class/power_supply/BAT%d/uevent" + low_threshold = 20 + color_bad="red" +} + +battery 0 { + format = "%status %percentage" + format_down = "No battery" + status_chr = "CHR" + status_bat = "BAT" + status_unk = "UNK" + status_full = "FULL" + path = "/sys/class/power_supply/BAT%d/uevent" + low_threshold = 20 + color_bad="red" + last_full_capacity = true + integer_battery_capacity = true +} + +disk "/" { + format = "%avail / %total" +} + +load { + format = "%1min" +} + +memory { + format = "MEM: %available / %total" + threshold_degraded = "10%" + format_degraded = "MEM: %free" +} + +tztime local { + format = "%a %d %b %Y %H:%M:%S" + timezone = "Europe/Paris" +} + +volume master { + format = "♪: %volume" + format_muted = "♪: muted (%volume)" + device = "default" + mixer = "Master" + mixer_idx = 0 +} diff --git a/dot_config/mpv/input.conf b/dot_config/mpv/input.conf new file mode 100644 index 0000000..e0de762 --- /dev/null +++ b/dot_config/mpv/input.conf @@ -0,0 +1,7 @@ +l seek 5 +h seek -5 +j seek -60 +k seek 60 +S cycle sub +ALT+j add sub-scale -0.1 +ALT+k add sub-scale +0.1 diff --git a/dot_config/mpv/mpv.conf b/dot_config/mpv/mpv.conf new file mode 100644 index 0000000..ff66aed --- /dev/null +++ b/dot_config/mpv/mpv.conf @@ -0,0 +1 @@ +save-position-on-quit diff --git a/dot_config/mpv/private_watch_later/002476DCE9FB6921C4FC4FD2260E768C b/dot_config/mpv/private_watch_later/002476DCE9FB6921C4FC4FD2260E768C new file mode 100644 index 0000000..a2d5016 --- /dev/null +++ b/dot_config/mpv/private_watch_later/002476DCE9FB6921C4FC4FD2260E768C @@ -0,0 +1 @@ +start=68.531112 diff --git a/dot_config/mpv/private_watch_later/078BD038743E5C569FD9E487FA30565E b/dot_config/mpv/private_watch_later/078BD038743E5C569FD9E487FA30565E new file mode 100644 index 0000000..5c56a8d --- /dev/null +++ b/dot_config/mpv/private_watch_later/078BD038743E5C569FD9E487FA30565E @@ -0,0 +1 @@ +start=0.691015 diff --git a/dot_config/mpv/private_watch_later/137EDE3F0C09E218620CDD6191E4B2D3 b/dot_config/mpv/private_watch_later/137EDE3F0C09E218620CDD6191E4B2D3 new file mode 100644 index 0000000..c036340 --- /dev/null +++ b/dot_config/mpv/private_watch_later/137EDE3F0C09E218620CDD6191E4B2D3 @@ -0,0 +1 @@ +start=2.221569 diff --git a/dot_config/mpv/private_watch_later/17D95844B55D1D4597BDF6E9273FD376 b/dot_config/mpv/private_watch_later/17D95844B55D1D4597BDF6E9273FD376 new file mode 100644 index 0000000..2a8c350 --- /dev/null +++ b/dot_config/mpv/private_watch_later/17D95844B55D1D4597BDF6E9273FD376 @@ -0,0 +1 @@ +start=51.516583 diff --git a/dot_config/mpv/private_watch_later/1B255E528EC3F572709BB49ED4844B20 b/dot_config/mpv/private_watch_later/1B255E528EC3F572709BB49ED4844B20 new file mode 100644 index 0000000..8bad527 --- /dev/null +++ b/dot_config/mpv/private_watch_later/1B255E528EC3F572709BB49ED4844B20 @@ -0,0 +1 @@ +start=91.030379 diff --git a/dot_config/mpv/private_watch_later/3157DE7CCF940EF0477E7D35D4A96120 b/dot_config/mpv/private_watch_later/3157DE7CCF940EF0477E7D35D4A96120 new file mode 100644 index 0000000..b4bac61 --- /dev/null +++ b/dot_config/mpv/private_watch_later/3157DE7CCF940EF0477E7D35D4A96120 @@ -0,0 +1 @@ +start=4.284582 diff --git a/dot_config/mpv/private_watch_later/3C5DE48BF004CA7801F79FDF2B0B2D4E b/dot_config/mpv/private_watch_later/3C5DE48BF004CA7801F79FDF2B0B2D4E new file mode 100644 index 0000000..abe4dbe --- /dev/null +++ b/dot_config/mpv/private_watch_later/3C5DE48BF004CA7801F79FDF2B0B2D4E @@ -0,0 +1 @@ +start=3.269251 diff --git a/dot_config/mpv/private_watch_later/495B7355C35E9E5C0097CD6E5D2EEDED b/dot_config/mpv/private_watch_later/495B7355C35E9E5C0097CD6E5D2EEDED new file mode 100644 index 0000000..a10867e --- /dev/null +++ b/dot_config/mpv/private_watch_later/495B7355C35E9E5C0097CD6E5D2EEDED @@ -0,0 +1 @@ +start=16.242807 diff --git a/dot_config/mpv/private_watch_later/57382138AD7A1480799D411309088838 b/dot_config/mpv/private_watch_later/57382138AD7A1480799D411309088838 new file mode 100644 index 0000000..13b1f2a --- /dev/null +++ b/dot_config/mpv/private_watch_later/57382138AD7A1480799D411309088838 @@ -0,0 +1 @@ +start=30.280000 diff --git a/dot_config/mpv/private_watch_later/5DA45EDB38F1F9D192D1A48302DB1339 b/dot_config/mpv/private_watch_later/5DA45EDB38F1F9D192D1A48302DB1339 new file mode 100644 index 0000000..faca4b3 --- /dev/null +++ b/dot_config/mpv/private_watch_later/5DA45EDB38F1F9D192D1A48302DB1339 @@ -0,0 +1 @@ +start=1.889533 diff --git a/dot_config/mpv/private_watch_later/60BE57727223F94FD189B81F8AE87DB7 b/dot_config/mpv/private_watch_later/60BE57727223F94FD189B81F8AE87DB7 new file mode 100644 index 0000000..ea10245 --- /dev/null +++ b/dot_config/mpv/private_watch_later/60BE57727223F94FD189B81F8AE87DB7 @@ -0,0 +1 @@ +start=114.741427 diff --git a/dot_config/mpv/private_watch_later/703B80180712137EB546795B88465444 b/dot_config/mpv/private_watch_later/703B80180712137EB546795B88465444 new file mode 100644 index 0000000..b1e1f06 --- /dev/null +++ b/dot_config/mpv/private_watch_later/703B80180712137EB546795B88465444 @@ -0,0 +1 @@ +start=3.809317 diff --git a/dot_config/mpv/private_watch_later/7F86B714B30C792245874AD01DE6C306 b/dot_config/mpv/private_watch_later/7F86B714B30C792245874AD01DE6C306 new file mode 100644 index 0000000..80d218a --- /dev/null +++ b/dot_config/mpv/private_watch_later/7F86B714B30C792245874AD01DE6C306 @@ -0,0 +1,2 @@ +start=77.202589 +pause=yes diff --git a/dot_config/mpv/private_watch_later/880C95A9836AD865D3EB91FEDAF46AA3 b/dot_config/mpv/private_watch_later/880C95A9836AD865D3EB91FEDAF46AA3 new file mode 100644 index 0000000..9fab19b --- /dev/null +++ b/dot_config/mpv/private_watch_later/880C95A9836AD865D3EB91FEDAF46AA3 @@ -0,0 +1 @@ +start=113.058431 diff --git a/dot_config/mpv/private_watch_later/93D05E4790F31E14358E9A9553CF7EC3 b/dot_config/mpv/private_watch_later/93D05E4790F31E14358E9A9553CF7EC3 new file mode 100644 index 0000000..c21f8af --- /dev/null +++ b/dot_config/mpv/private_watch_later/93D05E4790F31E14358E9A9553CF7EC3 @@ -0,0 +1 @@ +start=2.835203 diff --git a/dot_config/mpv/private_watch_later/989E564F8C4E4B5A5462D1F17EC3B0C6 b/dot_config/mpv/private_watch_later/989E564F8C4E4B5A5462D1F17EC3B0C6 new file mode 100644 index 0000000..badd03d --- /dev/null +++ b/dot_config/mpv/private_watch_later/989E564F8C4E4B5A5462D1F17EC3B0C6 @@ -0,0 +1 @@ +start=63.311453 diff --git a/dot_config/mpv/private_watch_later/9A8940D9F6A2DAA710C1F28C06F25DE2 b/dot_config/mpv/private_watch_later/9A8940D9F6A2DAA710C1F28C06F25DE2 new file mode 100644 index 0000000..626f02d --- /dev/null +++ b/dot_config/mpv/private_watch_later/9A8940D9F6A2DAA710C1F28C06F25DE2 @@ -0,0 +1 @@ +start=10.733144 diff --git a/dot_config/mpv/private_watch_later/AAB8EB4AF1D4B0687ABFCABC7463CD8E b/dot_config/mpv/private_watch_later/AAB8EB4AF1D4B0687ABFCABC7463CD8E new file mode 100644 index 0000000..453ba31 --- /dev/null +++ b/dot_config/mpv/private_watch_later/AAB8EB4AF1D4B0687ABFCABC7463CD8E @@ -0,0 +1 @@ +start=750.500000 diff --git a/dot_config/mpv/private_watch_later/ADC1D9FD12EDD6783444770F64425DFB b/dot_config/mpv/private_watch_later/ADC1D9FD12EDD6783444770F64425DFB new file mode 100644 index 0000000..6728297 --- /dev/null +++ b/dot_config/mpv/private_watch_later/ADC1D9FD12EDD6783444770F64425DFB @@ -0,0 +1 @@ +start=0.849371 diff --git a/dot_config/mpv/private_watch_later/B933A6F015BBB85993AD8222DEFDE3E6 b/dot_config/mpv/private_watch_later/B933A6F015BBB85993AD8222DEFDE3E6 new file mode 100644 index 0000000..f1cc443 --- /dev/null +++ b/dot_config/mpv/private_watch_later/B933A6F015BBB85993AD8222DEFDE3E6 @@ -0,0 +1 @@ +start=7.595933 diff --git a/dot_config/mpv/private_watch_later/BAF20BF7197F58DA4D993B769D6BC040 b/dot_config/mpv/private_watch_later/BAF20BF7197F58DA4D993B769D6BC040 new file mode 100644 index 0000000..96e2488 --- /dev/null +++ b/dot_config/mpv/private_watch_later/BAF20BF7197F58DA4D993B769D6BC040 @@ -0,0 +1 @@ +start=15.608833 diff --git a/dot_config/mpv/private_watch_later/C1BEB8A1D291F6D9E316DF2382D62134 b/dot_config/mpv/private_watch_later/C1BEB8A1D291F6D9E316DF2382D62134 new file mode 100644 index 0000000..23de06f --- /dev/null +++ b/dot_config/mpv/private_watch_later/C1BEB8A1D291F6D9E316DF2382D62134 @@ -0,0 +1 @@ +start=81.845248 diff --git a/dot_config/mpv/private_watch_later/C2BA14BFE4FFBC6B4BCDB148CB73F059 b/dot_config/mpv/private_watch_later/C2BA14BFE4FFBC6B4BCDB148CB73F059 new file mode 100644 index 0000000..00a7380 --- /dev/null +++ b/dot_config/mpv/private_watch_later/C2BA14BFE4FFBC6B4BCDB148CB73F059 @@ -0,0 +1 @@ +start=65.838157 diff --git a/dot_config/mpv/private_watch_later/C6C919AF5D43EA8A9B0D0E1D6F64655D b/dot_config/mpv/private_watch_later/C6C919AF5D43EA8A9B0D0E1D6F64655D new file mode 100644 index 0000000..b073374 --- /dev/null +++ b/dot_config/mpv/private_watch_later/C6C919AF5D43EA8A9B0D0E1D6F64655D @@ -0,0 +1,2 @@ +start=108.905711 +pause=yes diff --git a/dot_config/mpv/private_watch_later/CBEAB7E5420B99CAEBBAB72BE5427D13 b/dot_config/mpv/private_watch_later/CBEAB7E5420B99CAEBBAB72BE5427D13 new file mode 100644 index 0000000..cca1b07 --- /dev/null +++ b/dot_config/mpv/private_watch_later/CBEAB7E5420B99CAEBBAB72BE5427D13 @@ -0,0 +1,2 @@ +start=132.966000 +fullscreen=yes diff --git a/dot_config/mpv/private_watch_later/DB1062B7A8F4BEA460CD8F90B5759C6D b/dot_config/mpv/private_watch_later/DB1062B7A8F4BEA460CD8F90B5759C6D new file mode 100644 index 0000000..45343e2 --- /dev/null +++ b/dot_config/mpv/private_watch_later/DB1062B7A8F4BEA460CD8F90B5759C6D @@ -0,0 +1 @@ +start=76.692329 diff --git a/dot_config/mpv/private_watch_later/E35D4A3CCC75A34A2F822E77EC39091D b/dot_config/mpv/private_watch_later/E35D4A3CCC75A34A2F822E77EC39091D new file mode 100644 index 0000000..52083ba --- /dev/null +++ b/dot_config/mpv/private_watch_later/E35D4A3CCC75A34A2F822E77EC39091D @@ -0,0 +1 @@ +start=61.467724 diff --git a/dot_config/mpv/private_watch_later/E8796243DD578DF365C2F07D63FFCEF0 b/dot_config/mpv/private_watch_later/E8796243DD578DF365C2F07D63FFCEF0 new file mode 100644 index 0000000..417f209 --- /dev/null +++ b/dot_config/mpv/private_watch_later/E8796243DD578DF365C2F07D63FFCEF0 @@ -0,0 +1 @@ +start=22.213736 diff --git a/dot_config/mpv/private_watch_later/EF79945E52B961025E89BDB8FCD50F1A b/dot_config/mpv/private_watch_later/EF79945E52B961025E89BDB8FCD50F1A new file mode 100644 index 0000000..2e9f6f7 --- /dev/null +++ b/dot_config/mpv/private_watch_later/EF79945E52B961025E89BDB8FCD50F1A @@ -0,0 +1 @@ +start=0.976121 diff --git a/dot_config/mpv/private_watch_later/F6357D506EF45579F6FE322F6EA9CA80 b/dot_config/mpv/private_watch_later/F6357D506EF45579F6FE322F6EA9CA80 new file mode 100644 index 0000000..7c3f321 --- /dev/null +++ b/dot_config/mpv/private_watch_later/F6357D506EF45579F6FE322F6EA9CA80 @@ -0,0 +1 @@ +start=145.638323 diff --git a/dot_config/mpv/private_watch_later/F6A0472E127CFF5491AE3176D7F528D2 b/dot_config/mpv/private_watch_later/F6A0472E127CFF5491AE3176D7F528D2 new file mode 100644 index 0000000..d302d0e --- /dev/null +++ b/dot_config/mpv/private_watch_later/F6A0472E127CFF5491AE3176D7F528D2 @@ -0,0 +1 @@ +start=62.791832 diff --git a/dot_config/mpv/private_watch_later/F73C7999BD59909E1A9937883A94842C b/dot_config/mpv/private_watch_later/F73C7999BD59909E1A9937883A94842C new file mode 100644 index 0000000..56fa937 --- /dev/null +++ b/dot_config/mpv/private_watch_later/F73C7999BD59909E1A9937883A94842C @@ -0,0 +1 @@ +start=93.790997 diff --git a/dot_config/mpv/private_watch_later/F7E223B988F2E53B693299FF04AF856A b/dot_config/mpv/private_watch_later/F7E223B988F2E53B693299FF04AF856A new file mode 100644 index 0000000..c05a00e --- /dev/null +++ b/dot_config/mpv/private_watch_later/F7E223B988F2E53B693299FF04AF856A @@ -0,0 +1 @@ +start=75.333240 diff --git a/dot_config/zathura/zathurarc b/dot_config/zathura/zathurarc new file mode 100644 index 0000000..9fa50ca --- /dev/null +++ b/dot_config/zathura/zathurarc @@ -0,0 +1,12 @@ +set statusbar-h-padding 0 +set statusbar-v-padding 0 +set page-padding 1 +map u scroll half-up +map d scroll half-down +map D toggle_page_mode +map r reload +map R rotate +map K zoom in +map J zoom out +map i recolor +map p print diff --git a/dot_profile b/dot_profile new file mode 100644 index 0000000..53608b0 --- /dev/null +++ b/dot_profile @@ -0,0 +1,25 @@ +#!/bin/sh + +# Profile file. Runs on login. Environmental variables are set here. + +export PATH="$PATH:$HOME/.local/bin:$HOME/py:$HOME/.local/usr/local/bin:$HOME/.local/usr/bin" +export XBPS_DISTDIR="$HOME/workbench/void-packages" + +# Default programs: +export EDITOR="nvim" +export TERMINAL="xterm" +export BROWSER="firefox" +export READER="zathura" +export FILE="ranger" + +# ~/ Clean-up: +export LESSHISTFILE="-" + +export BAT_THEME="Dracula" + +[ ! -f ~/.config/shortcutrc ] && shortcuts >/dev/null 2>&1 + +echo "$0" | grep "bash$" >/dev/null && [ -f ~/.bashrc ] && source "$HOME/.bashrc" + +# Start graphical server if i3 not already running. +[ "$(tty)" = "/dev/tty1" ] && ! pgrep -x Xorg >/dev/null && exec startx diff --git a/dot_vimrc b/dot_vimrc new file mode 100644 index 0000000..49952df --- /dev/null +++ b/dot_vimrc @@ -0,0 +1,154 @@ +let mapleader ='\' + +if ! filereadable(expand('~/.config/nvim/autoload/plug.vim')) + echo "Downloading junegunn/vim-plug to manage plugins..." + silent !mkdir -p ~/.config/nvim/autoload/ + silent !curl "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim" > ~/.config/nvim/autoload/plug.vim + autocmd VimEnter * PlugInstall +endif + + +set bg=dark +set go=a +set mouse=a +set nohlsearch +set clipboard=unnamedplus + +" Some basics: + nnoremap c "_c + set nocompatible + filetype plugin on + syntax on + set encoding=utf-8 + set number relativenumber + +" Automatically deletes all trailing whitespace on save. + autocmd BufWritePre * %s/\s\+$//e + +" Run xrdb whenever Xdefaults or Xresources are updated. + autocmd BufWritePost *Xresources,*Xdefaults !xrdb % + + + +call plug#begin('~/.vim/plugged') + +Plug 'Shougo/deoplete.nvim' +Plug 'artur-shaik/vim-javacomplete2' , { 'for': 'java'} +Plug 'majutsushi/tagbar', { 'on': 'TagbarToggle' } +Plug 'SirVer/ultisnips' +Plug 'scrooloose/nerdtree', { 'on': ['NERDTreeToggle', 'NERDTreeFind'] } +Plug 'w0rp/ale' +Plug 'ctrlpvim/ctrlp.vim' + +" Theme +Plug 'dracula/vim', { 'as': 'dracula' } +" Bottom line +Plug 'itchyny/lightline.vim' + +call plug#end() +"Ctrlp Settings {{{ + +let g:ctrlp_map = '' + +let g:ctrlp_cmd = 'ctrlp' +let g:ctrlp_dont_split = 'nerd' +let g:ctrlp_working_path_mode = 'rw' +set wildignore+=*/.git/*,*/tmp/*,*.swp/*,*/node_modules/*,*/temp/*,*/Builds/*,*/ProjectSettings/* +" Set no max file limit +let g:ctrlp_max_files = 0 +" Search from current directory instead of project root + + +function! CtrlPCommand() + let c = 0 + let wincount = winnr('$') + " Don't open it here if current buffer is not writable (e.g. NERDTree) + while !empty(getbufvar(+expand(""), "&buftype")) && c < wincount + exec 'wincmd w' + let c = c + 1 + endwhile + exec 'CtrlP' +endfunction +let g:ctrlp_cmd = 'call CtrlPCommand()' + +"RipGrep +if executable('rg') + set grepprg=rg\ --color=never + let g:ctrlp_user_command = 'rg %s --files --color=never --glob ""' + let g:ctrlp_use_caching = 0 +endif +let g:ctrlp_custom_ignore = { + \ 'dir': '', + \ 'file': '\.so$\|\.dat$|\.DS_Store$|\.meta|\.zip|\.rar|\.ipa|\.apk', + \ } +" }}} +"Ale Settings {{{ + +let g:ale_echo_msg_error_str = 'E' +let g:ale_echo_msg_warning_str = 'W' +let g:ale_sign_error = '✘✘' +let g:ale_sign_warning = '⚠⚠' +let g:ale_open_list = 0 +let g:ale_loclist = 0 +"g:ale_javascript_eslint_use_global = 1 +let g:ale_linters = { + \ 'cs':['syntax', 'semantic', 'issues'], + \ 'python': ['pylint'], + \ 'java': ['javac'] + \ } +" }}} +" Deoplete {{{ + +let g:deoplete#enable_at_startup = 1 + +let g:deoplete#custom#auto_complete_start_length = 2 +let g:deoplete#custom#sources = {} +let g:deoplete#custom#sources._=['buffer', 'ultisnips', 'file', 'dictionary'] +let g:deoplete#custom#sources.javascript = ['tern', 'omni', 'file', 'buffer', 'ultisnips'] + +" Use smartcase. +let g:deoplete#custom#enable_smart_case = 1 + + +"set completeopt-=preview + +""use TAB as the mapping +inoremap + \ pumvisible() ? "\" : + \ check_back_space() ? "\" : + \ deoplete#mappings#manual_complete() +function! s:check_back_space() abort "" {{{ + let col = col('.') - 1 + return !col || getline('.')[col - 1] =~ '\s' +endfunction "" }}} +" }}} +" UltiSnips {{{ + +" Trigger configuration. Do not use if you use https://github.com/Valloric/YouCompleteMe. +let g:UltiSnipsExpandTrigger="" +let g:UltiSnipsJumpForwardTrigger="" +let g:UltiSnipsJumpBackwardTrigger="" + +" If you want :UltiSnipsEdit to split your window. +let g:UltiSnipsEditSplit="vertical" + +let g:UltiSnipsSnippetDirectories = ['~/.vim/UltiSnips', 'UltiSnips'] +let g:UltiSnipsSnippetsDir="~/.vim/UltiSnips" + +" }}} +" Java {{{ + +" Easy compile java in vim +autocmd FileType java set makeprg=javac\ % +set errorformat=%A%f:%l:\ %m,%-Z%p^,%-C.%# +" Java completion +autocmd FileType java setlocal omnifunc=javacomplete#Complete +autocmd FileType java JCEnable +" }}} + + colorscheme dracula + +let g:lightline = { + \ 'colorscheme': 'dracula', + \ } + diff --git a/dot_xinitrc b/dot_xinitrc new file mode 100644 index 0000000..6a33400 --- /dev/null +++ b/dot_xinitrc @@ -0,0 +1,19 @@ +#!/bin/sh + +# xinitrc runs automatically when you run startx. + +# There are some small but important commands that need to be run when we start +# the graphical environment. I keep those commands in ~/.xprofile because that +# file is run automatically if someone uses a display manager (login screen) +# and so they are needed there. To prevent doubling up commands, I source them +# here with the line below. + +[ -f ~/.xprofile ] && . ~/.xprofile + + +###PERSONAL EDIT### +exec i3 + +xset s off +xset -dpms +xset s noblank diff --git a/dot_xprofile b/dot_xprofile new file mode 100644 index 0000000..f333e35 --- /dev/null +++ b/dot_xprofile @@ -0,0 +1,11 @@ +#!/bin/sh + +# This file runs when a DM logs you into a graphical session. +# If you use startx/xinit like a Chad, this file will also be sourced. + +xset r rate 300 50 & # Speed xrate up +unclutter & # Remove mouse when idle +dunst & # dunst for notifications + +sct 3500 & +xbacklight -set 25 & diff --git a/etc/i3status.conf b/etc/i3status.conf deleted file mode 100644 index 7d4ff28..0000000 --- a/etc/i3status.conf +++ /dev/null @@ -1,88 +0,0 @@ -# i3status configuration file. -# see "man i3status" for documentation. - -# It is important that this file is edited as UTF-8. -# The following line should contain a sharp s: -# ß -# If the above line is not correctly displayed, fix your editor first! - -general { - colors = true - color_good="#c583b6" - color_bad="#D52C70" - color_degraded="#6c2e8d" - interval = 1 -} - -#order += "ipv6" -order += "wireless _first_" -order += "ethernet _first_" -order += "battery 0" -order += "disk /" -order += "load" -order += "memory" -order += "volume master" -order += "tztime local" - -wireless _first_ { - format_up = "W: (%quality at %essid) %ip" - format_down = "W: down" -} - -ethernet _first_ { - format_up = "E: %ip (%speed)" - format_down = "E: down" -} - -battery all { - format = "%status %percentage %remaining %emptytime" - format_down = "No battery" - status_chr = "⚡ CHR" - status_bat = "🔋 BAT" - status_unk = "❓ UNK" - status_full = "😈 FULL" - path = "/sys/class/power_supply/BAT%d/uevent" - low_threshold = 20 - color_bad="red" -} - -battery 0 { - format = "%status %percentage" - format_down = "No battery" - status_chr = "🔌 CHR" - status_bat = "🔋 BAT" - status_unk = "? UNK" - status_full = "☻ FULL" - path = "/sys/class/power_supply/BAT%d/uevent" - low_threshold = 20 - color_bad="red" - last_full_capacity = true - integer_battery_capacity = true -} - -disk "/" { - format = "%avail / %total" -} - -load { - format = "%1min" -} - -memory { - format = "MEM: %available / %total" - threshold_degraded = "10%" - format_degraded = "MEM: %free" -} - -tztime local { - format = "%a %d %b %Y %H:%M:%S" - timezone = "Europe/Paris" -} - -volume master { - format = "♪: %volume" - format_muted = "♪: muted (%volume)" - device = "default" - mixer = "Master" - mixer_idx = 0 -} -- cgit v1.2.3