feat: some stuff

This commit is contained in:
max_richter 2022-04-06 23:34:14 +02:00
parent 44e2c18c7a
commit 0982678906
6 changed files with 36 additions and 14 deletions

21
configs/kitty/theme.conf Normal file
View File

@ -0,0 +1,21 @@
background #000000
foreground #ffffff
cursor #e2bbef
selection_background #4d4d4d
color0 #3d352a
color8 #554444
color1 #cd5c5c
color9 #cc5533
color2 #86af80
color10 #88aa22
color3 #e8ae5b
color11 #ffa75d
color4 #6495ed
color12 #87ceeb
color5 #deb887
color13 #996600
color6 #b0c4de
color14 #b0c4de
color7 #bbaa99
color15 #ddccbb
selection_foreground #1c1c1c

View File

@ -214,6 +214,7 @@ if u.has_plugin("cmp") then
gitignore = 1,
group_empty = 1,
hijack_cursor = 1,
update_cwd = true,
update_focused_file = {
enable = false
},
@ -229,12 +230,9 @@ if u.has_plugin("cmp") then
view = {
auto_resize = true,
hide_root_folder = true,
winopts = {
signcolumn = "no"
}
signcolumn = "no"
}
}
require("nvim-tree.view").View.winopts.signcolumn = "no"
-- Configure Wiki
g.wiki_root = "~/Notes"

View File

@ -304,6 +304,8 @@ bindsym $mod+r mode "resize"
# Handles notifications
exec_always mako
exec_always pulseaudio --start
# Handle Authentiction requests
exec_always lxpolkit
# Dimms the screen
exec_always wlsunset -l 39.47 -L -0.3821346

View File

@ -5,10 +5,10 @@ GAPS=3
# How to get the current inner border from swaymsg
#$ echo $(swaymsg -t get_config | jq ".config") | sed -n '/gaps\ inner/p' | sed 's/gaps\ inner//g' | xargs
if [ "$(pgrep waybar)" != "" ]; then
killall waybar;
if [ "$(ps cax | grep waybar$)" != "" ]; then
swaymsg gaps outer all set 0;
swaymsg gaps inner all set 0;
killall waybar;
else
swaymsg gaps outer all set $GAPS;
swaymsg gaps inner all set $GAPS;

View File

@ -3,7 +3,7 @@
"spacing": 4,
"modules-left": ["custom/clock", "custom/waybar-mpris"],
"modules-center": ["sway/workspaces", "sway/mode"],
"modules-right": ["pulseaudio", "network", "custom/cpu_speed", "memory", "battery", "custom/clock" ],
"modules-right": ["pulseaudio", "network", "custom/cpu_speed", "memory", "battery"],
"sway/workspaces": {
"disable-scroll": true,
"all-outputs": false,
@ -102,7 +102,6 @@
},
"battery": {
"states": {
"good": 95
"warning": 30,
"critical": 15
},
@ -110,7 +109,7 @@
"format-charging": "{capacity}% ",
"format-plugged": "{capacity}% ",
"format-alt": "{time} {icon}",
"format-good": "", // An empty format will hide the module
// "format-good": "", // An empty format will hide the module
// "format-full": "",
"format-icons": ["", "", "", "", ""]
},
@ -166,7 +165,7 @@
// The options below will go to next/previous track on scroll
// "on-scroll-up": "waybar-mpris --send next",
// "on-scroll-down": "waybar-mpris --send prev",
"escape": true,
"escape": true
},
"custom/media": {
"format": "{icon} {}",

View File

@ -14,15 +14,17 @@ window > box {
margin-bottom: 0px;
background: #2b303b;
background: black;
padding: 5px;
padding: 5px 8px;
border-radius: 4px;
/*border-bottom: 3px solid rgba(100, 114, 125, 0.5);*/
}
#workspaces button {
padding: 0px 9px;
padding: 0px 7px;
padding-left: 4px;
color: white;
background: transparent;
border-radius: 0px;
border-radius: 2px;
}
#workspaces button:hover{
@ -85,5 +87,5 @@ window > box {
}
#custom-waybar-mpris{
margin-left: 5px;
margin-left: 20px;
}