conf from OpenBSD system

This commit is contained in:
Alex 2021-11-12 06:34:49 +03:00
parent 74fd46457a
commit 528319e22b
4 changed files with 199 additions and 0 deletions

View File

@ -0,0 +1,12 @@
statusbar.visible=1
save.recent=1
font.monospace=font:Cascadia Code,size:12
font.base=font:Cascadia Code,size:12
font.override=$(font.monospace)
line.margin.visible=1
use.tabs=0
indent.size=2
tabsize=4
view.whitespace=1

108
i3wm/config Normal file
View File

@ -0,0 +1,108 @@
set $mod Mod4
exec --no-startup-id $HOME/.fehbg
gaps inner 10
font pango:Cascadia Code 10
set $up l
set $down k
set $left j
set $right semicolon
floating_modifier $mod
bindsym $mod+Return exec /usr/local/bin/st -f "Cascadia Code:size=11"
bindsym $mod+Shift+q kill
bindsym $mod+d exec --no-startup-id /usr/local/bin/dmenu_run
bindsym $mod+$left focus left
bindsym $mod+$down focus down
bindsym $mod+$up focus up
bindsym $mod+$right focus right
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
bindsym $mod+Shift+$left move left
bindsym $mod+Shift+$down move down
bindsym $mod+Shift+$up move up
bindsym $mod+Shift+$right move right
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
bindsym $mod+h split h
bindsym $mod+v split v
bindsym $mod+f fullscreen toggle
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split
bindsym $mod+Shift+space floating toggle
bindsym $mod+space focus mode_toggle
bindsym $mod+a focus parent
bindsym $mod+Shift+minus move scratchpad
bindsym $mod+minus scratchpad show
set $ws1 "1. daily"
set $ws2 "2. gemini"
set $ws3 "3. coding"
set $ws4 "4. terminal"
set $ws5 "5"
set $ws6 "6"
set $ws7 "7"
set $ws8 "8"
set $ws9 "9. fun"
set $ws10 "0. mail"
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
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
bindsym $mod+Shift+c reload
bindsym $mod+Shift+r restart
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'"
mode "resize" {
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
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
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym $mod+r mode "default"
}
bindsym $mod+r mode "resize"
bar {
status_command i3status
}
default_border pixel 6
default_floating_border pixel 6

71
i3wm/i3status.conf Normal file
View File

@ -0,0 +1,71 @@
# 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 {
output_format = "i3bar"
colors = true
interval = 5
}
#order += "ipv6"
#order += "wireless _first_"
#order += "ethernet _first_"
#order += "battery all"
#order += "disk /"
#order += "load"
#order += "memory"
order += "tztime local"
#order += "cpu_temperature cpu0"
#order += "cpu_temperature acpitz0"
order += "volume master"
cpu_temperature cpu0 {
format = "CPU: %degrees C"
path = "cpu0"
}
cpu_temperature acpitz0 {
format = "TZ: %degrees C"
}
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"
}
disk "/" {
format = "%avail"
}
volume master {
format = "vol: %volume"
}
load {
format = "%1min"
}
memory {
format = "%used | %available"
threshold_degraded = "1G"
format_degraded = "MEMORY < %available"
}
tztime local {
format = "%Y-%m-%d %H:%M"
}

8
neovim/init.vim Normal file
View File

@ -0,0 +1,8 @@
set number
" Plugins
call plug#begin()
Plug 'wakatime/vim-wakatime'
Plug 'editorconfig/editorconfig-vim'
call plug#end()