diff --git a/dot_config/i3/config b/dot_config/i3/config index 88567fc..12b088b 100644 --- a/dot_config/i3/config +++ b/dot_config/i3/config @@ -15,7 +15,7 @@ set $terminal wezterm-gui start set $pwman 1password --quick-access # Set DPI value -set_from_resource $dpi Xft.dpi 96 +set_from_resource $dpi Xft.dpi 140 # Configure border style default_border pixel 2 @@ -49,6 +49,7 @@ bindsym $mod+t exec --no-startup-id pkill picom bindsym $mod+Ctrl+t exec --no-startup-id picom -b bindsym $mod+Ctrl+x exec --no-startup-id xkill bindsym $hyper+p --release exec --no-startup-id flameshot gui +bindsym $hyper+space exec --no-startup-id gopass ls --flat | rofi -dmenu | xargs --no-run-if-empty gopass show -o | xdotool type --clearmodifiers --file - # change focus bindsym $modFocus+h focus left @@ -177,19 +178,21 @@ mode "resize" { # Autostart applications exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 +exec --no-startup-id /usr/bin/gnome-keyring-daemon -c secrets exec --no-startup-id 1password --silent exec --no-startup-id blueman-applet exec --no-startup-id dunst exec --no-startup-id pcmanfm -d +exec --no-startup-id setxkbmap -option caps:ctrl_modifier exec --no-startup-id sleep 1; picom -b -exec --no-startup-id mpd_discord_richpresence --no-idle --fork +exec --no-startup-id ~/.screenlayout/main.sh # Set inner/outer gaps -gaps inner 0 -gaps outer 0 +gaps inner 1 +gaps outer 1 # Smart gaps (gaps used if only more than one container on the workspace) -smart_gaps off +smart_gaps on # Smart borders (draw borders around container only if it is not the only container on this workspace) # on|no_gaps (on=always activate and no_gaps=only activate if the gap size to the edge of the screen is 0) @@ -236,7 +239,7 @@ mode "$mode_gaps_outer" { # rofi instead of drun -bindsym $mod+space exec --no-startup-id rofi -show run -dpi $dpi +bindsym $mod+space exec --no-startup-id rofi -show drun -dpi $dpi # 1password bindsym $mod+Shift+space exec --no-startup-id $pwman @@ -249,16 +252,16 @@ bindsym XF86AudioPrev exec --no-startup-id playerctl previous bindsym XF86AudioPause exec --no-startup-id playerctl play-pause # Theme colors -# class border backgr. text indic. child_border -client.focused #313244 #000000 #CDD6F4 #000000 #313244 -client.focused_inactive #000000 #000000 #9399B2 #000000 #313244 -client.unfocused #000000 #000000 #9399B2 #000000 #000000 -client.urgent #313244 #313244 #F38BA8 #000000 #F38BA8 -client.placeholder #313244 #000000 #CDD6F4 #000000 #000000 +# class title bg text indic. border +client.focused #F5C2E7 #000000 #CDD6F4 #F5E0DC #F5C2E7 +client.focused_inactive #CBA6F7 #000000 #9399B2 #F5E0DC #CBA6F7 +client.unfocused #CBA6F7 #000000 #9399B2 #F5E0DC #CBA6F7 +client.urgent #F38BA8 #000000 #F38BA8 #313244 #F38BA8 +client.placeholder #313244 #000000 #CDD6F4 #313244 #313244 client.background #000000 bar { - status_command I3RS_GITHUB_TOKEN=$(gopass git/winston) i3status-rs + status_command i3status-rs tray_output primary tray_padding 2 diff --git a/dot_config/rofi/colors.rasi b/dot_config/rofi/colors.rasi index 785feba..d778adf 100644 --- a/dot_config/rofi/colors.rasi +++ b/dot_config/rofi/colors.rasi @@ -1,21 +1,32 @@ /* colors */ * { - al: #00000000; - bg: #2A212CFF; - bga: #0a0a0aFF; - fg: #FF80BFFF; - ac: #fdd835FF; - se: #fdd8351A; - drac-bgd: #2A212C; - drac-cur: #544158; - drac-fgd: #F8F8F2; - drac-cmt: #9F70A9; - drac-cya: #80FFEA; - drac-grn: #8AFF80; - drac-ora: #FFCA80; - drac-pnk: #FF80BF; - drac-pur: #9580FF; - drac-red: #FF9580; - drac-yel: #FFFF80; + rosewater: #f5e0dc; + flamingo: #f2cdcd; + pink: #f5c2e7; + mauve: #cba6f7; + red: #f38ba8; + maroon: #eba0ac; + peach: #fab387; + yellow: #f9e2af; + green: #a6e3a1; + teal: #94e2d5; + sky: #89dceb; + sapphire: #74c7ec; + blue: #89b4fa; + lavender: #b4befe; + text: #cdd6f4; + subtext1: #bac2de; + subtext0: #a6adc8; + overlay2: #9399b2; + overlay1: #7f849c; + overlay0: #6c7086; + surface2: #585b70; + surface1: #45475a; + surface0: #313244; + base: #1e1e2e; + mantle: #181825; + crust: #11111b; } + +/* vim:ft=css */ diff --git a/dot_config/rofi/config.rasi b/dot_config/rofi/config.rasi index 4ec20be..8d1913a 100644 --- a/dot_config/rofi/config.rasi +++ b/dot_config/rofi/config.rasi @@ -1,23 +1,21 @@ @import "colors.rasi" * { - font: "Jetbrains Mono NerdFont 12"; + font: "Berkeley Mono 12"; + foreground: @text; + background: @base; - foreground: @drac-fgd; - background: @drac-bgd; - active-background: @drac-pnk; - urgent-background: @drac-red; + active-background: @pink; + urgent-background: @red; - selected-background: @active-background; - selected-urgent-background: @urgent-background; - selected-active-background: @active-background; - separatorcolor: @active-background; - bordercolor: @drac-cmt; + selected-background: @surface2; + selected-urgent-background: @surface2; + selected-active-background: @surface2; } #window { background-color: @background; - border-color: @bordercolor; + border-color: @pink; border: 2; padding: 0; } @@ -28,9 +26,9 @@ } #message { - border: 1px dash 0px 0px ; - border-color: @separatorcolor; - padding: 1px ; + border: 1px; + border-color: @crust; + padding: 1px; } #textbox { @@ -39,11 +37,10 @@ #listview { fixed-height: 0; - border: 2px 0px 0px; - border-color: @bordercolor; - spacing: 2px; - scrollbar: false; - padding: 0px 0px 0px ; + border: 1 0 0; + border-color: @rosewater; + scrollbar: true; + padding: 0; } #element { @@ -52,78 +49,92 @@ } #element.normal.normal { - background-color: @background; - text-color: @foreground; -} -#element.normal.urgent { - background-color: @urgent-background; - text-color: @urgent-foreground; + background-color: @base; + text-color: @text; } #element.normal.active { - background-color: @active-background; - text-color: @background; + background-color: @surface2; + text-color: @text; } #element.selected.normal { background-color: @selected-background; - text-color: @foreground; -} -#element.selected.urgent { - background-color: @selected-urgent-background; - text-color: @foreground; + text-color: @text; } #element.selected.active { - background-color: @selected-active-background; - text-color: @background; + background-color: @surface2; + text-color: @crust; } #element.alternate.normal { - background-color: @background; - text-color: @foreground; -} -#element.alternate.urgent { - background-color: @urgent-background; - text-color: @foreground; + background-color: @base; + text-color: @text; } #element.alternate.active { background-color: @active-background; text-color: @foreground; } + +#element.normal.urgent { + background-color: @crust; + text-color: @red; +} +#element.selected.urgent { + background-color: @selected-urgent-background; + text-color: @text; +} +#element.alternate.urgent { + background-color: @urgent-background; + text-color: @text; +} + #scrollbar { + background-color: @crust; width: 2px ; border: 0; handle-width: 8px ; padding: 0; } + #sidebar { border: 2px dash 0px 0px ; - border-color: @separatorcolor; + border-color: @crust; } + #button.selected { - background-color: @selected-background; - text-color: @foreground; + background-color: @base; + text-color: @text; } + #inputbar { spacing: 0; - text-color: @foreground; + text-color: @text; padding: 1px ; } #case-indicator { spacing: 0; - text-color: @foreground; + text-color: @text; } #entry { spacing: 0; - text-color: @drac-cya; + text-color: @text; } #prompt { spacing: 0; - text-color: @drac-grn; + text-color: @pink; } #inputbar { - children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; + children: [ + prompt, + textbox-prompt-colon, + entry, + case-indicator + ]; } + #textbox-prompt-colon { expand: false; str: ":"; - margin: 0px 0.3em 0em 0em ; - text-color: @drac-grn; + margin: 0 0.5em 0 0; + text-color: @pink; } + +/* vim:ft=css */