Laptop fixes

laptop
Elias Almqvist 1 year ago
commit fca5b6e293
No known key found for this signature in database
GPG Key ID: E31A99CE3E75A158
  1. BIN
      .wallpaper.png
  2. 4
      alacritty/.config/alacritty/alacritty.yml
  3. 165
      eww/.config/eww/eww.scss
  4. 217
      eww/.config/eww/eww.yuck
  5. 2
      nvim/.config/nvim/init.lua
  6. 5
      nvim/.config/nvim/plugin/after/lsp.lua
  7. 30
      picom/.config/picom/picom.conf
  8. BIN
      preview.png
  9. 32
      rofi/.config/rofi/doomsidebar.rasi
  10. 30
      zathura/.config/zathura/gruvbox-dark
  11. 13
      zsh/.zshrc

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 MiB

After

Width:  |  Height:  |  Size: 13 MiB

@ -6,8 +6,8 @@ background_opacity: 1.0
window: window:
padding: padding:
x: 8 x: 16
y: 8 y: 16
# Window title # Window title
title: Terminal title: Terminal

@ -29,160 +29,119 @@ $anim-transition: 150ms;
* { * {
all: unset; //Unsets everything so you can style everything from scratch all: unset; //Unsets everything so you can style everything from scratch
font-family: "Fira Code"; font-family: "Lato Mono";
// color: $fg-color;
} }
tooltip { tooltip {
color: $fg-alt-color; color: $fg-color;
background-color: $bg-alt-color; background-color: $bg-alt-color;
border-radius: 12px;
} }
.bar-1, .bar-1,
.bar-2 { .bar-2 {
background-color: $bg-color; background-color: rgba(29, 31, 33, 0.65);
color: $fg-alt-color;
border-right: solid 1px $border-color;
} }
.segment-end { .main-cont {
padding-left: 1.5rem;
padding-right: 1.5rem;
padding-top: 1px;
} }
// Styles on classes (see eww.yuck for more information) .segment-start,
button { .segment-middle,
transition-property: opacity, color; .segment-end {
transition-duration: $anim-transition;
} }
// Workspaces .icon {
.workspaces { opacity: 1;
padding: .3rem; transition: opacity $anim-transition;
} }
.workspaces > button { .icon:hover {
font-size: $font-size; opacity: 0.6;
margin: 4px;
} }
.workspaces > button:hover { .inactive,
color: $fg-sel-color; .active {
opacity: 0.8; font-size: 1.4rem;
} }
button.active { .inactive {
// font-weight: bold; color: $fg-alt-color;
color: $fg-sel-color; transition: color $anim-transition;
} }
.active {
button.inactive { color: $fg-color;
color: $fg-desel-color;
} }
// Generic stuff // POWERMENU
scale trough { .pm-inner {
all: unset; padding-left: 6px;
background-color: $bg-alt-color; padding-right: 6px;
border-radius: 5px; margin-top: -1px;
min-height: 60px;
min-width: 4px;
margin: 0.3rem 0 0.3rem 0;
} }
// Menu .pm-inner button {
.powermenu { font-size: 16px;
transition: color $anim-transition;
// border-right: solid 1px $border-color;
padding: 0.5rem 0.2rem 0.3rem 0.2rem;
} }
.quit,
.lock,
.reboot,
.poweroff { .poweroff {
// padding: .5rem .2rem .3rem .2rem;
}
// Colors for the buttons
.lock:hover {
color: $blue;
}
.quit:hover {
color: $green;
}
.reboot:hover {
color: $yellow;
}
.poweroff:hover {
color: $red; color: $red;
} }
.pm-active { .reboot {
// background-color: $bg-alt-color; color: $yellow;
// border-radius: 5px;
} }
.pm-inner { .logout {
padding: 0.2rem 0; color: $green;
} }
// Control .lock {
.control { color: $blue;
margin-bottom: $logo-size;
margin-bottom: 0.5rem;
font-family: Material Icons;
font-size: 1.6em;
} }
// ICON & LOGO
.icon { .icon {
margin: 0 0.2rem; font-size: 1.2rem;
font-size: $icon-size; padding-left: 6px;
font-family: Material Icons; padding-right: 6px;
padding: 0 1px;
} }
.icon:hover { .logo {
opacity: 0.6; font-weight: 600;
} }
// Volume stuff .logo-seperator {
.volbar trough highlight { border-left: 2px solid $fg-color;
background-color: $fg-accent;
border-radius: 5px;
} }
// Time
.time { .time {
// color: $fg-alt-color; font-size: 1rem;
font-size: 11px; font-weight: 600;
font-weight: bold;
border-top: solid 2px $fg-alt-color;
padding-top: 1rem;
margin-bottom: 0.5rem;
}
// Logo button
.logo {
margin: 0 0.8rem;
margin-top: 6px;
font-size: $logo-size;
} }
.logo-seperator { // Volume stuff
border-bottom: 2px solid $border-color; .vol {
padding-bottom: 0.4rem; padding-left: 0;
} }
// Color overrides .volbar trough highlight {
.red { background-color: $fg-accent;
color: $red; border-radius: 8px;
opacity: 0.8;
} }
// Music widget scale trough {
.musicmenu { all: unset;
// background-color: $bg-alt-color; background-color: $bg-alt-color;
border-radius: 8px;
min-height: 6px;
min-width: 70px;
margin: 0px 8px 0px 0px;
} }
.mm-inner { .red {
color: $blue; color: $red;
} }

@ -1,57 +1,42 @@
(defwidget bar [screen] (defwidget bar-1 [screen]
(box :orientation "v" (box :class "main-cont"
:vexpand "false" :orientation "h"
:hexpand "false"
(box :class "segment-start" (box :class "segment-start"
:valign "start" :halign "start"
:halign "center"
:space-evenly false
:orientation "v"
:space-evenly false
(power :screen screen)
)
(box :class "segment-mid"
:valign "center" :valign "center"
:halign "center" (start-control :screen screen)
:orientation "v"
:space-evenly false
(workspaces :wsp workspaces-data :screen screen)
) )
(box :class "segment-end" (box :class "segment-center"
:valign "end"
:halign "center" :halign "center"
:orientation "v" :valign "center"
:space-evenly true :space-evenly true
(control :screen screen) (mid-control)
)
(box :class "segment-end"
:halign "end"
:valign "center"
(end-control)
) )
) )
) )
(defwidget bar-2 [screen] (defwidget bar-2 [screen]
(box :orientation "v" (box :class "main-cont"
:vexpand "false" :orientation "h"
:hexpand "false"
(box :class "segment-start" (box :class "segment-start"
:valign "start" :halign "start"
:halign "center"
:space-evenly false
:orientation "v"
:space-evenly false
;; (power :screen screen)
)
(box :class "segment-mid"
:valign "center" :valign "center"
:halign "center" (start-control :screen screen)
:orientation "v"
:space-evenly false
(workspaces :wsp workspaces-data :screen screen)
) )
(box :class "segment-end" (box :class "segment-center"
:valign "end"
:halign "center" :halign "center"
:orientation "v" :valign "center"
:space-evenly true :space-evenly true
(control-2 :screen screen) (mid-control)
)
(box :class "segment-end"
:halign "end"
:valign "center"
) )
) )
) )
@ -60,110 +45,102 @@
(defwidget power [] (defwidget power []
(eventbox ;;:onhover "${EWW_CMD} update power=true" (eventbox ;;:onhover "${EWW_CMD} update power=true"
:onhoverlost "${EWW_CMD} update power=false" :onhoverlost "${EWW_CMD} update power=false"
(box :orientation "v" (box :orientation "h"
:space-evenly "false" :space-evenly "false"
:vexpand "false" :vexpand "false"
:class "powermenu ${power ? 'pm-active' : ''}" :class "powermenu ${power ? 'pm-active' : ''}"
;; Open menu button ;; Open menu button
(button :class "icon logo ${power ? 'logo-seperator' : ''}" (revealer :transition "slideleft"
:tooltip "Open menu"
:onclick "${EWW_CMD} update power=true" "Λ")
(revealer :transition "slidedown"
:reveal power :reveal power
:duration "450ms" :duration "450ms"
(box :orientation "v" (box :orientation "h"
:class "pm-inner" :class "pm-inner"
:space-evenly true :space-evenly true
:halign "middle" :valign "center"
:spacing 6 :spacing 8
;; Lock screen ;; Lock screen
(button :class "icon lock" (button :class "icon lock"
:tooltip "Lock screen" :tooltip "Lock screen"
:onclick "betterlockscreen -l" "") :onclick "betterlockscreen -l" "󰌾")
;; Quit WM (goto login manager) ;; Quit WM (goto login manager)
(button :class "icon quit" (button :class "icon logout"
:tooltip "Logout" :tooltip "Logout"
:onclick "loginctl kill-session $XDG_SESSION_ID" "") :onclick "loginctl kill-session $XDG_SESSION_ID" "󰍃")
;; Reboot ;; Reboot
(button :class "icon reboot" (button :class "icon reboot"
:tooltip "Reboot" :tooltip "Reboot"
:onclick "reboot" "") :onclick "reboot" "󰑓")
;; Poweroff ;; Poweroff
(button :class "icon poweroff" (button :class "icon poweroff"
:tooltip "Poweroff" :tooltip "Poweroff"
:onclick "poweroff" "") :onclick "poweroff" "󰐥")
)) ))
(button :class "icon logo ${power ? 'logo-seperator' : ''}"
:tooltip "Open menu"
:onclick "${EWW_CMD} update power=true" "󰘧")
))) )))
(defvar power false) (defvar power false)
;; Control widget (container) ;; Control widget (container)
(defwidget control [] (defwidget start-control [screen]
(box :class "control" :spacing 12 :space-evenly false :orientation "v" (box :class "control" :spacing 16 :space-evenly false :orientation "h"
(music) (workspaces :wsp workspaces-data :screen screen)
(volume)
(wifi)
(bat)
(time)
) )
) )
(defwidget mid-control []
(defwidget control-2 [] (box :class "control" :spacing 16 :space-evenly false :orientation "h"
(box :class "control" :spacing 12 :space-evenly false :orientation "v"
;; (wifi)
;; (bat)
;; (music)
;; (volume)
(time) (time)
) )
) )
(defwidget end-control []
(box :class "control" :spacing 16 :space-evenly false :orientation "h"
(music)
(bat)
(wifi)
(volume)
(power)
)
)
;; Clock Widget ;; Clock Widget
(defwidget time [] (defwidget time []
(box :orientation "v" (box :orientation "h"
:class "time" :class "time"
:valign "end" :space-evenly "false"
(button :onclick "scripts/popup calendar" :halign "center"
:class "hour" hour)
(button :onclick "scripts/popup calendar"
:class "min" min)
(button :onclick "scripts/popup calendar" (button :onclick "scripts/popup calendar"
:class "sec" sec) :class "day" full-time)
)) ))
(defpoll hour :interval "1s" "date '+%H'") (defpoll full-time :interval "1s" "date +'%d %B (%m), %Y - %A %H:%M:%S'")
(defpoll min :interval "1s" "date '+%M'")
(defpoll sec :interval "1s" "date '+%S'")
;; Volume widget ;; Volume widget
(defwidget volume [] (defwidget volume []
(eventbox :onhover "${EWW_CMD} update volume=true" (eventbox :onhover "${EWW_CMD} update volume=true"
:onhoverlost "${EWW_CMD} update volume=false" :onhoverlost "${EWW_CMD} update volume=false"
(box :orientation "v" (box :class "" :space-evenly "false" :orientation "h" :spacing "4"
:space-evenly "false" (revealer :transition "slideleft"
:spacing 2
(revealer :transition "slideup"
:reveal volume :reveal volume
:duration "450ms" :duration "350ms"
(scale :class "volbar" (scale :class "volbar"
:value {current-volume != "" ? current-volume : "0"} :value current-volume
:orientation "v"
:flipped true :flipped true
:tooltip "Volume: ${current-volume}%" :orientation "h"
:max 101 :max 100
:min 0 :min 0
:onchange "amixer -D pulse sset Master {}%" :onchange "amixer -D pulse sset Master {}%" )
)
) )
(button :onclick "amixer -D pulse set Master 1+ toggle" (button :onclick "amixer -D pulse set Master 1+ toggle"
:class "icon volume + ${muted-volume != 'on' ? 'red' : ''}" :tooltip "Volume on/off"
:tooltip "Volume: ${current-volume}%" :class "icon vol" {muted-volume != "on" ? "󰝟" : "󰕾"}
{muted-volume != "on" ? "ﱝ" : "墳"} )
)
)
) )
)))
(defvar volume false) (defvar volume false)
(defpoll current-volume :interval "180ms" "amixer -D pulse sget Master | grep 'Left:' | awk -F'[][]' '{ print $2 }' | tr -d '%'") (defpoll current-volume :interval "180ms" "amixer -D pulse sget Master | grep 'Left:' | awk -F'[][]' '{ print $2 }' | tr -d '%'")
(defpoll muted-volume :interval "180ms" "amixer -D pulse sget Master | grep 'Left:' | awk -F'[][]' '{ print $4 }' | tr -d '%'") (defpoll muted-volume :interval "180ms" "amixer -D pulse sget Master | grep 'Left:' | awk -F'[][]' '{ print $4 }' | tr -d '%'")
@ -173,7 +150,7 @@
(box :orientation "v" (box :orientation "v"
:space-evenly "false" :space-evenly "false"
(label :class "icon bat" (label :class "icon bat"
:halign "middle" :halign "center"
:text battery :text battery
:tooltip "Battery: ${battery-cappacity}%"))) :tooltip "Battery: ${battery-cappacity}%")))
(defpoll battery :interval "1s" "scripts/battery icon") (defpoll battery :interval "1s" "scripts/battery icon")
@ -193,7 +170,7 @@
;; Workspaces container ;; Workspaces container
(defwidget workspaces [wsp] (defwidget workspaces [wsp]
(box :space-evenly true :spacing 4 :orientation "v" :class "workspaces" (box :space-evenly true :spacing 16 :orientation "h" :class "workspaces"
(for ws in wsp (for ws in wsp
(workspace :data ws) (workspace :data ws)
))) )))
@ -202,7 +179,9 @@
(defwidget workspace [data] (defwidget workspace [data]
(button :onclick "wmctrl -s ${data['index']}" (button :onclick "wmctrl -s ${data['index']}"
:class {data["iscurrent"] == true ? "active" : "inactive"} :class {data["iscurrent"] == true ? "active" : "inactive"}
"${data['name']}" ;; "${data['name']}"
:tooltip "Switch to workspace ${data['name']}"
{data["iscurrent"] == true ? "" : ""}
)) ))
(deflisten workspaces-data "scripts/workspace.py") (deflisten workspaces-data "scripts/workspace.py")
@ -211,39 +190,36 @@
(revealer :reveal {music-active == "true"} (revealer :reveal {music-active == "true"}
(eventbox :onhover "${EWW_CMD} update music=true" (eventbox :onhover "${EWW_CMD} update music=true"
:onhoverlost "${EWW_CMD} update music=false" :onhoverlost "${EWW_CMD} update music=false"
(box :orientation "v" (box :orientation "h"
:space-evenly "false" :space-evenly "false"
:vexpand "false"
:class "musicmenu ${music ? 'mm-active' : ''}" :class "musicmenu ${music ? 'mm-active' : ''}"
(revealer :transition "slideup" (revealer :transition "slideleft"
:reveal music :reveal music
:flipped true :flipped true
:duration "450ms" :duration "450ms"
(box :orientation "v" (box :orientation "h"
:class "mm-inner" :class "mm-inner"
:space-evenly true :space-evenly true
:halign "middle" :valign "center"
:spacing 4 :spacing 8
;; Next ;; Pause
(button :class "icon next" (button :class "icon prev"
:tooltip "Pause/play" :tooltip "Pause/play"
:onclick "playerctl next" "") :onclick "playerctl previous" "")
;; Pause ;; Pause
(button :class "icon pause" (button :class "icon pause"
:tooltip "Pause/play" :tooltip "Pause/play"
:onclick "playerctl play-pause" {music-status == "Playing" ? "" : ""}) :onclick "playerctl play-pause" {music-status == "Playing" ? "󰏤" : "󰐊"})
;; Next
;; Pause (button :class "icon next"
(button :class "icon prev"
:tooltip "Pause/play" :tooltip "Pause/play"
:onclick "playerctl previous" "") :onclick "playerctl next" "")
)) ))
;; Open menu button ;; Open menu button
(button :class "icon" (button :class "icon"
:tooltip "${title} - ${artist}" :tooltip "Music"
:onclick "${EWW_CMD} update music=true" "") :onclick "${EWW_CMD} update music=true" "󰎈")
) )
))) )))
@ -263,23 +239,24 @@
:windowtype "dock" :windowtype "dock"
:geometry (geometry :x "0%" :geometry (geometry :x "0%"
:y "0%" :y "0%"
:width "42px" :width "100%"
:height "100%" :height "32px"
:anchor "left center") :anchor "top center")
:reserve (struts :side "left" :distance "42px") :reserve (struts :side "top" :distance "32px")
:hexpand "false" :hexpand "false"
:vexpand "false" :vexpand "false"
(bar :screen 1)) (bar-1 :screen 1))
(defwindow bar-2 (defwindow bar-2
:monitor 1 :monitor 1
:windowtype "dock" :windowtype "dock"
:geometry (geometry :x "0%" :geometry (geometry :x "0%"
:y "0%" :y "0%"
:width "42px" :width "100%"
:height "100%" :height "32px"
:anchor "left center") :anchor "top center")
:reserve (struts :side "left" :distance "42px") :reserve (struts :side "top" :distance "32px")
:hexpand "false" :hexpand "false"
:vexpand "false" :vexpand "false"
(bar-2 :screen 2)) (bar-2 :screen 2))

@ -14,7 +14,7 @@ local theme = require("onedark")
theme.setup { theme.setup {
-- Main options -- -- Main options --
style = "warmer", -- Default theme style. Choose between "dark", "darker", "cool", "deep", "warm", "warmer" and "light" style = "warmer", -- Default theme style. Choose between "dark", "darker", "cool", "deep", "warm", "warmer" and "light"
transparent = false, -- Show/hide background transparent = true, -- Show/hide background
term_colors = true, -- Change terminal color as per the selected theme style term_colors = true, -- Change terminal color as per the selected theme style
ending_tildes = false, -- Show the end-of-buffer tildes. By default they are hidden ending_tildes = false, -- Show the end-of-buffer tildes. By default they are hidden
cmp_itemkind_reverse = false, -- reverse item kind highlights in cmp menu cmp_itemkind_reverse = false, -- reverse item kind highlights in cmp menu

@ -11,6 +11,7 @@ lsp.ensure_installed({
"clangd", "clangd",
"tailwindcss", "tailwindcss",
"prismals", "prismals",
"gopls",
}) })
local cmp = require("cmp") local cmp = require("cmp")
@ -37,8 +38,8 @@ lsp.on_attach(function(client, bufnr)
vim.keymap.set("n", "K", function() vim.lsp.buf.hover() end, opts) vim.keymap.set("n", "K", function() vim.lsp.buf.hover() end, opts)
vim.keymap.set("n", "<leader>vws", function() vim.lsp.buf.workspace_symbol() end, opts) vim.keymap.set("n", "<leader>vws", function() vim.lsp.buf.workspace_symbol() end, opts)
vim.keymap.set("n", "<leader>vd", function() vim.diagnostic.open_float() end, opts) vim.keymap.set("n", "<leader>vd", function() vim.diagnostic.open_float() end, opts)
vim.keymap.set("n", "[d", function() vim.diagnostic.goto_next() end, opts) vim.keymap.set("n", "fd", function() vim.diagnostic.goto_next() end, opts)
vim.keymap.set("n", "]d", function() vim.diagnostic.goto_prev() end, opts) vim.keymap.set("n", "ffd", function() vim.diagnostic.goto_prev() end, opts)
vim.keymap.set("n", "<leader>vca", function() vim.lsp.buf.code_action() end, opts) vim.keymap.set("n", "<leader>vca", function() vim.lsp.buf.code_action() end, opts)
vim.keymap.set("n", "<leader>vrr", function() vim.lsp.buf.references() end, opts) vim.keymap.set("n", "<leader>vrr", function() vim.lsp.buf.references() end, opts)
vim.keymap.set("n", "<leader>vrn", function() vim.lsp.buf.rename() end, opts) vim.keymap.set("n", "<leader>vrn", function() vim.lsp.buf.rename() end, opts)

@ -77,37 +77,31 @@ focus-exclude = [ "class_g = 'Cairo-clock'" ];
# Parameters for background blurring, see the *BLUR* section for more information. # Parameters for background blurring, see the *BLUR* section for more information.
# blur-method = "dual_kawase"; blur-method = "dual_kawase";
# blur-strength = 8; blur-strength = 400;
# blur-size = 2; blur-size = 2;
#
# blur-deviation = false
#
# blur-strength = 5
# Blur background of semi-transparent / ARGB windows. # Blur background of semi-transparent / ARGB windows.
# Bad in performance, with driver-dependent behavior. # Bad in performance, with driver-dependent behavior.
# The name of the switch may change without prior notifications. # The name of the switch may change without prior notifications.
# #
# blur-background = false # blur-background = true
# Blur background of windows when the window frame is not opaque. # Blur background of windows when the window frame is not opaque.
# Implies: # Implies:
# blur-background # blur-background
# Bad in performance, with driver-dependent behavior. The name may change. # Bad in performance, with driver-dependent behavior. The name may change.
# #
# blur-background-frame = false blur-background-frame = true
# Use fixed blur strength rather than adjusting according to window opacity. # Use fixed blur strength rather than adjusting according to window opacity.
blur-background-fixed = false blur-background-fixed = true
# Specify the blur convolution kernel, with the following format: # Specify the blur convolution kernel, with the following format:
# example: # example:
blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"; # blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
# #
# blur-kern = "" # blur-kern = ""
# blur-kern = "3x3box"; # blur-kern = "3x3box";
@ -341,12 +335,14 @@ rounded-corners-exclude = [
# "class_g = 'URxvt'", # "class_g = 'URxvt'",
# "class_g = 'XTerm'", # "class_g = 'XTerm'",
# "class_g = 'kitty'", # "class_g = 'kitty'",
"class_g = 'Alacritty'", # "class_g = 'Alacritty'",
"class_g = 'discord'", "class_g = 'eww-bar-1'",
"class_g = 'Polybar'", "class_g = 'eww-bar-2'",
# "class_g = 'discord'",
# "class_g = 'Polybar'",
# "class_g = 'code-oss'", # "class_g = 'code-oss'",
# "class_g = 'TelegramDesktop'", # "class_g = 'TelegramDesktop'",
"class_g = 'firefox'", # "class_g = 'firefox'",
# "class_g = 'Thunderbird'" # "class_g = 'Thunderbird'"
]; ];
round-borders = 0; round-borders = 0;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 271 KiB

After

Width:  |  Height:  |  Size: 1.3 MiB

@ -1,16 +1,17 @@
* { * {
text-color: #efefef; text-color: #fff;
background-color: rgba(1, 0, 0, 0); background-color: rgba(1, 0, 0, 0);
dark: #282828; dark: #000;
border-color: #1d1f21; border-color: #1d1f21;
// Black // Black
blue: #81a2be; blue: #81a2be;
lightblue: #81a2be; lightblue: #81a2be;
cyan: #add9ff; cyan: #add9ff;
lightcyan: #add9ff; lightcyan: #add9ff;
black: #1d1f21; black: #000;
lightblack: #1d1f21; lightblack: #111;
blackop: #1d1f21aa; blackop: #000a;
lightblackop: #1119;
red: #cc6666; red: #cc6666;
lightred: #cc6666; lightred: #cc6666;
green: #b5bd68; green: #b5bd68;
@ -26,11 +27,11 @@
highlight: bold #ccc; highlight: bold #ccc;
} }
window { window {
/* height: 14em; */ height: 14em;
/* width: 24em; */ width: 24em;
height: 100%; /*height: 100%;*/
width: 100%; /*width: 100%;*/
location: west; location: center;
/* anchor: center; */ /* anchor: center; */
text-color: @lightwhite; text-color: @lightwhite;
} }
@ -44,9 +45,8 @@ button selected {
text-color: @lightgreen; text-color: @lightgreen;
} }
inputbar { inputbar {
background-color: @black;
text-color: @lightgreen; text-color: @lightgreen;
padding: 0.4em 1em; padding: 0.2em 1em;
height: 32px; height: 32px;
} }
entry { entry {
@ -55,10 +55,10 @@ prompt {
margin: 0 0.4em 0 0; margin: 0 0.4em 0 0;
} }
mainbox { mainbox {
/* padding: 0.2em; */ padding: 0.7em 0em;
expand: true; expand: true;
background-color: @blackop; background-color: @lightblackop;
spacing: 1em; spacing: 0.5em;
} }
listview { listview {
padding: 0em 0.4em 0em 1em; padding: 0em 0.4em 0em 1em;
@ -74,7 +74,7 @@ element {
border-radius: 2px; border-radius: 2px;
} }
element selected normal { element selected normal {
background-color: @blue; text-color: @lightblue;
} }
element normal active { element normal active {
text-color: @lightblue; text-color: @lightblue;

@ -1,12 +1,12 @@
set notification-error-bg "#181818" # bg set notification-error-bg "#1d1f21" # bg
set notification-error-fg "#fb4934" # bright:red set notification-error-fg "#fb4934" # bright:red
set notification-warning-bg "#181818" # bg set notification-warning-bg "#1d1f21" # bg
set notification-warning-fg "#fabd2f" # bright:yellow set notification-warning-fg "#fabd2f" # bright:yellow
set notification-bg "#181818" # bg set notification-bg "#1d1f21" # bg
set notification-fg "#b8bb26" # bright:green set notification-fg "#b8bb26" # bright:green
set completion-bg "#504945" # bg2 set completion-bg "#504945" # bg2
set completion-fg "#ebdbb2" # fg set completion-fg "#ffffff" # fg
set completion-group-bg "#3c3836" # bg1 set completion-group-bg "#3c3836" # bg1
set completion-group-fg "#928374" # gray set completion-group-fg "#928374" # gray
set completion-highlight-bg "#83a598" # bright:blue set completion-highlight-bg "#83a598" # bright:blue
@ -14,27 +14,27 @@ set completion-highlight-fg "#504945" # bg2
# Define the color in index mode # Define the color in index mode
set index-bg "#504945" # bg2 set index-bg "#504945" # bg2
set index-fg "#ebdbb2" # fg set index-fg "#ffffff" # fg
set index-active-bg "#83a598" # bright:blue set index-active-bg "#83a598" # bright:blue
set index-active-fg "#504945" # bg2 set index-active-fg "#504945" # bg2
set inputbar-bg "#181818" # bg set inputbar-bg "#1d1f21" # bg
set inputbar-fg "#ebdbb2" # fg set inputbar-fg "#ffffff" # fg
set statusbar-bg "#181818" # bg2 set statusbar-bg "#1d1f21" # bg2
set statusbar-fg "#ebdbb2" # fg set statusbar-fg "#ffffff" # fg
set highlight-color "#fabd2f" # bright:yellow set highlight-color "#fabd2f" # bright:yellow
set highlight-active-color "#fe8019" # bright:orange set highlight-active-color "#fe8019" # bright:orange
set default-bg "#181818" # bg set default-bg "#1d1f21" # bg
set default-fg "#ebdbb2" # fg set default-fg "#ffffff" # fg
set render-loading true set render-loading true
set render-loading-bg "#181818" # bg set render-loading-bg "#1d1f21" # bg
set render-loading-fg "#ebdbb2" # fg set render-loading-fg "#ffffff" # fg
# Recolor book content's color # Recolor book content's color
set recolor-lightcolor "#181818" # bg set recolor-lightcolor "#1d1f21" # bg
set recolor-darkcolor "#ebdbb2" # fg set recolor-darkcolor "#ffffff" # fg
set recolor "true" set recolor "true"
# set recolor-keephue true # keep original color # set recolor-keephue true # keep original color

@ -115,3 +115,16 @@ export EDITOR=nvim
export PYENV_ROOT="$HOME/.pyenv" export PYENV_ROOT="$HOME/.pyenv"
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH" command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)" eval "$(pyenv init -)"
# pnpm
export PNPM_HOME="/home/elal/.local/share/pnpm"
case ":$PATH:" in
*":$PNPM_HOME:"*) ;;
*) export PATH="$PNPM_HOME:$PATH" ;;
esac
# pnpm end
# PYENV
export PYENV_ROOT="$HOME/.pyenv"
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"

Loading…
Cancel
Save