Update dots
This commit is contained in:
committed by
Marco Thomas
parent
acd10383de
commit
90d6443b27
@@ -8,7 +8,7 @@
|
|||||||
+ Launcher: rofi
|
+ Launcher: rofi
|
||||||
+ Bar: polybar
|
+ Bar: polybar
|
||||||
+ Notifications: dunst
|
+ Notifications: dunst
|
||||||
+ Compositor: [picom](https://github.com/sdhand/picom)
|
+ Compositor: [picom](https://github.com/tryone144/compton/tree/feature/dual_kawase)
|
||||||
+ Set Wallpaper: feh
|
+ Set Wallpaper: feh
|
||||||
+ Info: [fet.sh](https://github.com/6gk/fet.sh)
|
+ Info: [fet.sh](https://github.com/6gk/fet.sh)
|
||||||
+ Screenshots: Flameshot
|
+ Screenshots: Flameshot
|
||||||
@@ -16,5 +16,6 @@
|
|||||||
## Fonts
|
## Fonts
|
||||||
+ Fira Code Regular Nerd Font Complete Mono.ttf: General
|
+ Fira Code Regular Nerd Font Complete Mono.ttf: General
|
||||||
+ IPAGothic.ttf: Japanese Characters
|
+ IPAGothic.ttf: Japanese Characters
|
||||||
|
+ [Siji](https://github.com/stark/siji): Icon Font for Polybar
|
||||||
|
|
||||||

|

|
||||||
|
|||||||
@@ -279,7 +279,7 @@ visual_bell:
|
|||||||
#
|
#
|
||||||
# Window opacity as a floating point number from `0.0` to `1.0`.
|
# Window opacity as a floating point number from `0.0` to `1.0`.
|
||||||
# The value `0.0` is completely transparent and `1.0` is opaque.
|
# The value `0.0` is completely transparent and `1.0` is opaque.
|
||||||
background_opacity: 0.95
|
background_opacity: 0.82
|
||||||
|
|
||||||
selection:
|
selection:
|
||||||
#semantic_escape_chars: ",│`|:\"' ()[]{}<>\t"
|
#semantic_escape_chars: ",│`|:\"' ()[]{}<>\t"
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
# the top and down respectively.
|
# the top and down respectively.
|
||||||
# The width can be negative. In this case the actual width is the
|
# The width can be negative. In this case the actual width is the
|
||||||
# screen width minus the width defined in within the geometry option.
|
# screen width minus the width defined in within the geometry option.
|
||||||
geometry = "400x10-10+40"
|
geometry = "400x10-8+43"
|
||||||
|
|
||||||
# Show how many messages are currently hidden (because of geometry).
|
# Show how many messages are currently hidden (because of geometry).
|
||||||
indicate_hidden = yes
|
indicate_hidden = yes
|
||||||
@@ -86,7 +86,7 @@
|
|||||||
|
|
||||||
### Text ###
|
### Text ###
|
||||||
|
|
||||||
font = Fira Code Nerd Font 12
|
font = FiraCode Nerd Font Mono 10
|
||||||
|
|
||||||
# The spacing between lines. If the height is smaller than the
|
# The spacing between lines. If the height is smaller than the
|
||||||
# font height, it will get raised to the font height.
|
# font height, it will get raised to the font height.
|
||||||
@@ -97,7 +97,7 @@
|
|||||||
# <b>bold</b>
|
# <b>bold</b>
|
||||||
# <i>italic</i>
|
# <i>italic</i>
|
||||||
# <s>strikethrough</s>
|
# <s>strikethrough</s>
|
||||||
# <u>underline</u>
|
# <u>underline</u3
|
||||||
#
|
#
|
||||||
# For a complete reference see
|
# For a complete reference see
|
||||||
# <http://developer.gnome.org/pango/stable/PangoMarkupFormat.html>.
|
# <http://developer.gnome.org/pango/stable/PangoMarkupFormat.html>.
|
||||||
@@ -130,7 +130,7 @@
|
|||||||
|
|
||||||
# Alignment of message text.
|
# Alignment of message text.
|
||||||
# Possible values are "left", "center" and "right".
|
# Possible values are "left", "center" and "right".
|
||||||
alignment = center
|
alignment = left
|
||||||
vertical_alignment = center
|
vertical_alignment = center
|
||||||
|
|
||||||
# Show age of message if message is older than show_age_threshold
|
# Show age of message if message is older than show_age_threshold
|
||||||
@@ -254,22 +254,22 @@
|
|||||||
[urgency_low]
|
[urgency_low]
|
||||||
# IMPORTANT: colors have to be defined in quotation marks.
|
# IMPORTANT: colors have to be defined in quotation marks.
|
||||||
# Otherwise the "#" and following would be interpreted as a comment.
|
# Otherwise the "#" and following would be interpreted as a comment.
|
||||||
background = "#1d1f28"
|
background = "#2E3440"
|
||||||
foreground = "#fdfdfd"
|
foreground = "#e5e9f0"
|
||||||
timeout = 10
|
timeout = 10
|
||||||
# Icon for notifications with low urgency, uncomment to enable
|
# Icon for notifications with low urgency, uncomment to enable
|
||||||
#icon = /path/to/icon
|
#icon = /path/to/icon
|
||||||
|
|
||||||
[urgency_normal]
|
[urgency_normal]
|
||||||
background = "#1d1f28"
|
background = "#2E3440"
|
||||||
foreground = "#fdfdfd"
|
foreground = "#e5e9f0"
|
||||||
timeout = 10
|
timeout = 10
|
||||||
# Icon for notifications with normal urgency, uncomment to enable
|
# Icon for notifications with normal urgency, uncomment to enable
|
||||||
#icon = /path/to/icon
|
#icon = /path/to/icon
|
||||||
|
|
||||||
[urgency_critical]
|
[urgency_critical]
|
||||||
background = "#f37f97"
|
background = "#f37f97"
|
||||||
foreground = "#1d1f28"
|
foreground = "#e5e9f0"
|
||||||
timeout = 0
|
timeout = 0
|
||||||
# Icon for notifications with critical urgency, uncomment to enable
|
# Icon for notifications with critical urgency, uncomment to enable
|
||||||
#icon = /path/to/icon
|
#icon = /path/to/icon
|
||||||
@@ -315,7 +315,7 @@
|
|||||||
#
|
#
|
||||||
# NOTE: if you don't want a notification to be displayed, set the format
|
# NOTE: if you don't want a notification to be displayed, set the format
|
||||||
# to "".
|
# to "".
|
||||||
# NOTE: It might be helpful to run dunst -print in a terminal in order
|
# NOTE: It might be help#e5e9f0ful to run dunst -print in a terminal in order
|
||||||
# to find fitting options for rules.
|
# to find fitting options for rules.
|
||||||
|
|
||||||
#########################################################
|
#########################################################
|
||||||
|
|||||||
@@ -1,17 +1,5 @@
|
|||||||
set $mod Mod4
|
set $mod Mod4
|
||||||
|
|
||||||
# Colors from https://www.nordtheme.com/
|
|
||||||
set $nord0 '#2e3440'
|
|
||||||
|
|
||||||
set $blue1 '#88c0d0'
|
|
||||||
set $blue3 '#5E81AC'
|
|
||||||
|
|
||||||
set $frost0 '#d8dee9'
|
|
||||||
set $frost2 '#eceff4'
|
|
||||||
|
|
||||||
set $green '#A3BE8C'
|
|
||||||
set $red '#bf616a'
|
|
||||||
|
|
||||||
# Font for Window Titles
|
# Font for Window Titles
|
||||||
font pango:FiraCode Nerd Font Mono 8
|
font pango:FiraCode Nerd Font Mono 8
|
||||||
|
|
||||||
@@ -33,7 +21,7 @@ bindsym $mod+Ctrl+Return exec --no-startup-id xterm
|
|||||||
bindsym $mod+Shift+BackSpace exec "~/scripts/lock-laptop.sh"
|
bindsym $mod+Shift+BackSpace exec "~/scripts/lock-laptop.sh"
|
||||||
|
|
||||||
# Exit Session
|
# Exit Session
|
||||||
bindsym $mod+Shift+e exec "i3-msg exit"
|
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'Logout?' -B 'Yes!' 'i3-msg exit'"
|
||||||
|
|
||||||
# Windows
|
# Windows
|
||||||
bindsym $mod+h focus left
|
bindsym $mod+h focus left
|
||||||
@@ -69,7 +57,11 @@ bindsym $mod+p workspace prev
|
|||||||
|
|
||||||
# Rofi and dmenu
|
# Rofi and dmenu
|
||||||
bindsym $mod+space exec "~/.config/rofi/launchers-git/launcher.sh"
|
bindsym $mod+space exec "~/.config/rofi/launchers-git/launcher.sh"
|
||||||
bindsym $mod+d exec "dmenu_run -fn 'FiraCode Nerd Font Mono' -nb $nord0 -sb $green -nf $frost2 -sf $frost2
|
|
||||||
|
set $nord0d '#2e3440'
|
||||||
|
set $frost2d '#eceff4'
|
||||||
|
set $greend '#A3BE8C'
|
||||||
|
bindsym $mod+d exec "dmenu_run -fn 'FiraCode Nerd Font Mono' -nb #2e3440 -sb #a3be8c -nf #eceff4 -sf #2e3440"
|
||||||
|
|
||||||
#bindsym --release $mod+Shift+p exec"import ~/screenshots/Screenshot-$(date '+%Y%m%d-%H%M%S').png"
|
#bindsym --release $mod+Shift+p exec"import ~/screenshots/Screenshot-$(date '+%Y%m%d-%H%M%S').png"
|
||||||
bindsym $mod+Shift+p exec "flameshot gui"
|
bindsym $mod+Shift+p exec "flameshot gui"
|
||||||
@@ -133,17 +125,25 @@ bindsym $mod+Shift+r restart
|
|||||||
new_window 1pixel
|
new_window 1pixel
|
||||||
for_window [class="^.*"] border pixel 0
|
for_window [class="^.*"] border pixel 0
|
||||||
|
|
||||||
# class border backgr. text indicator child_border
|
# Colors from https://www.nordtheme.com/
|
||||||
client.focused $blue3 $blue3 $frost2 $blue3 $blue3
|
set $nord0 "#2e3440"
|
||||||
|
|
||||||
|
set $blue1 "#88c0d0"
|
||||||
|
set $blue3 "#5E81AC"
|
||||||
|
|
||||||
|
set $frost0 "#d8dee9"
|
||||||
|
set $frost2 "#eceff4"
|
||||||
|
|
||||||
|
set $green "#A3BE8C"
|
||||||
|
|
||||||
|
set $red "#bf616a"
|
||||||
|
# class border backgr.text indic. child_border
|
||||||
|
client.focused $nord0 $nord0 $frost2 $nord0 $nord0
|
||||||
client.focused_inactive $nord0 $blue3 $nord0 $nord0 $nord0
|
client.focused_inactive $nord0 $blue3 $nord0 $nord0 $nord0
|
||||||
client.unfocused $nord0 $nord0 $frost0 $blue1 $nord0
|
client.unfocused $nord0 $nord0 $frost0 $blue1 $nord0
|
||||||
client.urgent $red $red $frost2 $red $red
|
client.urgent $red $red $frost2 $red $red
|
||||||
client.background #ffffff
|
client.background #ffffff
|
||||||
|
|
||||||
exec "~/scripts/startup-laptop.sh"
|
|
||||||
# i3 doesnt let me put this in the startscript
|
|
||||||
exec_always --no-startup-id ~/.config/polybar/launch.sh &
|
|
||||||
|
|
||||||
# Monitors
|
# Monitors
|
||||||
set $monitor1 "eDP-1"
|
set $monitor1 "eDP-1"
|
||||||
set $monitor2 "HDMI-1"
|
set $monitor2 "HDMI-1"
|
||||||
@@ -154,3 +154,12 @@ gaps top 35
|
|||||||
|
|
||||||
bindsym $mod+Ctrl+1 move workspace to output $monitor1
|
bindsym $mod+Ctrl+1 move workspace to output $monitor1
|
||||||
bindsym $mod+Ctrl+2 move workspace to output $monitor2
|
bindsym $mod+Ctrl+2 move workspace to output $monitor2
|
||||||
|
|
||||||
|
# Keyboard layout
|
||||||
|
exec setxkbmap -layout za
|
||||||
|
|
||||||
|
# Start programs
|
||||||
|
exec feh --bg-scale $HOME/data/wallpaper/wallpaper.png
|
||||||
|
exec dunst &
|
||||||
|
exec picom --experimental-backends
|
||||||
|
exec --no-startup-id ~/.config/polybar/launch.sh &
|
||||||
|
|||||||
@@ -4,9 +4,13 @@ opacity-rule = [
|
|||||||
"95:class_g *?= 'XTerm'",
|
"95:class_g *?= 'XTerm'",
|
||||||
];
|
];
|
||||||
|
|
||||||
corner-radius = 15;
|
inactive-dim = 0.2;
|
||||||
|
|
||||||
#blur: {
|
backend = "glx";
|
||||||
# method: "gaussian";
|
blur: {
|
||||||
# strength = 7;
|
method: "dual_kawase";
|
||||||
#}
|
strength = 7;
|
||||||
|
background = false;
|
||||||
|
background-frame = false;
|
||||||
|
background-fixed = false;
|
||||||
|
}
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ radius = 12
|
|||||||
height = 27px
|
height = 27px
|
||||||
|
|
||||||
foreground = ${colors.foreground}
|
foreground = ${colors.foreground}
|
||||||
background = ${colors.nord0}
|
background = #d12e3440
|
||||||
|
|
||||||
module-margin= 0
|
module-margin= 0
|
||||||
|
|
||||||
@@ -78,15 +78,17 @@ modules-center = spotify
|
|||||||
################################################################################
|
################################################################################
|
||||||
[bar/status]
|
[bar/status]
|
||||||
inherit = bar/global
|
inherit = bar/global
|
||||||
width = 25%
|
width = 31%
|
||||||
|
|
||||||
override-redirect = true
|
override-redirect = true
|
||||||
fixed-center = true
|
fixed-center = true
|
||||||
|
|
||||||
offset-x = 75%:-8px
|
offset-x = 69%:-8px
|
||||||
offset-y = 8px
|
offset-y = 8px
|
||||||
|
|
||||||
modules-center = backlight volume battery date
|
#tray-position = left
|
||||||
|
|
||||||
|
modules-center = update backlight volume battery network date
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
[module/i3]
|
[module/i3]
|
||||||
@@ -98,15 +100,29 @@ wrapping-scroll = false
|
|||||||
format = <label-state> <label-mode>
|
format = <label-state> <label-mode>
|
||||||
|
|
||||||
foreground = ${colors.foreground}
|
foreground = ${colors.foreground}
|
||||||
background = ${colors.nord0}
|
|
||||||
|
|
||||||
label-focused = ""
|
ws-icon-0 = 1;一
|
||||||
|
ws-icon-1 = 2;二
|
||||||
|
ws-icon-2 = 3;三
|
||||||
|
ws-icon-3 = 4;四
|
||||||
|
ws-icon-4 = 5;五
|
||||||
|
ws-icon-5 = 6;六
|
||||||
|
ws-icon-6 = 7;七
|
||||||
|
ws-icon-7 = 8;八
|
||||||
|
ws-icon-8 = 9;九
|
||||||
|
ws-icon-9 = 10;十
|
||||||
|
ws-icon-default =
|
||||||
|
|
||||||
|
#label-focused = ""
|
||||||
|
label-focused = "%icon%"
|
||||||
label-focused-padding = 1
|
label-focused-padding = 1
|
||||||
|
|
||||||
label-unfocused = ""
|
#label-unfocused = ""
|
||||||
|
label-unfocused = "%icon%"
|
||||||
|
label-unfocused-foreground = ${colors.nord3}
|
||||||
label-unfocused-padding = 1
|
label-unfocused-padding = 1
|
||||||
|
|
||||||
label-urgent = ""
|
label-urgent = "%icon%"
|
||||||
label-urgent-foreground = ${colors.red}
|
label-urgent-foreground = ${colors.red}
|
||||||
label-urgent-padding = 1
|
label-urgent-padding = 1
|
||||||
|
|
||||||
@@ -115,12 +131,12 @@ label-urgent-padding = 1
|
|||||||
type = internal/date
|
type = internal/date
|
||||||
|
|
||||||
format-padding = 1
|
format-padding = 1
|
||||||
format-background = ${colors.background}
|
|
||||||
|
|
||||||
interval = 1.0
|
interval = 1.0
|
||||||
|
|
||||||
time = %I:%M %p - %A, %d %B %Y
|
#time = %I:%M %p - %A, %d %B %Y
|
||||||
time-alt = %I:%M %p
|
time = %I:%M %p - %d.%m.%Y
|
||||||
|
time-alt = %I:%M %p
|
||||||
|
|
||||||
format = <label>
|
format = <label>
|
||||||
|
|
||||||
@@ -141,9 +157,6 @@ type = internal/cpu
|
|||||||
|
|
||||||
interval = 5
|
interval = 5
|
||||||
|
|
||||||
format-background = ${colors.frost1}
|
|
||||||
format-foreground = ${colors.nord0}
|
|
||||||
|
|
||||||
format = <label>
|
format = <label>
|
||||||
format-prefix =
|
format-prefix =
|
||||||
format-padding = 1
|
format-padding = 1
|
||||||
@@ -168,18 +181,13 @@ full-at = 99
|
|||||||
battery = BAT0
|
battery = BAT0
|
||||||
apdapter = ADP1
|
apdapter = ADP1
|
||||||
|
|
||||||
bg = ${colors.background}
|
|
||||||
|
|
||||||
format-charging = <animation-charging> <label-charging>
|
format-charging = <animation-charging> <label-charging>
|
||||||
format-charging-background = ${self.bg}
|
|
||||||
format-charging-padding = 1
|
format-charging-padding = 1
|
||||||
|
|
||||||
format-discharging = <ramp-capacity> <label-discharging>
|
format-discharging = <ramp-capacity> <label-discharging>
|
||||||
format-discharging-background = ${self.bg}
|
|
||||||
format-discharging-padding = 1
|
format-discharging-padding = 1
|
||||||
|
|
||||||
format-full = <ramp-capacity> <label-full>
|
format-full = <ramp-capacity> <label-full>
|
||||||
format-full-background = ${self.bg}
|
|
||||||
format-full-padding = 1
|
format-full-padding = 1
|
||||||
|
|
||||||
label-charging = %percentage%%
|
label-charging = %percentage%%
|
||||||
@@ -211,7 +219,6 @@ animation-charging-framerate = 750
|
|||||||
[module/volume]
|
[module/volume]
|
||||||
type = internal/pulseaudio
|
type = internal/pulseaudio
|
||||||
|
|
||||||
format-volume-background = ${colors.background}
|
|
||||||
format-volume-padding = 1
|
format-volume-padding = 1
|
||||||
|
|
||||||
format-volume = <ramp-volume> <label-volume>
|
format-volume = <ramp-volume> <label-volume>
|
||||||
@@ -240,12 +247,11 @@ interval = 1.0
|
|||||||
accumulate-stats = true
|
accumulate-stats = true
|
||||||
unknown-as-up = true
|
unknown-as-up = true
|
||||||
|
|
||||||
format-connected = <ramp-signal> <label-connected>
|
#format-connected = <ramp-signal> <label-connected>
|
||||||
format-connected-background = ${colors.nord1}
|
format-connected = <label-connected>
|
||||||
format-connected-padding = 1
|
format-connected-padding = 1
|
||||||
|
|
||||||
format-disconnected = <label-disconnected>
|
format-disconnected = <label-disconnected>
|
||||||
format-disconnected-background = ${colors.nord1}
|
|
||||||
format-disconnected-padding = 1
|
format-disconnected-padding = 1
|
||||||
|
|
||||||
label-connected = %essid%
|
label-connected = %essid%
|
||||||
@@ -263,8 +269,6 @@ ramp-signal-4 =
|
|||||||
type = internal/backlight
|
type = internal/backlight
|
||||||
|
|
||||||
format-padding = 1
|
format-padding = 1
|
||||||
format-background = ${colors.background}
|
|
||||||
format-foreground = ${colors.foreground}
|
|
||||||
|
|
||||||
# ls -1 /sys/class/backlight
|
# ls -1 /sys/class/backlight
|
||||||
card = amdgpu_bl0
|
card = amdgpu_bl0
|
||||||
@@ -298,8 +302,6 @@ interval = 2
|
|||||||
type = custom/script
|
type = custom/script
|
||||||
|
|
||||||
format-padding = 1
|
format-padding = 1
|
||||||
format-background = ${colors.green}
|
|
||||||
format-foreground = ${colors.nord0}
|
|
||||||
|
|
||||||
exec = ~/.config/polybar/scripts/hostname.sh
|
exec = ~/.config/polybar/scripts/hostname.sh
|
||||||
tail = true
|
tail = true
|
||||||
@@ -310,8 +312,6 @@ interval = 60
|
|||||||
type = custom/script
|
type = custom/script
|
||||||
|
|
||||||
format-padding = 1
|
format-padding = 1
|
||||||
format-background = ${colors.nord0}
|
|
||||||
format-foreground = ${colors.foreground}
|
|
||||||
format-prefix = "直 "
|
format-prefix = "直 "
|
||||||
|
|
||||||
exec = ~/.config/polybar/scripts/ip.sh
|
exec = ~/.config/polybar/scripts/ip.sh
|
||||||
@@ -319,13 +319,9 @@ tail = true
|
|||||||
interval = 20
|
interval = 20
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
[module/powerbutton]
|
[module/update]
|
||||||
type = custom/text
|
type = custom/script
|
||||||
|
exec = echo ' '
|
||||||
content-padding = 1
|
interval = 5
|
||||||
content-background = ${colors.nord1}
|
tail = true
|
||||||
content-foreground = ${colors.frost2}
|
click-left = alacritty -e bash -c "echo 'Upgrading packages...' && sudo dnf upgrade"
|
||||||
|
|
||||||
content = "襤"
|
|
||||||
|
|
||||||
click-left = ~/scripts/powermenu
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
sh = show
|
sh = show
|
||||||
d = diff
|
d = diff
|
||||||
c = commit -v
|
c = commit -v
|
||||||
ca = commmit -v --amend
|
ca = commit -v --amend
|
||||||
co = checkout
|
co = checkout
|
||||||
b = branch
|
b = branch
|
||||||
l = pull
|
l = pull
|
||||||
|
|||||||
@@ -1,20 +1,27 @@
|
|||||||
|
" ▄▄ ▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄ ▄▄▄▄▄▄▄ ▄▄ ▄▄ ▄▄▄ ▄▄ ▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄▄
|
||||||
|
" █ █▄█ █ █ ▄ █ █ █ ██ █ █ █ █ █ █ █▄█ █ ▄ █ █ █
|
||||||
|
" █ █ ▄ █ █ █ █ █ █▄▄██ ▄▄▄▄▄█ █ █▄█ █ █ █ █ █ █ █ █
|
||||||
|
" █ █ █▄█ █ █▄▄█▄█ ▄▄█ █ █▄▄▄▄▄ █ █ █ █ █▄▄█▄█ ▄▄█
|
||||||
|
" █ █ █ ▄▄ █ █ █▄▄▄▄▄ █ █ █ █ █ ▄▄ █ █
|
||||||
|
" █ ██▄██ █ ▄ █ █ █ █ █▄▄ ▄▄▄▄▄█ █ █ ██ █ ██▄██ █ █ █ █ █▄▄
|
||||||
|
" █▄█ █▄█▄█ █▄▄█▄▄▄█ █▄█▄▄▄▄▄▄▄█ █▄▄▄▄▄▄▄█ █▄▄▄█ █▄▄▄█▄█ █▄█▄▄▄█ █▄█▄▄▄▄▄▄▄█
|
||||||
|
"
|
||||||
|
|
||||||
let mapleader = "\<Space>"
|
let mapleader = "\<Space>"
|
||||||
" ------------------------------------- Vundle Setup ---------------------------
|
|
||||||
|
" ============================== Plugins
|
||||||
set nocompatible
|
set nocompatible
|
||||||
set rtp+=~/.vim/bundle/Vundle.vim
|
set rtp+=~/.vim/bundle/Vundle.vim
|
||||||
call vundle#begin()
|
call vundle#begin()
|
||||||
|
|
||||||
Plugin 'VundleVim/Vundle.vim'
|
Plugin 'VundleVim/Vundle.vim'
|
||||||
|
|
||||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
|
||||||
" Show git changes
|
" Show git changes
|
||||||
Plugin 'airblade/vim-gitgutter'
|
Plugin 'airblade/vim-gitgutter'
|
||||||
|
|
||||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
|
||||||
" Automatic intendations
|
" Automatic intendations
|
||||||
Plugin 'tpope/vim-sleuth'
|
Plugin 'tpope/vim-sleuth'
|
||||||
|
|
||||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
|
||||||
" Match parents
|
" Match parents
|
||||||
Plugin 'tmsvg/pear-tree'
|
Plugin 'tmsvg/pear-tree'
|
||||||
|
|
||||||
@@ -31,13 +38,13 @@ let g:pear_tree_pairs = {
|
|||||||
\ '<': {'closer': '>'}
|
\ '<': {'closer': '>'}
|
||||||
\ }
|
\ }
|
||||||
|
|
||||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
|
||||||
" Helper for latex
|
" Helper for latex
|
||||||
Plugin 'lervag/vimtex'
|
Plugin 'lervag/vimtex'
|
||||||
|
|
||||||
let g:vimtex_view_general_viewer = 'zathura'
|
let g:vimtex_view_general_viewer = 'zathura'
|
||||||
|
nmap <C-c> :VimtexCompile <CR>
|
||||||
|
nmap <C-t> :VimtexTocToggle <CR>
|
||||||
|
|
||||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
|
||||||
" fzf
|
" fzf
|
||||||
if executable("fzf")
|
if executable("fzf")
|
||||||
Plugin 'junegunn/fzf'
|
Plugin 'junegunn/fzf'
|
||||||
@@ -46,70 +53,58 @@ if executable("fzf")
|
|||||||
nmap <C-f> :Files<CR>
|
nmap <C-f> :Files<CR>
|
||||||
endif
|
endif
|
||||||
|
|
||||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
|
||||||
" Colors
|
" Colors
|
||||||
Plugin 'arcticicestudio/nord-vim'
|
Plugin 'arcticicestudio/nord-vim'
|
||||||
Plugin 'vim-airline/vim-airline'
|
|
||||||
Plugin 'vim-airline/vim-airline-themes'
|
|
||||||
|
|
||||||
let g:airline_theme='nord'
|
|
||||||
let g:airline_powerline_fonts = 1
|
|
||||||
let g:bufferline_echo = 0
|
|
||||||
set guifont="FiraCode Nerd Font Mono"
|
|
||||||
|
|
||||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
|
||||||
call vundle#end()
|
call vundle#end()
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
|
|
||||||
" ------------------------------------- Colors ---------------------------------
|
" ============================== Colors
|
||||||
syntax on
|
syntax on
|
||||||
colorscheme nord
|
colorscheme nord
|
||||||
set colorcolumn=81
|
|
||||||
filetype indent plugin on
|
filetype indent plugin on
|
||||||
|
|
||||||
" ------------------------------------- General --------------------------------
|
" ============================== General
|
||||||
set number
|
set number
|
||||||
set relativenumber
|
set relativenumber
|
||||||
":highlight LineNr ctermfg=white "color
|
|
||||||
set showmatch " Highlights paranthesis
|
set showmatch " highlights paranthesis
|
||||||
set mat=5
|
set mat=5
|
||||||
set noswapfile
|
set noswapfile " can be problamatic on some systems
|
||||||
set confirm " can't quit without saving
|
set confirm " can't quit without saving
|
||||||
set noshowmode " don't show mode in status
|
set noshowmode " don't show mode in status
|
||||||
set noshowcmd " don't show command in status
|
set noshowcmd " don't show command in status
|
||||||
"set cursorline " highlight cursorline
|
|
||||||
set encoding=utf-8
|
set encoding=utf-8
|
||||||
set mouse=c
|
set mouse=c
|
||||||
set undolevels=1337
|
set undolevels=1337 " memegods can make mistakes
|
||||||
set backspace=indent,eol,start
|
set backspace=indent,eol,start
|
||||||
set wildmenu " autocomplete :e
|
set wildmenu " autocomplete :e
|
||||||
|
|
||||||
" ------------------------------------- Indents & Whitespaces ------------------
|
" ============================== Indents and Whitespaces
|
||||||
set list
|
set list
|
||||||
set listchars=tab:»\ ,extends:›,precedes:‹,nbsp:·,trail:·
|
set listchars=tab:»\ ,extends:›,precedes:‹,nbsp:·,trail:·
|
||||||
|
|
||||||
" ------------------------------------- Search ---------------------------------
|
highlight ExtraWhitespace ctermbg=red guibg=red
|
||||||
|
match ExtraWhitespace /\s\+\%#\@<!$/
|
||||||
|
|
||||||
|
" ============================== Search
|
||||||
set incsearch
|
set incsearch
|
||||||
set ignorecase
|
set ignorecase
|
||||||
set smartcase " case sensitive with capital letters
|
set smartcase " case sensitive when capital letters are used
|
||||||
set hlsearch " highlight all results
|
set hlsearch " highlight all results
|
||||||
nnoremap<leader><space> :nohlsearch<CR>
|
nnoremap<leader><space> :nohlsearch<CR>
|
||||||
|
|
||||||
" ------------------------------------- Cursor ---------------------------------
|
" ============================== Cursor Thiccness
|
||||||
let &t_SI = "\<Esc>[6 q"
|
let &t_SI = "\<Esc>[6 q"
|
||||||
let &t_SR = "\<Esc>[4 q"
|
let &t_SR = "\<Esc>[4 q"
|
||||||
let &t_EI = "\<Esc>[2 q"
|
let &t_EI = "\<Esc>[2 q"
|
||||||
|
|
||||||
" ------------------------------------- vimtex ---------------------------------
|
" ============================== netrw
|
||||||
nmap <C-c> :VimtexCompile <CR>
|
|
||||||
nmap <C-t> :VimtexTocToggle <CR>
|
|
||||||
|
|
||||||
" ------------------------------------- netrw ----------------------------------
|
|
||||||
let g:netrw_winsize = 25
|
let g:netrw_winsize = 25
|
||||||
let g:netrw_liststyle = 3 " Tree-like structure
|
let g:netrw_liststyle = 3 " Tree-like structure
|
||||||
let g:netrw_banner = 0 " Remove useless banner at the top of netrw
|
let g:netrw_banner = 0 " Remove useless banner at the top of netrw
|
||||||
|
|
||||||
" ------------------------------------- Macros & Mappings ----------------------
|
" ============================== Macros and Mappings
|
||||||
cmap Wq wq
|
cmap Wq wq
|
||||||
cmap Q q
|
cmap Q q
|
||||||
cmap W w
|
cmap W w
|
||||||
|
|||||||
@@ -1,12 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
setxkbmap -layout za
|
|
||||||
|
|
||||||
export LANG="en_US.UTF-8"
|
|
||||||
export LANGUAGE="en_US.UTF-8"
|
|
||||||
|
|
||||||
feh --bg-scale $HOME/data/wallpaper/wallpaper.png
|
|
||||||
|
|
||||||
nm-applet &
|
|
||||||
dunst &
|
dunst &
|
||||||
picom &
|
picom &
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.9 MiB After Width: | Height: | Size: 1.5 MiB |
Reference in New Issue
Block a user