Juni Kim
2 years ago
18 changed files with 850 additions and 113 deletions
-
9dots/berryrice/notes.txt
-
224dots/berryrice/polybar/.config/polybar/config.ini
-
11dots/berryrice/polybar/.config/polybar/launch.sh
-
14dots/berryrice/rofi/.config/rofi/config.rasi
-
111dots/berryrice/rofi/.local/share/rofi/themes/catppuccin-frappe.rasi
-
111dots/berryrice/rofi/.local/share/rofi/themes/catppuccin-latte.rasi
-
111dots/berryrice/rofi/.local/share/rofi/themes/catppuccin-macchiato.rasi
-
111dots/berryrice/rofi/.local/share/rofi/themes/catppuccin-mocha.rasi
-
5dots/berryrice/stow
-
32dots/berryrice/wm/.config/berry/autostart
-
70dots/berryrice/wm/.config/berry/sxhkdrc
-
19dots/berryrice/wm/.config/picom/picom.conf
-
5dots/i3rice/stow
-
0dots/i3rice/wm/.config/i3/config
-
0dots/i3rice/wm/.config/picom/picom.conf
-
0dots/i3rice/wm/.config/polybar/config.ini
-
77dots/vimrc
-
53install_alpine.sh
@ -0,0 +1,9 @@ |
|||
- pipewire, pipewire-plugin-pulse, wireplumber |
|||
- xdg-desktop-portal |
|||
|
|||
Rofi: |
|||
~/.local/share/rofi/themes contains theme |
|||
apk add papairus-icon-theme librsvg gdk-pixbuf-dev rofi |
|||
|
|||
Polybar: |
|||
- font-arimo font-jetbrains-mono-nerd |
@ -0,0 +1,224 @@ |
|||
;========================================================== |
|||
; |
|||
; |
|||
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ |
|||
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ |
|||
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ |
|||
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ |
|||
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ |
|||
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ |
|||
; |
|||
; |
|||
; To learn more about how to configure Polybar |
|||
; go to https://github.com/polybar/polybar |
|||
; |
|||
; The README contains a lot of information |
|||
; |
|||
;========================================================== |
|||
|
|||
[colors] |
|||
background = #1E1E2E |
|||
background-alt = #313244 |
|||
foreground = #cdd6f4 |
|||
primary = #89b4fa |
|||
secondary = #a6e3a1 |
|||
alert = #f38ba8 |
|||
disabled = #707880 |
|||
|
|||
[bar/base] |
|||
width = 100% |
|||
height = 24pt |
|||
radius = 0 |
|||
|
|||
background = ${colors.background} |
|||
foreground = ${colors.foreground} |
|||
|
|||
line-size = 3pt |
|||
|
|||
border-size = 4pt |
|||
border-color = #00000000 |
|||
|
|||
padding-left = 0 |
|||
padding-right = 1 |
|||
module-margin = 1 |
|||
|
|||
separator = | |
|||
separator-foreground = ${colors.disabled} |
|||
|
|||
font-0 = JetBrains Mono Nerd Font;2 |
|||
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0 |
|||
font-2 = siji:pixelsize=10;1 |
|||
font-3 = "Arimo:pixelsize=12;0" |
|||
cursor-click = pointer |
|||
cursor-scroll = ns-resize |
|||
enable-ipc = true |
|||
|
|||
[bar/workspaces] |
|||
width = 300 |
|||
inherit = bar/base |
|||
modules-center = xworkspaces-roleless |
|||
|
|||
[bar/top] |
|||
width = 300 |
|||
offset-x = 100%:-300 |
|||
inherit = bar/base |
|||
modules-center = date eth wlan |
|||
|
|||
[bar/bottom] |
|||
padding-left = 1 |
|||
inherit = bar/base |
|||
bottom = true |
|||
width = 100% |
|||
modules-left = pulseaudio backlight |
|||
modules-center = xwindow |
|||
modules-right = filesystem memory cpu |
|||
|
|||
[module/xworkspaces-roleless] |
|||
type = internal/xworkspaces |
|||
|
|||
label-active = ● |
|||
label-active-background = ${colors.background-alt} |
|||
label-active-underline= ${colors.primary} |
|||
label-active-padding = 1 |
|||
|
|||
label-occupied = ● |
|||
label-occupied-padding = 1 |
|||
|
|||
label-urgent = ● |
|||
label-urgent-background = ${colors.alert} |
|||
label-urgent-padding = 1 |
|||
|
|||
label-empty = ○ |
|||
label-empty-foreground = ${colors.disabled} |
|||
label-empty-padding = 1 |
|||
|
|||
[module/xworkspaces-role] |
|||
type = internal/xworkspaces |
|||
|
|||
label-active = %icon% |
|||
label-active-background = ${colors.background-alt} |
|||
label-active-underline= ${colors.primary} |
|||
label-active-padding = 1 |
|||
|
|||
label-occupied = %icon% |
|||
label-occupied-padding = 1 |
|||
|
|||
label-urgent = %icon% |
|||
label-urgent-background = ${colors.alert} |
|||
label-urgent-padding = 1 |
|||
|
|||
label-empty = %icon% |
|||
label-empty-foreground = ${colors.disabled} |
|||
label-empty-padding = 1 |
|||
|
|||
icon-0 = 0; |
|||
icon-1 = 1;爵 |
|||
icon-2 = 2; |
|||
icon-3 = 3; |
|||
icon-4 = 4; |
|||
icon-5 = 5; |
|||
icon-6 = 6; |
|||
icon-7 = 7;8 |
|||
icon-8 = 8;9 |
|||
|
|||
[module/xwindow] |
|||
type = internal/xwindow |
|||
label = %title:0:30:...% |
|||
label-padding = 1 |
|||
|
|||
[module/filesystem] |
|||
type = internal/fs |
|||
interval = 25 |
|||
|
|||
mount-0 = / |
|||
|
|||
label-mounted = %{F#a6e3a1}%mountpoint%%{F-} %percentage_used%% |
|||
|
|||
label-unmounted = %mountpoint% not mounted |
|||
label-unmounted-foreground = ${colors.disabled} |
|||
|
|||
[module/pulseaudio] |
|||
type = internal/pulseaudio |
|||
|
|||
format-volume-prefix = "VOL " |
|||
format-volume-prefix-foreground = ${colors.primary} |
|||
format-volume = <label-volume> |
|||
|
|||
label-volume = %percentage%% |
|||
label-muted = muted |
|||
label-muted-foreground = ${colors.disabled} |
|||
|
|||
[module/backlight] |
|||
type = internal/xbacklight |
|||
format = <ramp> |
|||
|
|||
; Available tokens: |
|||
; %percentage% (default) |
|||
label = %percentage%% |
|||
|
|||
; Only applies if <ramp> is used |
|||
ramp-0 = 🌕 |
|||
ramp-1 = 🌔 |
|||
ramp-2 = 🌓 |
|||
ramp-3 = 🌒 |
|||
ramp-4 = 🌑 |
|||
|
|||
[module/xkeyboard] |
|||
type = internal/xkeyboard |
|||
blacklist-0 = num lock |
|||
|
|||
label-layout = %layout% |
|||
label-layout-foreground = ${colors.primary} |
|||
|
|||
label-indicator-padding = 2 |
|||
label-indicator-margin = 1 |
|||
label-indicator-foreground = ${colors.background} |
|||
label-indicator-background = ${colors.secondary} |
|||
|
|||
[module/memory] |
|||
type = internal/memory |
|||
interval = 2 |
|||
format-prefix = "RAM " |
|||
format-prefix-foreground = ${colors.primary} |
|||
label = %percentage_used:2%% |
|||
|
|||
[module/cpu] |
|||
type = internal/cpu |
|||
interval = 2 |
|||
format-prefix = "CPU " |
|||
format-prefix-foreground = ${colors.primary} |
|||
label = %percentage:2%% |
|||
|
|||
[network-base] |
|||
type = internal/network |
|||
interval = 5 |
|||
format-connected = <label-connected> |
|||
format-disconnected = <label-disconnected> |
|||
label-disconnected = %{F#a6e3a1}%ifname%%{F#707880} disconnected |
|||
|
|||
[module/wlan] |
|||
inherit = network-base |
|||
interface-type = wireless |
|||
#label-connected = %{F#a6e3a1}%ifname%%{F-} %essid% %local_ip% |
|||
label-connected = %{F#a6e3a1}%ifname%%{F-} %essid% |
|||
|
|||
[module/eth] |
|||
inherit = network-base |
|||
interface-type = wired |
|||
label-connected = %{F#a6e3a1}%ifname%%{F-} |
|||
|
|||
[module/date] |
|||
type = internal/date |
|||
interval = 1 |
|||
|
|||
date = %OI:%M %p |
|||
date-alt = %Y-%m-%d %H:%M:%S |
|||
|
|||
label = %date% |
|||
label-foreground = ${colors.primary} |
|||
|
|||
[settings] |
|||
screenchange-reload = true |
|||
pseudo-transparency = true |
|||
|
|||
; vim:ft=dosini |
@ -0,0 +1,11 @@ |
|||
#!/bin/sh |
|||
|
|||
pkill polybar |
|||
|
|||
bar() { |
|||
polybar -c "$HOME/.config/polybar/config.ini" "$@" & |
|||
} |
|||
|
|||
bar top |
|||
bar workspaces |
|||
bar bottom |
@ -0,0 +1,14 @@ |
|||
configuration{ |
|||
modi: "drun,window"; |
|||
icon-theme: "Papirus"; |
|||
show-icons: true; |
|||
terminal: "alacritty"; |
|||
drun-display-format: "{icon} {name}"; |
|||
location: 0; |
|||
disable-history: false; |
|||
hide-scrollbar: true; |
|||
display-drun: " Run "; |
|||
display-window: " Window"; |
|||
sidebar-mode: true; |
|||
} |
|||
@theme "catppuccin-macchiato" |
@ -0,0 +1,111 @@ |
|||
* { |
|||
bg-col: #303446; |
|||
bg-col-light: #303446; |
|||
border-col: #303446; |
|||
selected-col: #303446; |
|||
blue: #8caaee; |
|||
fg-col: #c6d0f5; |
|||
fg-col2: #e78284; |
|||
grey: #737994; |
|||
|
|||
width: 600; |
|||
font: "JetBrainsMono Nerd Font 14"; |
|||
} |
|||
|
|||
element-text, element-icon , mode-switcher { |
|||
background-color: inherit; |
|||
text-color: inherit; |
|||
} |
|||
|
|||
window { |
|||
height: 360px; |
|||
border: 3px; |
|||
border-color: @border-col; |
|||
background-color: @bg-col; |
|||
} |
|||
|
|||
mainbox { |
|||
background-color: @bg-col; |
|||
} |
|||
|
|||
inputbar { |
|||
children: [prompt,entry]; |
|||
background-color: @bg-col; |
|||
border-radius: 5px; |
|||
padding: 2px; |
|||
} |
|||
|
|||
prompt { |
|||
background-color: @blue; |
|||
padding: 6px; |
|||
text-color: @bg-col; |
|||
border-radius: 3px; |
|||
margin: 20px 0px 0px 20px; |
|||
} |
|||
|
|||
textbox-prompt-colon { |
|||
expand: false; |
|||
str: ":"; |
|||
} |
|||
|
|||
entry { |
|||
padding: 6px; |
|||
margin: 20px 0px 0px 10px; |
|||
text-color: @fg-col; |
|||
background-color: @bg-col; |
|||
} |
|||
|
|||
listview { |
|||
border: 0px 0px 0px; |
|||
padding: 6px 0px 0px; |
|||
margin: 10px 0px 0px 20px; |
|||
columns: 2; |
|||
lines: 5; |
|||
background-color: @bg-col; |
|||
} |
|||
|
|||
element { |
|||
padding: 5px; |
|||
background-color: @bg-col; |
|||
text-color: @fg-col ; |
|||
} |
|||
|
|||
element-icon { |
|||
size: 25px; |
|||
} |
|||
|
|||
element selected { |
|||
background-color: @selected-col ; |
|||
text-color: @fg-col2 ; |
|||
} |
|||
|
|||
mode-switcher { |
|||
spacing: 0; |
|||
} |
|||
|
|||
button { |
|||
padding: 10px; |
|||
background-color: @bg-col-light; |
|||
text-color: @grey; |
|||
vertical-align: 0.5; |
|||
horizontal-align: 0.5; |
|||
} |
|||
|
|||
button selected { |
|||
background-color: @bg-col; |
|||
text-color: @blue; |
|||
} |
|||
|
|||
message { |
|||
background-color: @bg-col-light; |
|||
margin: 2px; |
|||
padding: 2px; |
|||
border-radius: 5px; |
|||
} |
|||
|
|||
textbox { |
|||
padding: 6px; |
|||
margin: 20px 0px 0px 20px; |
|||
text-color: @blue; |
|||
background-color: @bg-col-light; |
|||
} |
@ -0,0 +1,111 @@ |
|||
* { |
|||
bg-col: #eff1f5; |
|||
bg-col-light: #eff1f5; |
|||
border-col: #eff1f5; |
|||
selected-col: #eff1f5; |
|||
blue: #1e66f5; |
|||
fg-col: #4c4f69; |
|||
fg-col2: #d20f39; |
|||
grey: #9ca0b0; |
|||
|
|||
width: 600; |
|||
font: "JetBrainsMono Nerd Font 14"; |
|||
} |
|||
|
|||
element-text, element-icon , mode-switcher { |
|||
background-color: inherit; |
|||
text-color: inherit; |
|||
} |
|||
|
|||
window { |
|||
height: 360px; |
|||
border: 3px; |
|||
border-color: @border-col; |
|||
background-color: @bg-col; |
|||
} |
|||
|
|||
mainbox { |
|||
background-color: @bg-col; |
|||
} |
|||
|
|||
inputbar { |
|||
children: [prompt,entry]; |
|||
background-color: @bg-col; |
|||
border-radius: 5px; |
|||
padding: 2px; |
|||
} |
|||
|
|||
prompt { |
|||
background-color: @blue; |
|||
padding: 6px; |
|||
text-color: @bg-col; |
|||
border-radius: 3px; |
|||
margin: 20px 0px 0px 20px; |
|||
} |
|||
|
|||
textbox-prompt-colon { |
|||
expand: false; |
|||
str: ":"; |
|||
} |
|||
|
|||
entry { |
|||
padding: 6px; |
|||
margin: 20px 0px 0px 10px; |
|||
text-color: @fg-col; |
|||
background-color: @bg-col; |
|||
} |
|||
|
|||
listview { |
|||
border: 0px 0px 0px; |
|||
padding: 6px 0px 0px; |
|||
margin: 10px 0px 0px 20px; |
|||
columns: 2; |
|||
lines: 5; |
|||
background-color: @bg-col; |
|||
} |
|||
|
|||
element { |
|||
padding: 5px; |
|||
background-color: @bg-col; |
|||
text-color: @fg-col ; |
|||
} |
|||
|
|||
element-icon { |
|||
size: 25px; |
|||
} |
|||
|
|||
element selected { |
|||
background-color: @selected-col ; |
|||
text-color: @fg-col2 ; |
|||
} |
|||
|
|||
mode-switcher { |
|||
spacing: 0; |
|||
} |
|||
|
|||
button { |
|||
padding: 10px; |
|||
background-color: @bg-col-light; |
|||
text-color: @grey; |
|||
vertical-align: 0.5; |
|||
horizontal-align: 0.5; |
|||
} |
|||
|
|||
button selected { |
|||
background-color: @bg-col; |
|||
text-color: @blue; |
|||
} |
|||
|
|||
message { |
|||
background-color: @bg-col-light; |
|||
margin: 2px; |
|||
padding: 2px; |
|||
border-radius: 5px; |
|||
} |
|||
|
|||
textbox { |
|||
padding: 6px; |
|||
margin: 20px 0px 0px 20px; |
|||
text-color: @blue; |
|||
background-color: @bg-col-light; |
|||
} |
@ -0,0 +1,111 @@ |
|||
* { |
|||
bg-col: #24273a; |
|||
bg-col-light: #24273a; |
|||
border-col: #24273a; |
|||
selected-col: #24273a; |
|||
blue: #8aadf4; |
|||
fg-col: #cad3f5; |
|||
fg-col2: #ed8796; |
|||
grey: #6e738d; |
|||
|
|||
width: 600; |
|||
font: "JetBrainsMono Nerd Font 14"; |
|||
} |
|||
|
|||
element-text, element-icon , mode-switcher { |
|||
background-color: inherit; |
|||
text-color: inherit; |
|||
} |
|||
|
|||
window { |
|||
height: 360px; |
|||
border: 3px; |
|||
border-color: @border-col; |
|||
background-color: @bg-col; |
|||
} |
|||
|
|||
mainbox { |
|||
background-color: @bg-col; |
|||
} |
|||
|
|||
inputbar { |
|||
children: [prompt,entry]; |
|||
background-color: @bg-col; |
|||
border-radius: 5px; |
|||
padding: 2px; |
|||
} |
|||
|
|||
prompt { |
|||
background-color: @blue; |
|||
padding: 6px; |
|||
text-color: @bg-col; |
|||
border-radius: 3px; |
|||
margin: 20px 0px 0px 20px; |
|||
} |
|||
|
|||
textbox-prompt-colon { |
|||
expand: false; |
|||
str: ":"; |
|||
} |
|||
|
|||
entry { |
|||
padding: 6px; |
|||
margin: 20px 0px 0px 10px; |
|||
text-color: @fg-col; |
|||
background-color: @bg-col; |
|||
} |
|||
|
|||
listview { |
|||
border: 0px 0px 0px; |
|||
padding: 6px 0px 0px; |
|||
margin: 10px 0px 0px 20px; |
|||
columns: 2; |
|||
lines: 5; |
|||
background-color: @bg-col; |
|||
} |
|||
|
|||
element { |
|||
padding: 5px; |
|||
background-color: @bg-col; |
|||
text-color: @fg-col ; |
|||
} |
|||
|
|||
element-icon { |
|||
size: 25px; |
|||
} |
|||
|
|||
element selected { |
|||
background-color: @selected-col ; |
|||
text-color: @fg-col2 ; |
|||
} |
|||
|
|||
mode-switcher { |
|||
spacing: 0; |
|||
} |
|||
|
|||
button { |
|||
padding: 10px; |
|||
background-color: @bg-col-light; |
|||
text-color: @grey; |
|||
vertical-align: 0.5; |
|||
horizontal-align: 0.5; |
|||
} |
|||
|
|||
button selected { |
|||
background-color: @bg-col; |
|||
text-color: @blue; |
|||
} |
|||
|
|||
message { |
|||
background-color: @bg-col-light; |
|||
margin: 2px; |
|||
padding: 2px; |
|||
border-radius: 5px; |
|||
} |
|||
|
|||
textbox { |
|||
padding: 6px; |
|||
margin: 20px 0px 0px 20px; |
|||
text-color: @blue; |
|||
background-color: @bg-col-light; |
|||
} |
@ -0,0 +1,111 @@ |
|||
* { |
|||
bg-col: #1e1e2e; |
|||
bg-col-light: #1e1e2e; |
|||
border-col: #1e1e2e; |
|||
selected-col: #1e1e2e; |
|||
blue: #89b4fa; |
|||
fg-col: #cdd6f4; |
|||
fg-col2: #f38ba8; |
|||
grey: #6c7086; |
|||
|
|||
width: 600; |
|||
font: "JetBrainsMono Nerd Font 14"; |
|||
} |
|||
|
|||
element-text, element-icon , mode-switcher { |
|||
background-color: inherit; |
|||
text-color: inherit; |
|||
} |
|||
|
|||
window { |
|||
height: 360px; |
|||
border: 3px; |
|||
border-color: @border-col; |
|||
background-color: @bg-col; |
|||
} |
|||
|
|||
mainbox { |
|||
background-color: @bg-col; |
|||
} |
|||
|
|||
inputbar { |
|||
children: [prompt,entry]; |
|||
background-color: @bg-col; |
|||
border-radius: 5px; |
|||
padding: 2px; |
|||
} |
|||
|
|||
prompt { |
|||
background-color: @blue; |
|||
padding: 6px; |
|||
text-color: @bg-col; |
|||
border-radius: 3px; |
|||
margin: 20px 0px 0px 20px; |
|||
} |
|||
|
|||
textbox-prompt-colon { |
|||
expand: false; |
|||
str: ":"; |
|||
} |
|||
|
|||
entry { |
|||
padding: 6px; |
|||
margin: 20px 0px 0px 10px; |
|||
text-color: @fg-col; |
|||
background-color: @bg-col; |
|||
} |
|||
|
|||
listview { |
|||
border: 0px 0px 0px; |
|||
padding: 6px 0px 0px; |
|||
margin: 10px 0px 0px 20px; |
|||
columns: 2; |
|||
lines: 5; |
|||
background-color: @bg-col; |
|||
} |
|||
|
|||
element { |
|||
padding: 5px; |
|||
background-color: @bg-col; |
|||
text-color: @fg-col ; |
|||
} |
|||
|
|||
element-icon { |
|||
size: 25px; |
|||
} |
|||
|
|||
element selected { |
|||
background-color: @selected-col ; |
|||
text-color: @fg-col2 ; |
|||
} |
|||
|
|||
mode-switcher { |
|||
spacing: 0; |
|||
} |
|||
|
|||
button { |
|||
padding: 10px; |
|||
background-color: @bg-col-light; |
|||
text-color: @grey; |
|||
vertical-align: 0.5; |
|||
horizontal-align: 0.5; |
|||
} |
|||
|
|||
button selected { |
|||
background-color: @bg-col; |
|||
text-color: @blue; |
|||
} |
|||
|
|||
message { |
|||
background-color: @bg-col-light; |
|||
margin: 2px; |
|||
padding: 2px; |
|||
border-radius: 5px; |
|||
} |
|||
|
|||
textbox { |
|||
padding: 6px; |
|||
margin: 20px 0px 0px 20px; |
|||
text-color: @blue; |
|||
background-color: @bg-col-light; |
|||
} |
@ -0,0 +1,5 @@ |
|||
#!/bin/sh |
|||
|
|||
DIR="$(realpath "$(dirname "$0")")" |
|||
set -x |
|||
stow -d "$DIR" -t "$HOME" $@ |
@ -0,0 +1,32 @@ |
|||
#!/bin/bash |
|||
|
|||
|
|||
pgrep -x sxhkd 2> /dev/null || sxhkd -c ~/.config/berry/sxhkdrc & |
|||
|
|||
feh --bg-fill ~/wallpaper/banner.jpg |
|||
pkill picom; picom & |
|||
ruler & |
|||
~/.config/polybar/launch.sh & |
|||
|
|||
# Set decoration geometry |
|||
berryc border_width 0 |
|||
berryc inner_border_width 0 |
|||
berryc title_height 30 |
|||
berryc edge_gap 42 42 6 6 |
|||
|
|||
berryc draw_text false |
|||
|
|||
# Set decoration colors |
|||
berryc focus_color 292D3E |
|||
berryc unfocus_color 292D3E |
|||
|
|||
berryc inner_focus_color 89b4fa |
|||
berryc inner_unfocus_color 585b70 |
|||
|
|||
berryc text_focus_color cdd6f4 |
|||
berryc text_unfocus_color cdd6f4 |
|||
|
|||
# Other options |
|||
berryc smart_place "true" |
|||
berryc edge_lock "true" |
|||
berryc set_font "JetBrains Mono Nerd Font-9" |
@ -0,0 +1,70 @@ |
|||
# |
|||
# wm independent hotkeys |
|||
# |
|||
|
|||
# terminal emulator |
|||
super + shift + Return |
|||
alacritty -e tmux |
|||
|
|||
super + shift + a |
|||
alacritty |
|||
|
|||
super + shift + w |
|||
firefox |
|||
|
|||
# program launcher |
|||
super + space |
|||
rofi -show drun |
|||
|
|||
super + w |
|||
rofi -show window |
|||
|
|||
# make sxhkd reload its configuration files: |
|||
super + Escape |
|||
pkill -USR1 -x sxhkd |
|||
|
|||
# |
|||
# berry hotkeys |
|||
# |
|||
|
|||
super + {h, j, k, l} |
|||
berryc window_move {-50 0, 0 50, 0 -50, 50 0} |
|||
|
|||
super + shift + {h, j, k, l} |
|||
berryc window_resize {-50 0, 0 50, 0 -50, 50 0} |
|||
|
|||
super + {1-9} |
|||
berryc switch_workspace {0-9} |
|||
|
|||
super + shift + {1-9} |
|||
berryc send_to_workspace {0-9} |
|||
|
|||
super + m |
|||
berryc window_monocle |
|||
|
|||
super + f |
|||
berryc fullscreen |
|||
|
|||
super + p |
|||
berryc snap_right |
|||
|
|||
super + o |
|||
berryc snap_left |
|||
|
|||
super + n |
|||
berryc toggle_decorations |
|||
|
|||
super + {Tab,r} |
|||
berryc cycle_focus |
|||
|
|||
super + shift + e |
|||
killall berry |
|||
|
|||
super + shift + q |
|||
berryc window_close |
|||
|
|||
super + c |
|||
berryc window_center |
|||
|
|||
~button1 |
|||
berryc pointer_focus |
@ -0,0 +1,19 @@ |
|||
#vim:ft=conf |
|||
|
|||
fade-in-step = 1.0 |
|||
fade-out-step = 1.0 |
|||
|
|||
backend = "xrender" |
|||
#backend = "glx" |
|||
|
|||
opacity-rule = [ |
|||
"100:class_g = 'Brave-browser'" |
|||
] |
|||
|
|||
blur-background-exclude = [ |
|||
"class_g = 'zoom'" |
|||
] |
|||
|
|||
rounded-corners-exclude = [ |
|||
"class_g = 'Polybar'" |
|||
] |
@ -0,0 +1,5 @@ |
|||
#!/bin/sh |
|||
|
|||
DIR="$(realpath "$(dirname "$0")")" |
|||
set -x |
|||
stow -d "$DIR" -t "$HOME" $@ |
@ -1,77 +0,0 @@ |
|||
filetype plugin indent on |
|||
filetype on |
|||
|
|||
" options |
|||
set nu |
|||
set rnu |
|||
|
|||
set mouse+=a |
|||
set linebreak |
|||
set shiftwidth=2 |
|||
set tabstop=2 |
|||
set softtabstop=2 |
|||
set expandtab |
|||
set smarttab |
|||
set shiftround |
|||
set autoindent |
|||
set textwidth=80 |
|||
set colorcolumn=80 |
|||
set list |
|||
set nowrap |
|||
|
|||
set undofile nohlsearch incsearch |
|||
|
|||
set scrolloff=7 |
|||
|
|||
autocmd FileType tex,text set nosmarttab autoindent |
|||
autocmd Filetype python set textwidth=0 formatprg=autopep8 shiftwidth=4 tabstop=4 softtabstop=4 |
|||
autocmd FileType c,cpp,slang set nosmarttab autoindent |
|||
autocmd Filetype markdown set nosmarttab shiftwidth=4 tabstop=4 softtabstop=4 autoindent |
|||
|
|||
" Remaps |
|||
|
|||
let g:mapleader=" " |
|||
nnoremap j gj |
|||
nnoremap k gk |
|||
|
|||
nnoremap <C-h>, <C-w>h |
|||
nnoremap <C-j>, <C-w>j |
|||
nnoremap <C-k>, <C-w>k |
|||
nnoremap <C-l>, <C-w>l |
|||
|
|||
nnoremap <C-h> <C-w>h |
|||
nnoremap <C-j> <C-w>j |
|||
nnoremap <C-k> <C-w>k |
|||
nnoremap <C-l> <C-w>l |
|||
|
|||
inoremap <A-a> ā |
|||
inoremap <A-e> ē |
|||
inoremap <A-i> ī |
|||
inoremap <A-o> ō |
|||
inoremap <A-u> ū |
|||
|
|||
nnoremap <F12> :w<BAR>:!texbld run compile<CR> |
|||
nnoremap <F5> :w<BAR>:!./test.sh<CR> |
|||
|
|||
vnoremap J :m '>+1<CR>gv=gv |
|||
vnoremap K :m '<-2<CR>gv=gv |
|||
|
|||
nnoremap J mzJ`z |
|||
nnoremap <C-d> <C-d>zz |
|||
nnoremap <C-u> <C-u>zz |
|||
nnoremap n nzzzv |
|||
nnoremap N Nzzzv |
|||
|
|||
xnoremap <leader>p _dP |
|||
vnoremap <leader>y +y |
|||
nnoremap <leader>y +y |
|||
nnoremap <leader>Y +Y |
|||
nnoremap <leader>x :!chmod +x %:p<CR> |
|||
nnoremap <leader>X :!chmod -x %<CR> |
|||
nnoremap <leader>e :! %:p<CR> |
|||
|
|||
|
|||
" Status Line |
|||
" https://www.tdaly.co.uk/projects/vim-statusline-generator/ |
|||
" |
|||
|
Write
Preview
Loading…
Cancel
Save
Reference in new issue