diff --git a/files/.config/i3/config b/files/.config/i3/config index 59d2676..c9f2c4e 100644 --- a/files/.config/i3/config +++ b/files/.config/i3/config @@ -51,8 +51,9 @@ bindsym $mod+p workspace prev set $fg '#ffffff' set $bg '#000000' set $acc '#98c379' -bindsym $mod+d exec "dmenu_run -fn 'FiraCode Nerd Font Mono' -nb $bg -sb $acc -nf $fg -sf $bg" -bindsym $mod+space exec "dmenu_run -fn 'FiraCode Nerd Font Mono' -nb $bg -sb $acc -nf $fg -sf $bg" +set $font 'Product Sans' +bindsym $mod+d exec "dmenu_run -fn $font -nb $bg -sb $acc -nf $fg -sf $bg" +bindsym $mod+space exec "dmenu_run -fn $font -nb $bg -sb $acc -nf $fg -sf $bg" # Screenhot bindsym $mod+Shift+p exec "flameshot gui" @@ -176,4 +177,5 @@ exec nextcloud exec feh --bg-scale $HOME/data/wallpaper/wallpaper.png exec dunst exec picom -exec --no-startup-id ~/.config/polybar/launch.sh +exec ~/scripts/fix_screens.sh +exec ~/.config/polybar/launch.sh diff --git a/files/.config/polybar/config b/files/.config/polybar/config index f74ac50..8de7b02 100644 --- a/files/.config/polybar/config +++ b/files/.config/polybar/config @@ -28,6 +28,8 @@ padding-right = 2 separator = +locale = + modules-left = i3 spotify modules-center = date time modules-right = cpu memory network volume backlight battery @@ -72,8 +74,7 @@ ws-icon-8 = 9;九 ws-icon-9 = 10;十 label-focused = "%icon%" -label-focused-foreground = ${colors.background} -label-focused-background = ${colors.accent} +label-focused-foreground = ${colors.accent} label-focused-padding = 2 label-unfocused = "%icon%" diff --git a/files/.config/polybar/launch.sh b/files/.config/polybar/launch.sh index d33f806..c1b8ca1 100755 --- a/files/.config/polybar/launch.sh +++ b/files/.config/polybar/launch.sh @@ -3,7 +3,7 @@ while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done if type "xrandr"; then for mon in $(xrandr --query | grep " connected" | cut -d" " -f1); do - if [ $mon = "eDP-1" ]; then + if [ $mon = "eDP" ]; then MONITOR=$mon polybar --reload laptop & elif [ $mon = "DP-3" ]; then MONITOR="DP-3" polybar --reload desktop & diff --git a/files/.vimrc b/files/.vimrc index 2f477c4..fea0bf9 100644 --- a/files/.vimrc +++ b/files/.vimrc @@ -88,8 +88,8 @@ let g:lightline.active = { \ 'right': [['lineinfo'], ['percent'], ['fileformat', 'fileencoding', 'filetype']] \ } -let g:lightline.separator = { 'left': "", 'right': "" } -let g:lightline.tabline_separator = { 'left': "", 'right': "" } +"let g:lightline.separator = { 'left': "", 'right': "" } +"let g:lightline.tabline_separator = { 'left': "", 'right': "" } let g:lightline.subseparator = { 'left': '|', 'right': '|' } " ============================== Indents and Whitespaces diff --git a/files/scripts/fix_screens.sh b/files/scripts/fix_screens.sh new file mode 100755 index 0000000..18aa351 --- /dev/null +++ b/files/scripts/fix_screens.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +if [ `hostname` = "nazarick" ]; then + xrandr --output DP-3 --right-of DP-1 --primary +fi diff --git a/themes/Material-Discord.theme.css b/themes/Material-Discord.theme.css new file mode 100644 index 0000000..7641a38 --- /dev/null +++ b/themes/Material-Discord.theme.css @@ -0,0 +1,11 @@ +/** + * @name Material_Discord + * @version 2.3.3.10 + * @description A theme based on Google's Material Design + * @author CapnKitten + * + * @website http://github.com/CapnKitten + * @source https://github.com/CapnKitten/BetterDiscord/blob/master/Themes/Material-Discord/css/source.css + */ + +@import url(https://capnkitten.github.io/BetterDiscord/Themes/Material-Discord/css/source.css);