diff --git a/.github/README.md b/.github/README.md index 3331f92..7464340 100644 --- a/.github/README.md +++ b/.github/README.md @@ -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. +
diff --git a/.github/assets/awesome.png b/.github/assets/awesome.png index 5ca5878..79d80c0 100644 Binary files a/.github/assets/awesome.png and b/.github/assets/awesome.png differ diff --git a/config/awesome/assets/images/bg.png b/config/awesome/assets/images/bg.png deleted file mode 100644 index 1b3d288..0000000 Binary files a/config/awesome/assets/images/bg.png and /dev/null differ diff --git a/config/awesome/configuration/autorun.sh b/config/awesome/configuration/autorun.sh index 50c31d6..ed588f5 100755 --- a/config/awesome/configuration/autorun.sh +++ b/config/awesome/configuration/autorun.sh @@ -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 diff --git a/config/awesome/configuration/bling.lua b/config/awesome/configuration/bling.lua index b08cc43..37d10d3 100644 --- a/config/awesome/configuration/bling.lua +++ b/config/awesome/configuration/bling.lua @@ -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 { diff --git a/config/awesome/configuration/init.lua b/config/awesome/configuration/init.lua index 7cc949c..f121c38 100644 --- a/config/awesome/configuration/init.lua +++ b/config/awesome/configuration/init.lua @@ -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") diff --git a/config/awesome/ui/dash/music.lua b/config/awesome/ui/dash/music.lua index 1b48fd3..2103cdc 100644 --- a/config/awesome/ui/dash/music.lua +++ b/config/awesome/ui/dash/music.lua @@ -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 } diff --git a/config/awesome/ui/notifs/playerctl.lua b/config/awesome/ui/notifs/playerctl.lua index c471e85..f81faca 100644 --- a/config/awesome/ui/notifs/playerctl.lua +++ b/config/awesome/ui/notifs/playerctl.lua @@ -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}) diff --git a/config/starship/starship.toml b/config/starship/starship.toml new file mode 100644 index 0000000..5fd1443 --- /dev/null +++ b/config/starship/starship.toml @@ -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 diff --git a/misc/.profile b/misc/.profile index 98f5747..286f1c2 100755 --- a/misc/.profile +++ b/misc/.profile @@ -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: " \ No newline at end of file diff --git a/misc/.zshrc b/misc/.zshrc index bfc3f5b..d9337bb 100644 --- a/misc/.zshrc +++ b/misc/.zshrc @@ -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