aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/X11/base2
-rw-r--r--.config/coc/commands1
-rw-r--r--.config/i3/autostart5
-rw-r--r--.config/mpd/mpd.conf11
-rw-r--r--.config/ncmpcpp/config4
-rw-r--r--.config/nvim/init.vim21
-rw-r--r--.config/picom.conf2
-rw-r--r--.config/polybar/config25
-rw-r--r--.config/startpage/index.html34
-rw-r--r--.config/startpage/style.css66
-rw-r--r--.config/xbindkeys/main4
11 files changed, 47 insertions, 128 deletions
diff --git a/.config/X11/base b/.config/X11/base
index d58f6d6..3e41052 100644
--- a/.config/X11/base
+++ b/.config/X11/base
@@ -1,4 +1,4 @@
-*.font: JetBrainsMono Nerd Font:style=Medium,Regular:size=9
+*.font: JetBrainsMono Nerd Font:size=9:antialias=true:autohint=true
*.termname: st-256color
*.shell: /bin/sh
diff --git a/.config/coc/commands b/.config/coc/commands
index 5bdb21b..fe9e2b8 100644
--- a/.config/coc/commands
+++ b/.config/coc/commands
@@ -1,3 +1,4 @@
+python.setInterpreter
tsserver.restart
clangd.install
snippets.editSnippets
diff --git a/.config/i3/autostart b/.config/i3/autostart
index d14bb9f..d3f0c2e 100644
--- a/.config/i3/autostart
+++ b/.config/i3/autostart
@@ -10,8 +10,9 @@ dunst &
flashfocus &
xset r rate 250 40
autocutsel &
-ibus-daemon -drxR &
-jellyfin-mpv-shim &
+redshift -l 52:6 &
+fcitx5 -d
+nicotine &
# bw unlock <password> --raw | keyctl padd user bw_session @u
sh ~/.config/i3/unlock_bitwarden &
diff --git a/.config/mpd/mpd.conf b/.config/mpd/mpd.conf
index 0ff6875..42f8e22 100644
--- a/.config/mpd/mpd.conf
+++ b/.config/mpd/mpd.conf
@@ -1,13 +1,14 @@
-music_directory "/mnt/e/mpd/music"
+music_directory "/mnt/e/mpd/music"
playlist_directory "/mnt/e/mpd/playlists"
-pid_file "/mnt/e/mpd/mpd.pid"
-db_file "/mnt/e/mpd/mpd.db"
-state_file "/mnt/e/mpd/mpdstate"
+pid_file "/mnt/e/mpd/mpd.pid"
+state_file "/mnt/e/mpd/mpdstate"
+db_file "/mnt/e/mpd/mpd.db"
auto_update "yes"
bind_to_address "*"
port "6600"
+#bind_to_address "/mnt/e/mpd/socket"
restore_paused "yes"
user "loek"
@@ -21,7 +22,7 @@ default_permissions "read,add,control,admin"
audio_output {
type "pulse"
- name "pulse audio"
+ name "desktop output"
}
audio_output {
diff --git a/.config/ncmpcpp/config b/.config/ncmpcpp/config
index 4257107..e5d5db6 100644
--- a/.config/ncmpcpp/config
+++ b/.config/ncmpcpp/config
@@ -1,5 +1,6 @@
mpd_host = "127.0.0.1"
mpd_port = "6600"
+#mpd_host = "/mnt/e/mpd/socket"
mpd_music_dir = "/mnt/e/mpd/music"
mpd_connection_timeout = "5"
mpd_crossfade_time = "1"
@@ -11,7 +12,7 @@ progressbar_color = "black"
playlist_display_mode = "classic"
autocenter_mode = "yes"
centered_cursor = "yes"
-user_interface = "classic"
+user_interface = "alternative"
header_visibility = "no"
statusbar_visibility = "no"
@@ -26,4 +27,3 @@ window_border_color = blue
now_playing_prefix = "$b$6"
now_playing_suffix = "$/b$9"
-
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index 5f5e090..6f7c503 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -27,6 +27,7 @@ let g:sneak#label = 1
let g:which_key_map = {}
let g:airline_powerline_fonts = 1
let g:minimap_highlight='Visual'
+let g:python3_host_prog='/usr/bin/python3'
hi! link CocFloating SneakScope
autocmd BufNewFile,BufRead *.jdscn set syntax=json
@@ -49,7 +50,7 @@ Plug 'AndrewRadev/tagalong.vim'
Plug 'terrortylor/nvim-comment'
Plug 'liuchengxu/vim-which-key'
Plug 'justinmk/vim-sneak'
-Plug 'jbgutierrez/vim-better-comments'
+" Plug 'jbgutierrez/vim-better-comments'
Plug 'junegunn/goyo.vim'
Plug 'othree/eregex.vim'
Plug 'psliwka/vim-smoothie'
@@ -60,6 +61,7 @@ Plug 'dstein64/vim-startuptime'
Plug 'vim-scripts/DoxygenToolkit.vim'
Plug 'rrethy/vim-hexokinase', { 'do': 'make hexokinase' }
Plug 'dkarter/bullets.vim'
+Plug 'editorconfig/editorconfig-vim'
" language plugins
Plug 'lervag/vimtex'
@@ -73,6 +75,7 @@ Plug 'natebosch/dartlang-snippets'
Plug 'HerringtonDarkholme/yats.vim'
Plug 'cespare/vim-toml'
Plug 'tikhomirov/vim-glsl'
+" Plug 'gabrielelana/vim-markdown'
" 'vim=ide'
Plug 'neoclide/coc.nvim', {'branch': 'release'}
@@ -410,3 +413,19 @@ function! SynStack()
echo map(synstack(line('.'), col('.')), 'synIDattr(v:val, "name")')
endfunc
+" markdown
+let g:markdown_enable_spell_checking = 0
+au FileType markdown set expandtab
+
+" binary files
+augroup Binary
+ au!
+ au BufReadPre *.bin let &bin=1
+ au BufReadPost *.bin if &bin | %!xxd
+ au BufReadPost *.bin set ft=xxd | endif
+ au BufWritePre *.bin if &bin | %!xxd -r
+ au BufWritePre *.bin endif
+ au BufWritePost *.bin if &bin | %!xxd
+ au BufWritePost *.bin set nomod | endif
+ au BufWritePost *.bin set noeol
+augroup END
diff --git a/.config/picom.conf b/.config/picom.conf
index 81c3429..8d47a37 100644
--- a/.config/picom.conf
+++ b/.config/picom.conf
@@ -3,7 +3,7 @@ shadow-radius = 48;
shadow-opacity = 0.3;
shadow-offset-y = -48;
shadow-offset-x = -48;
-corner-radius = 7;
+corner-radius = 8;
shadow-exclude = [
"!I3_FLOATING_WINDOW@:c && class_g != 'st' && _NET_WM_WINDOW_TYPE@:32a *= '_NET_WM_WINDOW_TYPE_NORMAL'",
diff --git a/.config/polybar/config b/.config/polybar/config
index 6baa9e6..ec53318 100644
--- a/.config/polybar/config
+++ b/.config/polybar/config
@@ -22,7 +22,7 @@ bottom = false
fixed-center = true
width = 100%
-height = 24
+height = 20
offset-x = 0
offset-y = 0
@@ -37,11 +37,10 @@ padding = 3
module-margin-left = 1
module-margin-right = 1
-font-0 = "JetBrains Mono Nerd Font:pixelsize=9:weight=regular:size=0;2"
-font-1 = "JetBrains Mono Nerd Font:pixelsize=9:weight=bold:size=0;2"
-font-2 = "Material Design Icons:size=12;2"
-font-3 = "Noto Sans JP:pixelsize=9:weight=bold:size=0;2"
-font-4 = "Noto Sans KR:pixelsize=9:weight=bold:size=0;2"
+font-0 = "JetBrains Mono Nerd Font:pixelsize=8:weight=regular:size=0;2"
+font-1 = "JetBrains Mono Nerd Font:pixelsize=8:weight=bold:size=0;2"
+font-2 = "Noto Sans JP:pixelsize=8:weight=bold:size=0;2"
+font-3 = "Noto Sans KR:pixelsize=8:weight=bold:size=0;2"
modules-left = time date
modules-center = weather mpd
@@ -108,15 +107,9 @@ alpha = #00000000
[module/volume]
type = internal/pulseaudio
-format-volume = <ramp-volume> <label-volume>
+format-volume = <label-volume>
label-volume = %percentage%%
-format-muted-prefix = "󰖁 "
-label-muted = "Muted"
-ramp-volume-0 = 󰕿
-ramp-volume-1 = 󰖀
-ramp-volume-2 = 󰕾
-ramp-headphones-0 = 󰋋
-ramp-headphones-1 = 󰟎
+label-muted = "muted"
[module/date]
type = internal/date
@@ -137,8 +130,8 @@ type = internal/mpd
format-online = <toggle> <label-song>
format-offline = [mpd offline]
format-stopped =
-icon-play = 󰏤
-icon-pause = 󰐊
+icon-play = 
+icon-pause = 
label-song = %{T2}%artist%%{T-}: %title%
label-song-maxlen = 50
label-song-ellipsis = true
diff --git a/.config/startpage/index.html b/.config/startpage/index.html
index dee74c5..6a46387 100644
--- a/.config/startpage/index.html
+++ b/.config/startpage/index.html
@@ -10,38 +10,6 @@
<script src="script.js" defer></script>
</head>
<body>
- <div class="center">
- <h1 class="time">
- </h1>
-
- <div class="term">
- <div class="columns">
- <div class="column">
- <h3 style="color: var(--color6)">nerd shit</h3>
- <a href="https://github.com/lonkaars">github</a>
- <a href="https://monkeytype.com/">monkey-type</a>
- <a href="https://xn--thepratebay-fcb.se/">tpb</a>
- </div>
- <div class="column">
- <h3 style="color: var(--color4)">ports</h3>
- <a href="https://localhost:443">bitwarden</a>
- <a href="http://localhost:8384">syncthing</a>
- <a href="http://localhost:9091">transmission</a>
- </div>
- <div class="column">
- <h3 style="color: var(--color5)">social</h3>
- <a href="https://www.reddit.com/new">reddit</a>
- <a href="https://www.twitter.com/">twitter</a>
- <a href="https://www.twitch.com/directory/following">twitch</a>
- </div>
- <div class="column">
- <h3 style="color: var(--color1)">school</h3>
- <a href="https://brightspace.avans.nl/d2l/home">brightspace</a>
- <a href="https://pim.etesync.com/">etesync</a>
- <a href="https://avans.mobius.cloud/">möbius</a>
- </div>
- </div>
- </div>
- </div>
+ <div class="center"><h1 class="time"></h1></div>
</body>
</html>
diff --git a/.config/startpage/style.css b/.config/startpage/style.css
index 0181622..4c94d1b 100644
--- a/.config/startpage/style.css
+++ b/.config/startpage/style.css
@@ -42,69 +42,3 @@ h1 {
white-space: nowrap;
}
-.term {
- width: 500px;
- padding: 16px;
- position: relative;
-}
-
-.term::before {
- content: '';
- width: 100%;
- height: 100%;
- position: absolute;
- top: 0;
- left: 0;
- background-color: #0d1216;
- z-index: -2;
- border-radius: 8px;
-}
-
-h3 {
- font-size: 14px;
- font-weight: 800;
- margin: 0 0 8px 0;
-}
-
-.columns {
- display: grid;
- grid-template-columns: repeat(4, 1fr);
-}
-
-.columns .column {
- display: inline-block;
-}
-
-.columns .column * {
- display: block;
-}
-
-a {
- font-size: 14px;
- font-weight: normal;
- text-decoration: none;
- color: var(--color15);
- position: relative;
- padding: 0;
- transition: padding .3s;
-}
-
-a:hover {
- padding-left: 15px;
-}
-
-a::before {
- content: '>';
- position: absolute;
- left: -20px;
- opacity: 0;
- transform: scaleX(0);
- transition-property: left, transform, opacity;
- transition-duration: .3s;
-}
-
-a:hover::before {
- left: 0px;
- transform: scaleX(1);
- opacity: 1;
-}
diff --git a/.config/xbindkeys/main b/.config/xbindkeys/main
index 6199b61..8615455 100644
--- a/.config/xbindkeys/main
+++ b/.config/xbindkeys/main
@@ -1,4 +1,4 @@
-"i3lock -c 121213"
+"light-locker-command -l"
Mod4 + Escape
"polybar-msg cmd toggle"
Mod4 + b
@@ -8,6 +8,8 @@
Alt + Tab
"st"
Mod4 + Return
+"st -T '[floating]'"
+ Mod4 + Mod1 + Return
"bwmenu"
Mod4 + p
"maim -usb 4 -c 255,255,255 | xclip -selection clipboard -t image/png"