Update Dots

This commit is contained in:
Marco Thomas
2021-12-17 15:58:40 +01:00
parent 87ae785701
commit 10a15a75f7
12 changed files with 405 additions and 21 deletions

View File

@@ -1,19 +1,3 @@
# Marco's Dotfiles
## System
+ DE: Gnome
+ Shell: zsh
+ Terminal: alacritty
+ Theme: Orchis Green + Tela Icons
## Programs
+ Editor: emacs
+ Mouse-Settings: piper
+ Screenshots: flameshot
+ pdf: Okular
## Other Dependencies
+ fzf: fuzzy file finder
+ hunspell{-de, en}: spellchecking for emacs
my dots

View File

@@ -0,0 +1,81 @@
[global]
# Window
monitor = 0
follow = mouse
geometry = "320x6-30+60"
indicate_hidden = yes
shrink = no
notification_height = 15
separator_height = 1
transparency = 0
padding = 10
horizontal_padding = 10
frame_width = 0
frame_color = "#ffffff"
separator_color = frame
sort = yes
idle_threshold = 120
# Text
font = JuliaMono 12
line_height = 04
markup = full
format = "<span><b>%s %p</b></span>\n%b"
alignment = left
show_age_threshold = 60
word_wrap = yes
ellipsize = middle
ignore_newline = no
stack_duplicates = true
hide_duplicate_count = false
show_indicators = yes
# Icons
icon_position = left
min_icon_size = 48
max_icon_size = 96
icon_path = /usr/share/icons/Qogir/status/48/:/usr/share/icons/Qogir/devices/48/:/usr/share/icons/Qogir/48x48/apps/
# History
sticky_history = yes
history_length = 20
# Misc
always_run_script = true
startup_notification = true
verbosity = mesg
corner_radius = 2
force_xinerama = false
mouse_left_click = do_action
mouse_middle_click = close_all
mouse_right_click = close_current
[shortcuts]
close = ctrl+space
history = ctrl+shift+space
context = ctrl+shift+period
[urgency_low]
background="#ffffff"
foreground="#050505"
timeout = 7
[urgency_normal]
background="#ffffff"
foreground="#050505"
timeout = 10
[urgency_critical]
background="#ffffff"
foreground="#050505"
timeout = 0

159
files/.config/i3/config Normal file
View File

@@ -0,0 +1,159 @@
set $mod Mod4
font pango:JuliaMono 12
floating_modifier $mod
# applications
bindsym $mod+Return exec --no-startup-id alacritty
bindsym $mod+d exec --no-startup-id rofi -show drun
bindsym XF86AudioMute exec amixer -q set Master toggle
bindsym XF86AudioLowerVolume exec --no-startup-id amixer set Master 3%-
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer set Master 3%+
bindsym XF86MonBrightnessUp exec light -A 10 # increase screen brightness
bindsym XF86MonBrightnessDown exec light -U 10 # decrease screen brightness
# kill focused window
bindsym $mod+Shift+BackSpace kill
# lock
bindsym $mod+Control+BackSpace exec --no-startup-id xlock -mode maze
# change focus
bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l 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+v split h
# split in vertical orientation
bindsym $mod+s split v
# enable stacked
bindsym $mod+a layout stacking
# enter fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle
# toggle tiling / floating
bindsym $mod+Shift+space floating toggle
# workspace layout
workspace_layout stacked
# change focus between tiling / floating windows
bindsym $mod+space focus mode_toggle
# workspaces
set $ws1 "1"
set $ws2 "2"
set $ws3 "3"
set $ws4 "4"
set $ws5 "5"
set $ws6 "6"
set $ws7 "7"
set $ws8 "8"
set $ws9 "9"
set $ws10 "10"
# switch to workspace
bindsym $mod+1 workspace $ws1
bindsym $mod+2 workspace $ws2
bindsym $mod+3 workspace $ws3
bindsym $mod+4 workspace $ws4
bindsym $mod+5 workspace $ws5
bindsym $mod+6 workspace $ws6
bindsym $mod+7 workspace $ws7
bindsym $mod+8 workspace $ws8
bindsym $mod+9 workspace $ws9
bindsym $mod+0 workspace $ws10
# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace $ws1
bindsym $mod+Shift+2 move container to workspace $ws2
bindsym $mod+Shift+3 move container to workspace $ws3
bindsym $mod+Shift+4 move container to workspace $ws4
bindsym $mod+Shift+5 move container to workspace $ws5
bindsym $mod+Shift+6 move container to workspace $ws6
bindsym $mod+Shift+7 move container to workspace $ws7
bindsym $mod+Shift+8 move container to workspace $ws8
bindsym $mod+Shift+9 move container to workspace $ws9
bindsym $mod+Shift+0 move container to workspace $ws10
# reload the configuration file
bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart
# titlebar
title_align center
new_window 1pixel
# colors
set $white "#ffffff"
set $black "#5c6773"
set $dblack "#000000"
set $green "#a6cc70"
set $red "#ff3333"
set $blue "#55b4d4"
set $yellow "#e7c547"
# class border backgr. text indicator child_border
client.focused $green $green $black $green $green
client.focused_inactive $yellow $yellow $black $yellow $yellow
client.unfocused $yellow $yellow $black $yellow $yellow
client.urgent $red $red $white $red $red
# i3 bar
bar {
position top
status_command i3status
tray_output primary
separator_symbol " | "
tray_padding 5
colors {
background $white
statusline $black
focused_workspace $green $green $black
active_workspace $white $white $black
inactive_workspace $white $white $black
urgent_workspace $red $red $black
binding_mode $red $red $black
}
}
# flaoting on start
for_window [class="Nautilus"] floating enable
for_window [class="Pavucontrol"] floating enable
# border
hide_edge_borders smart
for_window [class="^.*"] border pixel 0
# gaps
gaps inner 10
# wallpaper and screen
exec --no-startup-id /home/marc/.local/bin/screen.sh
# startup
exec --no-startup-id nm-applet
exec --no-startup-id keepassxc
exec --no-startup-id seafile-applet
exec --no-startup-id fcitx5
exec --no-startup-id volumeicon
exec --no-startup-id picom

1
files/.config/i3/i3 Symbolic link
View File

@@ -0,0 +1 @@
/home/marc/dots/files/.config/i3

View File

@@ -0,0 +1,44 @@
general {
output_format = "i3bar"
colors = false
markup = pango
interval = 5
color_good = '#2f343f'
color_degraded = '#ebcb8b'
color_bad = '#ba5e57'
}
order += "wireless _first_"
order += "battery all"
order += "volume master"
order += "tztime local"
wireless _first_ {
format_up = "%essid"
format_down = "Disconnected"
}
volume master {
format = "%volume"
format_muted = "Muted"
device = "default"
mixer = "Master"
mixer_idx = 0
}
battery all {
last_full_capacity = true
format = "%status %percentage"
format_down = "No Battery"
status_chr = "Charging"
status_bat = "Battery"
status_unk = "Unknown"
status_full = "Full"
path = "/sys/class/power_supply/BAT%d/uevent"
low_threshold = 10
}
tztime local {
format = "%time"
format_time = "%a %-d %b %H:%M"
}

View File

@@ -0,0 +1,2 @@
rofi.modi: drun
rofi.theme: ~/.config/rofi/light.rasi

View File

@@ -0,0 +1,102 @@
configuration {
show-icons: true;
display-drun: "🔎";
location: 0;
fake-transparency: false;
hide-scrollbar: true;
bw: 0;
terminal: "alacritty";
sidebar-mode: false;
font: "JuliaMono 12";
}
// blur version
* {
bg: #ffffff;
ac: #0087af;
}
* {
background-color: rgba(0, 0, 0, 0);
font: "JuliaMono 10";
}
window {
background-color: @bg;
border: 0;
border-radius: 4px;
padding: 30;
width: 30%;
height: 50%;
transparency: "real";
}
mainbox {
children: [ inputbar, listview];
border-radius: 12;
border-color: #ffffff0A;
}
listview {
columns: 3;
lines: 3;
padding: 8;
spacing: 0;
cycle: false;
dynamic: true;
layout: vertical;
}
element {
border: 1;
orientation: vertical;
padding: 15 15 15 15;
border-radius: 6;
}
element selected {
background-color: @ac;
border-color: #ffffff0A;
text-color: #000000;
transition: 20;
}
element-icon {
size: 60;
horizontal-align: 0.5;
vertical-align: 0.5;
}
element-icon {
size: 40;
horizontal-align: 0.5;
vertical-align: 0.5;
}
element-text {
horizontal-align: 0.5;
vertical-align: 0.5;
text-color: inherit;
}
inputbar {
children: [ prompt, entry ];
padding: 4 8 4 8;
background-color: #ffffff00;
}
prompt {
enabled: true;
padding: 0.5% 1% 0% 1%;
font: "JuliaMono 12";
}
entry {
text-color: @txt;
padding: 8 12 8 12;
font: "JuliaMono 12";
margin: 0% 0% 0% 0%;
}

View File

@@ -20,3 +20,6 @@ export QT_IM_MODULE='ibus'
export SDL_IM_MODULE='ibus'
export XMODIFIERS='@im=ibus'
export WINIT_UNIX_BACKEND=x11
eval $(systemctl --user show-environment | grep SSH_AUTH_SOCK)
export SSH_AUTH_SOCK

View File

@@ -23,7 +23,6 @@ Plug 'tpope/vim-sleuth' " heuristic file indendation
Plug 'jiangmiao/auto-pairs' " pair completion
call plug#end()
" ============================== Colors
syntax on
let ayucolor="light"

View File

@@ -54,6 +54,8 @@ alias rm='rm -i' # Ask before removal
alias cp='cp -i' # Ask before removal
alias mv='mv -i' # Ask before removal
alias nssh='SSH_AUTH_SOCK= ssh'
if [ -f ~/.zshrc_local ]; then
source ~/.zshrc_local
fi

View File

@@ -145,6 +145,12 @@
:config
(evil-collection-init))
(use-package evil-matchit
:straight t
:after evil
:config
(global-evil-matchit-mode 1))
;;;
;;; Appearance
@@ -358,8 +364,8 @@
;; fancy checkboxes
(org-mode . prettify-symbols-mode)
(org-mode . (lambda ()
(push '("[ ]" . "") prettify-symbols-alist)
(push '("[X]" . "" ) prettify-symbols-alist)
;; (push '("[ ]" . "☐") prettify-symbols-alist)
;; (push '("[X]" . "☑" ) prettify-symbols-alist)
(push '("[-]" . "" ) prettify-symbols-alist)))
;(push '("#+begin_src" . "↦" ) prettify-symbols-alist)
;(push '("#+end_src" . "⇤" ) prettify-symbols-alist)))
@@ -373,7 +379,7 @@
org-directory "~/org"
org-agenda-files (quote ("~/org"))
org-ellipsis ""
org-hide-emphasis-markers t ; hide bold and underline markers
;; org-hide-emphasis-markers t ; hide bold and underline markers
org-todo-keywords '((sequence "TODO" "PROGRESS" "REVIEW" "|" "DONE"))
org-todo-keyword-faces '(("TODO" . "#cc241d") ("PROGRESS" . "#a6cc70") ("REVIEW" . "#b16286") ("DONE" . "#abb0b6"))
org-edit-src-content-indentation 0

View File

@@ -8,6 +8,7 @@
#+LATEX_HEADER: \usepackage{amsthm}
#+LATEX_HEADER: \usepackage{amssymb}
#+LATEX_HEADER: \usepackage{amsmath}
#+LATEX_HEADER: \usepackage{amsfonts}
#+LATEX_HEADER: \usepackage[utf8]{inputenc}
#+LATEX_HEADER: \usepackage[T1]{fontenc}
#+LATEX_HEADER: \usepackage[ngerman]{babel}