diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..4e1a815 --- /dev/null +++ b/Makefile @@ -0,0 +1,33 @@ +install_config: + cp ./bashrc ~/.bashrc + cp ./gitconfig ~/.gitconfig + cp ./gitignore_global ~/.gitignore_global + cp ./taskrc ~/.taskrc + cp ./vimrc ~/.vimrc + cp ./zshrc ~/.zshrc + cp ./conkyrc ~/.conkyrc + cp ./config/picom.conf ~/.config/picom.conf + cp ./config/redshift.conf ~/.config/redshift.conf + cp -r ./config/berry/ ~/.config/ + cp -r ./config/dunst/ ~/.config/ + cp -r ./config/fish/ ~/.config/ + cp -r ./config/htop/ ~/.config/ + cp -r ./config/i3/ ~/.config/ + cp -r ./config/kitty/ ~/.config + cp -r ./config/neofetch/ ~/.config/ + cp -r ./config/polybar/ ~/.config/ + cp -r ./config/qutebrowser/ ~/.config/ + cp -r ./config/ranger ~/.config/ + cp -r ./config/rofi/ ~/.config/ + +install_script: + mkdir ~/.script/dmenu -p + cp ./script/change-shell.sh ~/.script/change-shell.sh + cp ./script/manjaro-fetch.sh ~/.script/manjaro-fetch.sh + cp ./script/snap-remove-old-pkg.sh ~/.script/snap-remove-old-pkg.sh + cp ./script/walpapper-changer.sh ~/.script/walpapper-changer.sh + cp ./script/dmenu/dmenu-power.sh ~/.script/dmenu/dmenu-power.sh + cp ./script/dmenu/dmenu-config-edit.sh ~/.script/dmenu/dmenu-config-edit.sh + cp ./scripts/dmenu/dmenu-sysmon.sh ~/.script/dmenu/dmenu-sysmon.sh + +install: install_config install_script diff --git a/README.md b/README.md index e284923..8465729 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,10 @@ # Dotfiles -![Screen](https://i.imgur.com/OFEhWem.png) __walpappers: [Dropbox](https://www.dropbox.com/s/yx7tsplowtyih7f/walpapper.zip?dl=0) [Google Drive](https://drive.google.com/file/d/1PX76sgLygXfo9qhsdN3cCsFuFuNKpM1y/view?usp=sharing)__ **Preparing for installation** ~~~bash -curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -git clone https://github.com/Smirnov-O/zsh-simple-colors ~/.oh-my-zsh/custom/themes -curl -L https://get.oh-my.fish | fish +git clone https://github.com/Smirnov-O/dotfiles +make install sudo pacman -S i3-wm bspwm polybar dunst rofi picom feh nitrogen redshift task \ kitty ranger htop bash zsh git vim neofetch scrot clipboard yay bash zsh python-tldextract \ @@ -17,7 +15,7 @@ yay -S ttf-weather-icons ### Packages | Name | Description | | ------------------------------------------------------------------------ | ----------------- | -| `i3-wm`, `qtile` | Window Manager | +| `i3-wm`, `qtile` | Window Manager | | `polybar` | Panel | | `dunst` | Notify manager | | `rofi` | Program loncher | diff --git a/config/berry/README.md b/config/berry/README.md new file mode 100644 index 0000000..bb35a78 --- /dev/null +++ b/config/berry/README.md @@ -0,0 +1,37 @@ +# [Berry](https://berrywm.org) + +![Seceenshot](screen.png) + +--- + +### Autostart +~~~bash +sxhkd -c ~/.config/berry/sxhkdrc & +picom -b & +~/.config/berry/polybar/bar.sh & +nitrogen --restore & +setxkbmap "us,ru,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps" +~~~ + +### Keybindings +--------------- + +| Shourtcut | Command | +| ------------------------- | ------ | +| `mod` + q | Kill focus window | +| `mod` + `split` + enter | Run program launcher (Rofi) | +| `mod` + esc | Power [menu](https://github.com/Smirnov-O/dotfiles/blob/master/scripts/dmenu/dmenu-power.sh) | +| `mod` + `ctrl` + u | Config edit [menu](https://github.com/Smirnov-O/dotfiles/blob/master/scripts/dmenu/dmenu-config-edit.sh) | +| `mod` + `ctrl` + i | Passmenu(Dmenu interface for [pass](https://passwordstore.org)) | +| `mod` + enter | Run `kitty` | +| `mod` + F2 | Run `firefox` | +| `mod` + `shift` + esc | Run `xkill` | +| `mod` + plus | Add 5% volume | +| `mod` + minus | Minus 5% volume | +| `mod` + `shift` + minus | Mute volume | +| `mod` + tab | Change focus window | +| `mod` + h/j/k/l | Move focus window | +| `mod` + `shift` + h/j/k/l | Resize focus window | +| `mod` + [1-9] | Change workspace | +| `mod` + `shift` + [1-9] | Send focus window to workspace | +| `mod` + `alt` + t | Open ~/.todo file | diff --git a/config/berry/autostart b/config/berry/autostart new file mode 100755 index 0000000..eb40287 --- /dev/null +++ b/config/berry/autostart @@ -0,0 +1,24 @@ +#!/bin/bash +sxhkd -c ~/.config/berry/sxhkdrc & +picom -b & +/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & +setxkbmap "us,ru,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps" & +~/.config/berry/polybar/bar.sh & +nitrogen --restore & + +berryc border_width 1 +berryc inner_border_width 1 +berryc title_height 0 +berryc top_gap 0 + +berryc focus_color 073642 +berryc unfocus_color 002b36 +berryc inner_focus_color 268bd2 +berryc inner_unfocus_color 002b36 +berryc text_focus_color ffffff +berryc text_unfocus_color efefef + +berryc smart_place "true" +berryc draw_text "true" +berryc edge_lock "true" +berryc set_font "Jetbrains Mono" diff --git a/config/berry/polybar/bar.sh b/config/berry/polybar/bar.sh new file mode 100755 index 0000000..e44a0d0 --- /dev/null +++ b/config/berry/polybar/bar.sh @@ -0,0 +1,5 @@ +#!/bin/bash +killall -q polybar +while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done +polybar -c ~/.config/berry/polybar/polybar top & +polybar -c ~/.config/berry/polybar/polybar bom & diff --git a/config/berry/polybar/polybar b/config/berry/polybar/polybar new file mode 100644 index 0000000..d73b1e7 --- /dev/null +++ b/config/berry/polybar/polybar @@ -0,0 +1,90 @@ +[settings] +pseudo-transparency = true + +[colors] +background = #002B36 +foreground = #dfdfdf +secondary = #073642 +alert = #268bd2 + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +[bar/top] +width = 14% +height = 22 +override-redirect = false +background = ${colors.background} +foreground = ${colors.foreground} +offset-x = 85.8% +offset-y = 0.4% +module-margin-left = 1 +module-margin-right = 1 +font-0 = Iosevka Nerd Font:style=Medium:size=8;3 +font-1 = FontAwesome5Free:style=Solid:size=7.5;2.5 +modules-center = keyboard pulseaudio wifi-signal time + +[bar/bom] +width = 6% +height = 22 +bottom = true +offset-x = 93.8% +offset-y = 0.4% +font-0 = Iosevka Nerd Font:style=Medium:size=8;3 +font-1 = FontAwesome5Free:style=Solid:size=7.5;2.5 +background = ${colors.background} +foreground = ${colors.foreground} +modules-center = t +tray-position = center + +[module/backlight] +type = internal/xbacklight +format =