First Commit
This commit is contained in:
commit
cae9d57360
22 changed files with 1957 additions and 0 deletions
17
dotfiles/keepmenu.ini
Normal file
17
dotfiles/keepmenu.ini
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
[dmenu]
|
||||
dmenu_command = rofi -i
|
||||
|
||||
[dmenu_passphrase]
|
||||
nf = #222222
|
||||
nb = #222222
|
||||
rofi_obscure = True
|
||||
|
||||
[database]
|
||||
database_1 = ~/.local/passdb.kdbx
|
||||
keyfile_1 =
|
||||
pw_cache_period_min = 360
|
||||
autotype_default = {USERNAME}{TAB}{PASSWORD}
|
||||
editor = nvim
|
||||
terminal = alacritty
|
||||
|
||||
type_library = wtype
|
||||
21
dotfiles/kitty/dark.conf
Normal file
21
dotfiles/kitty/dark.conf
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
background #0d0f18
|
||||
foreground #fffaf3
|
||||
cursor #ff0017
|
||||
selection_background #002a3a
|
||||
color0 #222222
|
||||
color8 #444444
|
||||
color1 #ff000f
|
||||
color9 #ff273f
|
||||
color2 #8ce00a
|
||||
color10 #abe05a
|
||||
color3 #ffb900
|
||||
color11 #ffd141
|
||||
color4 #008df8
|
||||
color12 #0092ff
|
||||
color5 #6c43a5
|
||||
color13 #9a5feb
|
||||
color6 #00d7eb
|
||||
color14 #67ffef
|
||||
color7 #ffffff
|
||||
color15 #ffffff
|
||||
selection_foreground #0d0f18
|
||||
21
dotfiles/kitty/light.conf
Normal file
21
dotfiles/kitty/light.conf
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
background #f8f8f8
|
||||
foreground #2a2b33
|
||||
cursor #bbbbbb
|
||||
selection_background #e5e5e6
|
||||
color0 #000000
|
||||
color8 #000000
|
||||
color1 #de3d35
|
||||
color9 #de3d35
|
||||
color2 #3e953a
|
||||
color10 #3e953a
|
||||
color3 #d2b67b
|
||||
color11 #d2b67b
|
||||
color4 #2f5af3
|
||||
color12 #2f5af3
|
||||
color5 #950095
|
||||
color13 #a00095
|
||||
color6 #3e953a
|
||||
color14 #3e953a
|
||||
color7 #bbbbbb
|
||||
color15 #ffffff
|
||||
selection_foreground #2a2b33
|
||||
8
dotfiles/rofi/colors-dark.rasi
Normal file
8
dotfiles/rofi/colors-dark.rasi
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
* {
|
||||
accent: #53BDFA;
|
||||
warning: #EA6C73;
|
||||
bg: #0A0E14;
|
||||
fg: #B3B1AD;
|
||||
alternate: #01060E;
|
||||
transparent: #00000000;
|
||||
}
|
||||
8
dotfiles/rofi/colors-light.rasi
Normal file
8
dotfiles/rofi/colors-light.rasi
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
* {
|
||||
accent: #4196df;
|
||||
warning: #FF7383;
|
||||
bg: #F8F9FA;
|
||||
fg: #26292f;
|
||||
alternate: #eeeeee;
|
||||
transparent: #00000000;
|
||||
}
|
||||
1
dotfiles/rofi/config.rasi
Normal file
1
dotfiles/rofi/config.rasi
Normal file
|
|
@ -0,0 +1 @@
|
|||
@theme "theme.rasi"
|
||||
122
dotfiles/rofi/theme.rasi
Normal file
122
dotfiles/rofi/theme.rasi
Normal file
|
|
@ -0,0 +1,122 @@
|
|||
/**
|
||||
* A floating box version of the paper theme.
|
||||
*
|
||||
* User: Qball
|
||||
* Copyright: Dave Davenport
|
||||
*/
|
||||
|
||||
@import "colors-current.rasi"
|
||||
|
||||
* {
|
||||
spacing: 0;
|
||||
background-color: @transparent;
|
||||
border-color: @fg;
|
||||
anchor: north;
|
||||
location: center;
|
||||
text-color: @fg;
|
||||
}
|
||||
window {
|
||||
transparency: "real";
|
||||
background-color: @transparent;
|
||||
border: 0;
|
||||
padding: 0% 0% 1em 0%;
|
||||
x-offset: 0;
|
||||
y-offset: -10%;
|
||||
}
|
||||
mainbox {
|
||||
padding: 0px;
|
||||
border: 0;
|
||||
spacing: 1%;
|
||||
}
|
||||
inputbar {
|
||||
spacing: 0;
|
||||
border: 1px;
|
||||
padding: 0.4em 0.2em;
|
||||
background-color: @bg;
|
||||
index: 0;
|
||||
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
|
||||
}
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: ":";
|
||||
margin: 0px 0.3em 0em 0em ;
|
||||
}
|
||||
|
||||
prompt {
|
||||
text-color: inherit;
|
||||
}
|
||||
entry {
|
||||
text-color: inherit;
|
||||
}
|
||||
|
||||
listview {
|
||||
border: 1px;
|
||||
reverse: false;
|
||||
|
||||
columns: 1;
|
||||
background-color: @bg;
|
||||
/* fixed-height: false; */
|
||||
/* dynamic: true; */
|
||||
}
|
||||
|
||||
element {
|
||||
border: 0;
|
||||
padding: 2px;
|
||||
highlight: bold ;
|
||||
}
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
}
|
||||
|
||||
element {
|
||||
text-color: @fg;
|
||||
background-color: @transparent;
|
||||
}
|
||||
element normal.urgent {
|
||||
text-color: @warning;
|
||||
}
|
||||
|
||||
element selected {
|
||||
text-color: @bg;
|
||||
background-color: @accent;
|
||||
}
|
||||
element selected.urgent {
|
||||
text-color: @warning;
|
||||
}
|
||||
|
||||
element alternate {
|
||||
background-color: @alternate;
|
||||
}
|
||||
element alternate.urgent {
|
||||
text-color: @warning;
|
||||
}
|
||||
|
||||
scrollbar {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
mode-switcher {
|
||||
border: 1px;
|
||||
padding: 0.4em 1em;
|
||||
background-color: @alternate;
|
||||
index: 10;
|
||||
}
|
||||
|
||||
message {
|
||||
border: 1px;
|
||||
padding: 1em;
|
||||
background-color: @bg;
|
||||
text-color: @fg;
|
||||
}
|
||||
textbox normal {
|
||||
text-color: @fg;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
}
|
||||
error-message {
|
||||
border: 1px;
|
||||
padding: 0.4em;
|
||||
background-color: #FF8888;
|
||||
text-color: @fg;
|
||||
}
|
||||
216
dotfiles/waybar.css
Normal file
216
dotfiles/waybar.css
Normal file
|
|
@ -0,0 +1,216 @@
|
|||
* {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
background: rgba(0, 0, 0, 0);
|
||||
/* font-family: "CartographCF italic"; */
|
||||
font-family: "Material Design Icons", Roboto;
|
||||
/* font-family: "Roboto"; */
|
||||
font-weight: bold;
|
||||
font-size: 14px;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
tooltip {
|
||||
background: #000000;
|
||||
/* border-radius: 10px; */
|
||||
border-width: 2px;
|
||||
border-style: solid;
|
||||
border-color: #222222;
|
||||
}
|
||||
|
||||
#custom-language,
|
||||
#idle_inhibitor,
|
||||
#custom-updates,
|
||||
#bluetooth,
|
||||
#custom-caffeine,
|
||||
#custom-weather,
|
||||
#custom-nvidia-load,
|
||||
#custom-nvidia-mem,
|
||||
#window,
|
||||
#clock,
|
||||
#battery,
|
||||
#pulseaudio,
|
||||
#network,
|
||||
#workspaces,
|
||||
#tray,
|
||||
#disk,
|
||||
#memory,
|
||||
#temperature,
|
||||
#cpu,
|
||||
#mpris,
|
||||
#submap,
|
||||
#workspaces,
|
||||
#backlight {
|
||||
background: rgba(0, 0, 0, .6);
|
||||
color: #ffffff;
|
||||
padding: 0px 10px;
|
||||
/* margin-top: 0px; */
|
||||
/* margin-bottom: 0px; */
|
||||
/* margin-right: 3px; */
|
||||
/* margin-left: 3px; */
|
||||
/* border: 1px solid #000000; */
|
||||
border-radius: 14px;
|
||||
margin: 0px 4px 0px 4px;
|
||||
}
|
||||
|
||||
|
||||
#workspaces {
|
||||
padding: 0;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
#workspaces button {
|
||||
padding: 4px;
|
||||
color: #aaaaaa;
|
||||
border-radius: 16px
|
||||
}
|
||||
#workspaces button.active {
|
||||
color: #ffffff;
|
||||
background: #0f0f0f;
|
||||
}
|
||||
#workspaces button.focused {
|
||||
/* color: #a6adc8; */
|
||||
background: #eba0ac;
|
||||
/* border-radius: 10px; */
|
||||
}
|
||||
#workspaces button.urgent {
|
||||
/* color: #11111b; */
|
||||
background: #a6e3a1;
|
||||
/* border-radius: 10px; */
|
||||
}
|
||||
#workspaces button:hover {
|
||||
background: #11111b;
|
||||
/* color: #cdd6f4; */
|
||||
/* border-radius: 10px; */
|
||||
}
|
||||
|
||||
#pulseaudio.speaker {
|
||||
/* color: #89b4fa; */
|
||||
/* border-radius: 10px 0 0 10px; */
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
#pulseaudio.microphone {
|
||||
/* color: #cba6f7; */
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
#idle_inhibitor {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
#backlight {
|
||||
border-radius: 0 14px 14px 0;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
#submap {
|
||||
background: #000000;
|
||||
border: 1px solid #ffffff;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
|
||||
/* #mpris { */
|
||||
/* border-radius: 10px; */
|
||||
/* font-family: "CartographCF italic"; */
|
||||
/* } */
|
||||
|
||||
#tray {
|
||||
border-radius: 0;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
#network {
|
||||
border-radius: 10px;
|
||||
border-radius: 14px 0 0 14px;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
#disk {
|
||||
border-radius: 0;
|
||||
margin-right: 0;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
#cpu {
|
||||
border-radius: 0;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
#temperature {
|
||||
/* color: #f9afdb; */
|
||||
border-radius: 0;
|
||||
margin-right: 0;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
#memory {
|
||||
/* border-radius: 0 10px 10px 0; */
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
#memory.low {
|
||||
/* color: #f85754; */
|
||||
}
|
||||
|
||||
#battery {
|
||||
border-radius: 0;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
#clock {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
/* #custom-gpu { */
|
||||
/* color: #f5c2e7; */
|
||||
/* border-radius: 10px; */
|
||||
/* } */
|
||||
|
||||
#window {
|
||||
color: #ffffff;
|
||||
text-shadow: 1px 0 #000, -1px 0 #000, 0 1px #000, 0 -1px #000,
|
||||
1px 1px #000, -1px -1px #000, 1px -1px #000, -1px 1px #000;
|
||||
background: rgba(0, 0, 0, 0);
|
||||
border: 0
|
||||
}
|
||||
|
||||
|
||||
#bluetooth {
|
||||
border-radius: 0;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
#custom-weather {
|
||||
/* border-radius: 10px 0px 0px 10px; */
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
#custom-nvidia-load {
|
||||
/* border-radius: 10px 0 0 10px; */
|
||||
margin-right: 0;
|
||||
/* color: #afb8f9; */
|
||||
}
|
||||
|
||||
#custom-nvidia-mem {
|
||||
/* border-radius: 0 10px 10px 0; */
|
||||
margin-left: 0;
|
||||
/* color: #aff9b2; */
|
||||
}
|
||||
|
||||
234
dotfiles/waybar.jsonc
Normal file
234
dotfiles/waybar.jsonc
Normal file
|
|
@ -0,0 +1,234 @@
|
|||
{
|
||||
"layer": "top",
|
||||
"position": "bottom",
|
||||
"exclusive": true,
|
||||
"passtrough": false,
|
||||
"gtk-layer-shell": true,
|
||||
"height": 0,
|
||||
"on-scroll-up": "hyprctl dispatch workspace e+1",
|
||||
"on-scroll-down": "hyprctl dispatch workspace e-1",
|
||||
"modules-left": [
|
||||
"hyprland/workspaces",
|
||||
"pulseaudio#speaker",
|
||||
"pulseaudio#microphone",
|
||||
"idle_inhibitor",
|
||||
"bluetooth",
|
||||
"backlight",
|
||||
"mpris",
|
||||
"hyprland/submap",
|
||||
"hyprland/window"
|
||||
],
|
||||
"modules-center": [],
|
||||
"modules-right": [
|
||||
// "custom/updates",
|
||||
// "custom/nvidia-load",
|
||||
// "custom/nvidia-mem",
|
||||
"disk#2",
|
||||
"network",
|
||||
"disk",
|
||||
"cpu",
|
||||
"temperature",
|
||||
"memory",
|
||||
"battery",
|
||||
// "custom/weather",
|
||||
"tray",
|
||||
"clock",
|
||||
],
|
||||
|
||||
"backlight": {
|
||||
"device": "intel_backlight",
|
||||
"format": "{icon}",
|
||||
"on-click": "light -S 100",
|
||||
"on-click-right": "light -S 1",
|
||||
"tooltip-format": "{percent}%",
|
||||
"format-icons": ["", "", "", "", "", "", "", "", "", "", ""]
|
||||
},
|
||||
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
}
|
||||
},
|
||||
|
||||
"bluetooth": {
|
||||
"format": "",
|
||||
"format-disabled": "",
|
||||
"on-click": "rfkill toggle bluetooth",
|
||||
"on-click-right": "alacritty --class floating -e bluetuith",
|
||||
"tooltip-format": "{}"
|
||||
},
|
||||
|
||||
|
||||
"mpris": {
|
||||
"format": "{player_icon} {title}",
|
||||
"format-paused": "{status_icon} <i>{title}</i>",
|
||||
"player-icons": {
|
||||
"default": "",
|
||||
"mpv": "",
|
||||
"spotify": ""
|
||||
},
|
||||
"status-icons": {
|
||||
"paused": ""
|
||||
},
|
||||
// "ignored-players": ["mpv"]
|
||||
},
|
||||
|
||||
"disk": {
|
||||
"interval": 30,
|
||||
"format": " {free}",
|
||||
"path": "/",
|
||||
"on-click": "alacritty --class floating -e ncdu -x /"
|
||||
},
|
||||
|
||||
"disk#2": {
|
||||
"interval": 30,
|
||||
"format": "{path} {free}",
|
||||
"path": "/home/ant/storage",
|
||||
"on-click": "alacritty --class floating -e ncdu -x /home/ant/storage"
|
||||
},
|
||||
|
||||
"memory": {
|
||||
"interval": 1,
|
||||
"format": " {percentage}%",
|
||||
"tooltip-format": "{used:0.1f}G/{total:0.1f}G",
|
||||
"states": { "low": 70 },
|
||||
"on-click": "notify-send \"$(printf \"%-20s %10s\\n\" \"COMMAND\" \"MEMORY USAGE\"; ps axo comm,rss | awk '{mem[$1]+=$2} END {for (cmd in mem) printf \"%-20s %5.2f MiB\\n\", cmd, mem[cmd]/1024}' | sort -k2nr | head -n10)\""
|
||||
},
|
||||
|
||||
"network": {
|
||||
"interval": 1,
|
||||
"format": "",
|
||||
"format-disconnected": "",
|
||||
"format-linked": "",
|
||||
"format-ethernet": " {bandwidthDownBytes} {bandwidthUpBytes}",
|
||||
"format-wifi": " {bandwidthDownBytes} {bandwidthUpBytes}",
|
||||
"on-click": "wifi-toggle",
|
||||
"on-right-click": "$TERMINAL --class floating -e nmtui",
|
||||
"tooltip-format-ethernet": "{ipaddr}",
|
||||
"tooltip-format-wifi": "{ipaddr}\n{essid}\n{signalStrength}"
|
||||
},
|
||||
|
||||
"hyprland/window": {
|
||||
"format": "{}",
|
||||
"on-scroll-up": "hyprctl dispatch workspace e+1",
|
||||
"on-scroll-down": "hyprctl dispatch workspace e-1",
|
||||
},
|
||||
"hyprland/workspaces": {
|
||||
"on-scroll-up": "hyprctl dispatch workspace e+1",
|
||||
"on-scroll-down": "hyprctl dispatch workspace e-1",
|
||||
"all-outputs": true,
|
||||
"on-click": "activate",
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"1": "0",
|
||||
"2": "1",
|
||||
"3": "2",
|
||||
"4": "3",
|
||||
"5": "4",
|
||||
"6": "5",
|
||||
"7": "6",
|
||||
"8": "7",
|
||||
"9": "8",
|
||||
"10": "9",
|
||||
// "urgent": "",
|
||||
// "active": "",
|
||||
// "default": ""
|
||||
}
|
||||
},
|
||||
"cpu": {
|
||||
"interval": 1,
|
||||
"format": " {usage}%",
|
||||
"max-length": 10,
|
||||
"on-click": "alacritty --class floating -e htop"
|
||||
},
|
||||
"custom/updates": {
|
||||
"exec": "pacman -Quq | wc -l | sed 's/^0$//'",
|
||||
"interval": 60,
|
||||
"format": " {}"
|
||||
},
|
||||
"battery": {
|
||||
"interval": 30,
|
||||
"states": {
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format-charging": " {capacity}%",
|
||||
"format": "{icon} {capacity}%",
|
||||
"format-icons": ["", "", "", "", "", "", "", "", "", "", ""],
|
||||
"tooltip": true
|
||||
},
|
||||
"custom/weather" : {
|
||||
"tooltip" : true,
|
||||
"format" : "{}",
|
||||
"restart-interval" : 300,
|
||||
"exec" : "~/.config/waybar/scripts/waybar-wttr.py",
|
||||
"return-type" : "json"
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 13,
|
||||
// "tooltip": false,
|
||||
"spacing": 10
|
||||
},
|
||||
"clock": {
|
||||
"min-length": 10,
|
||||
"interval": 1,
|
||||
"format": "{:%d/%m %H:%M:%S}",
|
||||
"timezones": ["Asia/Ho_Chi_Minh", "Europe/Paris"],
|
||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||
"actions": {
|
||||
"on-scroll-up": "tz_up",
|
||||
"on-scroll-down": "tz_down"
|
||||
}
|
||||
},
|
||||
"pulseaudio#speaker": {
|
||||
"format": "{icon} {volume}%",
|
||||
"tooltip": false,
|
||||
"format-muted": "",
|
||||
"on-click": "pamixer -t",
|
||||
// "on-click-right": "pamixer -t",
|
||||
"on-scroll-up": "pamixer -i 5",
|
||||
"on-scroll-down": "pamixer -d 5",
|
||||
"scroll-step": 5,
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": ["", "", ""]
|
||||
}
|
||||
},
|
||||
"pulseaudio#microphone": {
|
||||
"format": "{format_source}",
|
||||
"tooltip": false,
|
||||
"format-source": " {volume}%",
|
||||
"format-source-muted": "",
|
||||
"on-click": "pamixer --default-source -t",
|
||||
"on-scroll-up": "pamixer --default-source -i 5",
|
||||
"on-scroll-down": "pamixer --default-source -d 5",
|
||||
"scroll-step": 5
|
||||
},
|
||||
"hyprland/submap": {
|
||||
"format": "(l)ock, (e)xit, (s)uspend, (h)ibernate, (r)eboot, (S)hutdown"
|
||||
},
|
||||
"custom/nvidia-load": {
|
||||
"exec": ".config/waybar/scripts/nvidia-load.py",
|
||||
"interval": 5,
|
||||
"return-type": "json",
|
||||
"format": "{}",
|
||||
"tooltip": "{tooltip}",
|
||||
"on-click": "alacritty --class floating -e nvtop"
|
||||
},
|
||||
"custom/nvidia-mem": {
|
||||
"exec": ".config/waybar/scripts/nvidia-mem.py",
|
||||
"interval": 5,
|
||||
"return-type": "json",
|
||||
"format": "{}",
|
||||
"tooltip": "{tooltip}",
|
||||
"on-click": "alacritty --class floating -e nvtop"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue