aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbozo.kopic <bozo@kopic.xyz>2021-09-08 19:07:22 +0200
committerbozo.kopic <bozo@kopic.xyz>2021-09-08 19:07:22 +0200
commit112a38a0d4f3debab29749352c61968bee98e477 (patch)
tree59f46ec616789ae720f1337a077a41d11b7607db
parenta101b398cc11ddbb57726be81a419e9f5ad987e7 (diff)
.
-rwxr-xr-xinstall.sh4
-rw-r--r--polybar/config34
-rw-r--r--rofi/config.rasi6
-rw-r--r--vim/.vimrc4
-rw-r--r--xorg/.Xresources4
5 files changed, 29 insertions, 23 deletions
diff --git a/install.sh b/install.sh
index bdf7abe..59e5fd8 100755
--- a/install.sh
+++ b/install.sh
@@ -102,6 +102,10 @@ symlink ~/.dotfiles/qutebrowser/autoconfig.yml ~/.config/qutebrowser/autoconfig.
mkdir -p ~/.config/ranger
symlink ~/.dotfiles/ranger/rc.conf ~/.config/ranger/rc.conf
+# rofi
+mkdir -p ~/.config/rofi
+symlink ~/.dotfiles/rofi/config.rasi ~/.config/rofi/config.rasi
+
# shell
symlink ~/.dotfiles/shell/.profile ~/.profile
diff --git a/polybar/config b/polybar/config
index 9aa7361..79ddf7c 100644
--- a/polybar/config
+++ b/polybar/config
@@ -4,7 +4,7 @@ monitor-exact = true
override-redirect = false
bottom = false
height = 30
-padding = 2
+padding = 1
background = #000000
foreground = #ffffff
font-0 = "RobotoMono Nerd Font:size=12"
@@ -12,9 +12,9 @@ font-1 = "Inter Medium:size=12"
module-margin = 1
separator = |
separator-foreground = #919191
-modules-left = bspwm title
-modules-center =
-modules-right = wlan0 eth0 pulseaudio battery date
+modules-left = bspwm
+modules-center = title
+modules-right = wireless wired pulseaudio battery date
[bar/bar1]
inherit = bar/base
@@ -32,17 +32,17 @@ type = internal/bspwm
pin-workspaces = true
format = <label-state>
label-dimmed-focused-background = ${bar/base.background}
-label-focused = [ %name% ]
+label-focused = " %name% "
label-focused-foreground = ${bar/base.foreground}
label-focused-background = #3f3f3f
-label-occupied = %name%
-label-urgent = %name%
+label-occupied = " %name% "
+label-urgent = " %name% "
label-urgent-foreground = ${bar/base.foreground}
label-urgent-background = #bd2c40
-label-empty = %name%
+label-empty = " %name% "
label-empty-foreground = #555555
-label-separator = |
-label-separator-padding = 2
+label-separator =
+label-separator-padding =
label-separator-foreground = ${bar/base.separator-foreground}
[module/title]
@@ -50,19 +50,19 @@ type = internal/xwindow
label = %{T2}%title%
label-maxlen = 75
-[module/wlan0]
+[module/wireless]
type = internal/network
-interface = wlan0
-label-connected = 直 %essid% %local_ip%
+interface-type = wireless
+label-connected = 直
label-connected-foreground = ${bar/base.foreground}
label-disconnected = 睊
label-disconnected-foreground = #66ffffff
click-right = connman-gtk &
-[module/eth0]
+[module/wired]
type = internal/network
-interface = eth0
-label-connected = ﯱ %local_ip%
+interface-type = wired
+label-connected = ﯱ
label-connected-foreground = ${bar/base.foreground}
label-disconnected = 
label-disconnected-foreground = #66ffffff
@@ -72,7 +72,7 @@ click-left = connman-gtk &
type = internal/pulseaudio
use-ui-max = false
format-volume = <ramp-volume> <label-volume>
-label-volume = %percentage:3%%
+label-volume = %percentage:3%
label-muted = 婢 muted
label-muted-foreground = #666
ramp-volume-0 = 奄
diff --git a/rofi/config.rasi b/rofi/config.rasi
new file mode 100644
index 0000000..d43ad82
--- /dev/null
+++ b/rofi/config.rasi
@@ -0,0 +1,6 @@
+configuration {
+ modi: "drun,run,window";
+ font: "Inter Medium 12";
+ show-icons: true;
+ theme: "Monokai";
+}
diff --git a/vim/.vimrc b/vim/.vimrc
index 1ca8ab2..73ad80d 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -77,7 +77,7 @@ autocmd FileType make set tabstop=4 shiftwidth=8 softtabstop=0 noexpandtab
" gui settings
set linespace=4
-set guifont=Droid\ Sans\ Mono-20
+set guifont=Droid\ Sans\ Mono:h14
"if exists('g:GuiLoaded')
"GuiTabline 0
"endif
@@ -153,7 +153,7 @@ let g:ale_echo_msg_format = '[%linter%] %s [%severity%]'
"let g:ycm_show_diagnostics_ui = 0
" completion options
-set completeopt=menuone
+set completeopt=menuone,preview,noinsert
set omnifunc=ale#completion#OmniFunc
" use ack.vim with ag
diff --git a/xorg/.Xresources b/xorg/.Xresources
index 6af6e9e..62c6ead 100644
--- a/xorg/.Xresources
+++ b/xorg/.Xresources
@@ -1,6 +1,2 @@
Xcursor.theme: Neutral
Xcursor.size: 32
-rofi.font: Inter Medium 12
-rofi.modi: drun,run,window
-rofi.show-icons: true
-rofi.theme: Monokai