1
0
Fork 0

Improve fonts and interaction
continuous-integration/drone/push Build was killed Details

main
Ambrose Chua 2020-05-27 16:56:16 +08:00
parent 28dcc7ab4f
commit 887e9dc137
Signed by: ambrose
GPG Key ID: BC367D33F140B5C2
6 changed files with 37 additions and 15 deletions

View File

@ -8,6 +8,9 @@ call plug#begin()
" theme
Plug 'altercation/vim-colors-solarized'
" razer
Plug 'https://github.com/DanManN/vim-razer'
" completion
" TODO: REMOVE ALL OUR CUSTOM COMPLETIONS AND USE LANGUAGE SERVER
" TODO: CHOOSE LINTING AND FORMATTING TOOLS

View File

@ -78,6 +78,9 @@ input * {
input type:touchpad {
natural_scroll enabled
}
input type:pointer {
natural_scroll enabled
}
### Key bindings
#

View File

@ -4,9 +4,9 @@
"height": 26, // Waybar height (to be removed for auto height)
// "width": 1280, // Waybar width
// Choose the order of the modules
"modules-left": ["sway/workspaces", "sway/mode", "custom/media"],
"modules-center": ["sway/window"],
"modules-right": ["pulseaudio", "idle_inhibitor", "network", "cpu", "memory", "temperature", "backlight", "clock", "tray"],
"modules-left": ["sway/workspaces", "sway/mode", "custom/media", "sway/window"],
"modules-center": [],
"modules-right": ["pulseaudio", "idle_inhibitor", "network", "cpu", "memory", "temperature", "battery", "clock", "tray"],
// Modules configuration
// "sway/workspaces": {
// "disable-scroll": true,
@ -66,15 +66,16 @@
"clock": {
// "timezone": "America/New_York",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format": "{:%H:%M}",
"format-alt": "{:%Y-%m-%d}"
},
"cpu": {
"format": "{usage}%",
"format-alt": "{usage}%"
"format": "{usage}%",
"format-alt": "{usage}%"
},
"memory": {
"format": "{}%",
"format-alt": "{}%"
"format": "{}%",
"format-alt": "{}%"
},
"temperature": {
// "thermal-zone": 2,
@ -109,14 +110,19 @@
},
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
"format-wifi": "{essid} ({signalStrength}%) ",
"format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
"format-linked": "{ifname} (No IP) ",
"format-disconnected": "Disconnected ⚠",
"format-alt": "{ipaddr}"
//"format-wifi": "{essid} ({signalStrength}%) ",
//"format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
//"format-linked": "{ifname} (No IP) ",
//"format-disconnected": "Disconnected ⚠",
"format-wifi": "{essid} ({signalStrength}%)",
"format-ethernet": "{ifname}: {ipaddr}/{cidr}",
"format-linked": "{ifname} (No IP)",
"format-disconnected": "⚠",
"format-alt": "{ipaddr}",
"on-click": "XDG_CURRENT_DESKTOP=GNOME gnome-control-center network"
},
"pulseaudio": {
// "scroll-step": 1, // %, can be a float
"scroll-step": 1, // %, can be a float
"format": "{volume}% {icon} {format_source}",
"format-bluetooth": "{volume}% {icon} {format_source}",
"format-bluetooth-muted": " {icon} {format_source}",

View File

@ -2,14 +2,14 @@
border: none;
border-radius: 0;
/* `otf-font-awesome` is required to be installed for icons */
font-family: "IBM Plex Sans";
font-family: "Fira Code";
font-size: 13px;
min-height: 0;
}
window#waybar {
background-color: rgba(43, 48, 59, 0.5);
border-bottom: 3px solid rgba(100, 114, 125, 0.5);
border-bottom: 0px solid rgba(100, 114, 125, 0.5);
color: #ffffff;
transition-property: background-color;
transition-duration: .5s;
@ -66,6 +66,8 @@ window#waybar.chromium {
}
#window {
padding: 0 10px;
margin: 0 4px;
}
#clock,

View File

@ -2,6 +2,8 @@
border: none;
background: rgba(32, 32, 32, 0.875);
color: #999;
font-family: "Fira Code";
font-size: 13px;
}
#input {

View File

@ -1,6 +1,7 @@
#!/bin/zsh
export PATH="$PATH:$HOME/.local/bin"
export MOZ_ENABLE_WAYLAND=1
cd ~
wofi \
@ -12,7 +13,12 @@ wofi \
--matching contains \
--insensitive \
--term kitty \
--define always_parse_args=true \
--show drun,run
# REMOVED:
# --exec-search \
# TIPS:
# - Hold shift to open in terminal
# - Hold control to run with arguments