updates: dotfiles

This commit is contained in:
rxyhn 2022-02-22 17:23:39 +07:00
parent f9aa79f4cd
commit 4e6ea8f251
11 changed files with 89 additions and 39 deletions

7
.github/README.md vendored
View file

@ -54,7 +54,7 @@ Fyi, I use night colorscheme, and it's so beautiful.
$ sudo systemctl start acpid.service
```
3. Install needed fonts
2. Install needed fonts
You will need to install a few fonts (mainly icon fonts) in order for text and icons to be rendered properly.
@ -65,7 +65,7 @@ Fyi, I use night colorscheme, and it's so beautiful.
Once you download them and unpack them, place them into `~/.fonts` or `~/.local/share/fonts`.
4. Install my AwesomeWM configuration files
3. Install my AwesomeWM configuration files
> Clone this repository
@ -81,6 +81,9 @@ Fyi, I use night colorscheme, and it's so beautiful.
$ mkdir -p $HOME/.local/bin/ && cp -r ./bin/* $HOME/.local/bin/
$ cp -r ./misc/* $HOME/
```
4. Lastly, log out from your current desktop session and log in into AwesomeWM.
</details>
<br>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 MiB

After

Width:  |  Height:  |  Size: 166 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 MiB

View file

@ -8,8 +8,8 @@ function run {
}
# music
run mpd
run mpDris2 # add playerctl support to mpd
# run mpd
# run mpDris2 # add playerctl support to mpd
# compositor
run picom --config $HOME/.config/picom/picom.conf

View file

@ -4,7 +4,10 @@ local beautiful = require("beautiful")
local bling = require("module.bling")
-- Enable Playerctl Module from Bling
Playerctl = bling.signal.playerctl.lib()
playerctl = bling.signal.playerctl.lib {
ignore = {"firefox", "qutebrowser", "chromium", "brave"},
update_on_activity = true
}
-- Enable Tag Preview Module from Bling
bling.widget.tag_preview.enable {

View file

@ -36,18 +36,16 @@ shift = "Shift"
ctrl = "Control"
-- Set Wallpaper
gears.wallpaper.maximized(beautiful.wallpaper, s, false, nil)
-- bling.module.tiled_wallpaper("", s, {
-- fg = beautiful.xcolor8,
-- bg = beautiful.xbackground,
-- offset_y = 20,
-- offset_x = 20,
-- font = "Iosevka",
-- font_size = 13,
-- padding = 100,
-- zickzack = true
-- })
bling.module.tiled_wallpaper("", s, {
fg = beautiful.lighter_bg,
bg = beautiful.xbackground,
offset_y = 20,
offset_x = 20,
font = "Iosevka",
font_size = 14,
padding = 100,
zickzack = true
})
-- Get Bling Config
require("configuration.bling")

View file

@ -24,7 +24,7 @@ local music_text = wibox.widget{
}
local music_art = wibox.widget {
image = gears.filesystem.get_configuration_dir() .. "images/no_music.png",
image = gears.filesystem.get_configuration_dir() .. "assets/images/no_music.png",
resize = true,
widget = wibox.widget.imagebox
}

View file

@ -1,6 +1,6 @@
local naughty = require("naughty")
Playerctl:connect_signal("metadata",
playerctl:connect_signal("metadata",
function(title, artist, album_path, album, new, player_name)
if new == true then
naughty.notify({title = title, text = artist, image = album_path})

View file

@ -0,0 +1,65 @@
add_newline = true
format = """
($username)[@](bold white)($hostname)
($directory)
"""
right_format = """$all"""
[username]
disabled = false
show_always = true
style_user = "bold white"
format = "[$user]($style)"
[hostname]
disabled = false
ssh_only = false
style = "bold white"
format = "[$hostname]($style)"
[directory]
disabled = false
truncation_length = 1
home_symbol = "~"
format = "[$path](bold cyan)[/](bold green) "
[character]
success_symbol = ""
error_symbol = "[](bold red)"
[git_branch]
symbol = " "
style = "bold blue"
[git_commit]
commit_hash_length = 4
tag_symbol = "🔖 "
[git_state]
format = '[\($state( $progress_current of $progress_total)\)]($style) '
cherry_pick = "[🍒 PICKING](bold red)"
[git_metrics]
added_style = "bold blue"
format = '[+$added]($added_style)/[-$deleted]($deleted_style) '
[git_status]
format = '([\[$all_status$ahead_behind\]]($style) )'
style = "bold cyan"
conflicted = "= "
ahead = "⇡ ${count} "
behind = "⇣ ${count} "
diverged = "⇕ "
up_to_date = ""
untracked = "? "
stashed = "$ "
modified = "! "
staged = '[++\($count\)](green)'
renamed = "» "
deleted = " "
[cmd_duration]
disabled = true

View file

@ -3,7 +3,7 @@ export PATH="$HOME/.local/bin:$PATH"
export PATH="$HOME/.cargo/bin:$PATH"
#env
export TODO_PATH="$HOME/.todo"
export TODO_PATH="$HOME/Documents/todo"
export VISUAL=nvim;
export EDITOR=nvim;
export SUDO_PROMPT="passwd: "

View file

@ -15,14 +15,6 @@
# If you come from bash you might have to change your $PATH.
# export PATH="$HOME/.local/bin:$HOME/.cargo/bin:$PATH"
# export TODO_PATH="$HOME/.todo"
# # Uncomment the following line to change how often to auto-update (in days).
# export UPDATE_ZSH_DAYS=7
# Uncomment the following line to enable command auto-correction.
ENABLE_CORRECTION="true"
@ -75,17 +67,6 @@ src() {
exec zsh
}
# # Ditch Nano, join the NeoVim Team
# export EDITOR=/usr/bin/nvim
# export SUDO_EDITOR=/usr/bin/nvim
# export VISUAL=/usr/bin/nvim
# # Firefox plz
# export BROWSER=/usr/bin/firefox
# # Lang
# export LANG=en_US.UTF-8
# completion
setopt CORRECT
setopt NO_NOMATCH