Compare commits

..

No commits in common. "91103dd6e18d59d793a6d56ae9b13249c6dbbdc2" and "94b7abb75c1580e0fc4f6df2c3e24095b455e242" have entirely different histories.

18 changed files with 53 additions and 240 deletions

12
.bashrc
View File

@ -11,7 +11,6 @@ PS1='[\u@\h \W]\$ '
alias ll='ls -alF'
alias sd="cd \$(find . -type d -not -path '*/.*' 2>/dev/null | sed 's/^..//' | fzf)"
alias asd="cd \$(find . -type d 2>/dev/null | sed 's/^..//' | fzf)"
alias cls="printf '\033[2J\033[3J\033[1;1H'"
export PATH=$PATH:/home/andreas/ext_sw/flutter/bin
export PATH=$PATH:/home/andreas/.local/bin
@ -19,16 +18,15 @@ export PATH=$PATH:/home/andreas/.local/bin
alias get-idf='. $HOME/git/esp-idf/export.sh'
alias clang-idf='export IDF_TOOLCHAIN=clang && . $HOME/git/esp-idf/export.sh'
alias ic='cd ~/.config/i3'
alias c='cd ~/.config'
alias nc='cd ~/.config/nvim'
alias enc='nvim ~/.config/nvim && nvim'
alias ebc='nvim ~/.bashrc'
alias ait='cd ~/Documents/kit/AIT'
alias kit='cd ~/Documents/kit'
alias eic='nvim ~/.config/i3/config'
alias ntp='cd ~/Documents/kit/NTP/tasks'
alias eml='cd ~/Documents/kit/EMLLAB/emllab-challenge && . venv/bin/activate'
alias let='cd ~/git/ba-letter'
alias hyp='cd ~/git/HyperLink_SW'
alias ams='cd ~/Documents/kit/AMS/'
source /usr/share/git/completion/git-completion.bash

View File

@ -1,71 +1,13 @@
# Workspaces
set $ws1 "1: Dev"
set $ws2 "2: Firefox"
set $ws3 "3: Management"
set $ws4 "4"
set $ws5 "5"
set $ws6 "6"
set $ws7 "7: Music"
set $ws8 "8"
set $ws9 "9"
set $ws10 "10"
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
# assign [class="firefox"] $ws2
assign [class="Spotify"] $ws7
exec --no-startup-id i3-msg 'workspace $ws2; exec firefox'
exec --no-startup-id i3-msg 'workspace $ws1; exec kitty; $ws1'
# Multiple monitors
workspace $ws1 output DP-1-3 eDP-1
workspace $ws2 output DP-1-3 eDP-1
workspace $ws3 output DP-1-3 eDP-1
workspace $ws4 output DP-1-3 eDP-1
workspace $ws5 output eDP-1
workspace $ws6 output eDP-1
workspace $ws7 output eDP-1
workspace $ws8 output eDP-1
exec_always --no-startup-id xrandr --output eDP-1 --primary --mode 1920x1080 --pos 1920x903 --rotate normal --output DP-1-3 --mode 1920x1200 --pos 0x0 --rotate normal
bindsym $mod+m exec --no-startup-id xrandr --output eDP-1 --primary --mode 1920x1080 --pos 1920x903 --rotate normal --output DP-1-3 --mode 1920x1200 --pos 0x0 --rotate normal
# bindsym $mod+m exec --no-startup-id xrandr --output HDMI2 --auto --right-of eDP1
# Normal stuff
exec_always --no-startup-id feh --bg-scale ~/.config/i3/wallpaper.jpg
exec_always --no-startup-id "picom --config ~/.config/picom/picom.conf"
exec_always --no-startup-id ~/.config/polybar/launch.sh &
exec_always --no-startup-id feh --bg-scale ~/.config/i3/wallpapers/mountains.jpg
for_window [class="^.*"] border pixel 3
default_floating_border none
default_floating_border normal 0
hide_edge_borders smart
gaps inner 20
gaps inner 8
smart_gaps on

View File

@ -0,0 +1,38 @@
set $ws1 "1: Terminal"
set $ws2 "2: Firefox"
set $ws3 "3: Music"
set $ws4 "4"
set $ws5 "5"
set $ws6 "6"
set $ws7 "7"
set $ws8 "8"
set $ws9 "9"
set $ws10 "10"
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
assign [class="firefox"] $ws2
assign [class="Spotify"] $ws3
exec --no-startup-id firefox
exec --no-startup-id i3-msg 'workspace $ws1; exec kitty; $ws1'

View File

Before

Width:  |  Height:  |  Size: 514 KiB

After

Width:  |  Height:  |  Size: 514 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 779 KiB

View File

@ -3,4 +3,4 @@
include current-theme.conf
# END_KITTY_THEME
#
background_opacity 0.87
background_opacity 0.95

View File

@ -3,7 +3,7 @@ return {
'kkoomen/vim-doge',
build = ':call doge#install()',
init = function()
vim.g.doge_doc_standard_cpp = 'doxygen_cpp_comment_slash'
vim.g.doge_doc_standard_cpp = 'doxygen_qt'
vim.g.doge_mapping_comment_jump_forward = '<c-j>'
vim.g.doge_mapping_comment_jump_backward = '<c-k>'
end

View File

@ -1,10 +1,7 @@
return {
{
"lervag/vimtex",
ft = {
"tex",
"bib"
},
ft = {"tex", "bib"},
config = function()
-- General configuration
@ -27,27 +24,7 @@ return {
-- Concealment
vim.cmd([[set conceallevel=1]])
vim.cmd([[
let g:vimtex_syntax_conceal = {
\ 'accents': 1,
\ 'ligatures': 1,
\ 'cites': 1,
\ 'fancy': 1,
\ 'spacing': 0,
\ 'greek': 1,
\ 'math_bounds': 1,
\ 'math_delimiters': 1,
\ 'math_fracs': 1,
\ 'math_super_sub': 0,
\ 'math_symbols': 1,
\ 'sections': 0,
\ 'styles': 0,
\}
let g:vimtex_syntax_custom_cmds = [
\ {'name': 'bm', 'mathmode': 1, 'argstyle': 'bold', 'conceal': 1},
\]
]])
vim.g.tex_conceal = 'abdmg'
-- Synctex configuration

View File

@ -28,11 +28,8 @@ return {
highlight = {
enable = true,
-- additional_vim_regex_highlighting = false,
-- disable = {
-- "latex"
-- },
additional_vim_regex_highlighting = {
additional_vim_regex_highlighting = false,
disable = {
"latex"
}
}

View File

@ -1,8 +1,6 @@
vim.keymap.set("v", "J", ":m '>+1<CR>gv=gv")
vim.keymap.set("v", "K", ":m '<-2<CR>gv=gv")
vim.keymap.set("n", "<C-x>", "<C-w>c")
vim.keymap.set("n", "<C-d>", "<C-d>zz")
vim.keymap.set("n", "<C-u>", "<C-u>zz")
vim.keymap.set("n", "n", "nzzzv")

View File

@ -1,83 +0,0 @@
----------------
-- Abbreviations
----------------
local ls = require("luasnip")
local s = ls.snippet
local sn = ls.snippet_node
local t = ls.text_node
local i = ls.insert_node
local f = ls.function_node
local d = ls.dynamic_node
local fmt = require("luasnip.extras.fmt").fmt
local fmta = require("luasnip.extras.fmt").fmta
local rep = require("luasnip.extras").rep
local line_begin = require("luasnip.extras.expand_conditions").line_begin
-----------
-- Snippets
-----------
return {
s({trig="()", wordTrig=false, snippetType="autosnippet"},
{
t("("),
i(1),
t(")"),
i(0),
}
),
s({trig="[]", wordTrig=false, snippetType="autosnippet"},
{
t("["),
i(1),
t("]"),
i(0),
}
),
s({trig="{}", wordTrig=false, snippetType="autosnippet"},
{
t("{"),
i(1),
t("}"),
i(0),
}
),
s({trig="<>", wordTrig=false, snippetType="autosnippet"},
{
t("<"),
i(1),
t(">"),
i(0),
}
),
s({trig="\"\"", wordTrig=false, snippetType="autosnippet"},
{
t("\""),
i(1),
t("\""),
i(0),
}
),
s({trig="''", wordTrig=false, snippetType="autosnippet"},
{
t("'"),
i(1),
t("'"),
i(0),
}
),
} -- return

View File

@ -186,60 +186,6 @@ s({trig="csssec"},
)
),
-- s({trig="()", wordTrig=false, snippetType="autosnippet"},
-- {
-- t("("),
-- i(1),
-- t(")"),
-- i(0),
-- }
-- ),
--
-- s({trig="[]", wordTrig=false, snippetType="autosnippet"},
-- {
-- t("["),
-- i(1),
-- t("]"),
-- i(0),
-- }
-- ),
--
-- s({trig="{}", wordTrig=false, snippetType="autosnippet"},
-- {
-- t("{"),
-- i(1),
-- t("}"),
-- i(0),
-- }
-- ),
--
-- s({trig="<>", wordTrig=false, snippetType="autosnippet"},
-- {
-- t("<"),
-- i(1),
-- t(">"),
-- i(0),
-- }
-- ),
--
-- s({trig="\"\"", wordTrig=false, snippetType="autosnippet"},
-- {
-- t("\""),
-- i(1),
-- t("\""),
-- i(0),
-- }
-- ),
--
-- s({trig="''", wordTrig=false, snippetType="autosnippet"},
-- {
-- t("'"),
-- i(1),
-- t("'"),
-- i(0),
-- }
-- ),
} -- return

View File

@ -156,7 +156,7 @@ label-connected = %{F#F0C674}%ifname%%{F-} %local_ip%
type = internal/date
interval = 1
date = %a, %d %B %Y | %H:%M
date = %a, %d %B %Y | %I:%M %p
;date = %H:%M
;date-alt = %d-%m-%Y %r
;%H:%M:%S