├── LICENSE
├── README.md
├── arch-install.md
├── assets
└── low-res.jpg
├── brew.sh
├── dotfiles
├── .config
│ ├── autostart
│ │ ├── conky.desktop
│ │ ├── discord.desktop
│ │ ├── gwe.desktop
│ │ └── telegramdesktop.desktop
│ └── conky
│ │ ├── README.md
│ │ ├── conky-clock.conf
│ │ ├── conky.conf
│ │ └── startup.sh
├── .gitconfig
├── .gitignore
├── .zshrc
├── ddc
│ ├── 45-ddcutil-i2c.rules
│ ├── 99-ddcci.rules
│ ├── ddcci@.service
│ └── i2c-dev.conf
├── gnome-terminal
│ ├── README.md
│ └── theme-profile.dconf
└── keychron
│ └── hid_apple.conf
└── install-pack.sh
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2019 Anton Palgunov
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # 🐧 Linux Applications
2 | My pack of applications and dotfiles which I use on Linux / MacOS
3 |
4 | Small history part. From 2014 I use macOS as home and work station, in parallel was Windows station for games and surfing the internet. After building a new PC I install Windows for games and install Linux distro as the second system for work. So at home Linux stay my main OS, and at work I still use macOS. And now I in progress to create the best pack of apps for work and life on Linux. The pack will be to update as I will found the best solutions.
5 |
6 | > TS - test stage, recently found, try to use. But not sure that is best
7 |
8 | > [
](https://snapcraft.io/) - Snapcraft links
9 |
10 | > [
](https://flatpak.org/) - Flatpak links
11 |
12 | 
13 |
14 | ### Distro now: ~~[
Ubuntu 19.04](https://ubuntu.com/)~~ [
Arch Linux](https://www.archlinux.org/)
15 |
16 | ## Browser
17 | - [
Google Chrome](https://www.google.com/chrome/)
18 | - [
Firefox](https://www.mozilla.org/en-GB/firefox/) Moved from my Chrome for Linux.
19 |
20 | ## Mail:
21 | - [
Geary](https://gitlab.gnome.org/GNOME/geary/) Switched from thunderbird, that more like macOS mail client.
22 | - [
Thunderbird](https://www.thunderbird.net) + https://www.omgubuntu.co.uk/2018/08/monterail-thunderbird-theme-add-ons - I use it long time, but that mail client looks like step back after Gmail Web Client and macOS Mail.app. I'll follow the project. It's good, but don't match perfect to me.
23 |
24 | ## Music
25 | - [
Spotify](https://www.spotify.com) - Streaming service for music for all your devices
26 | - [
Lollypop](https://gitlab.gnome.org/World/lollypop) [
](https://flathub.org/apps/details/org.gnome.Lollypop) Really nice music player.
27 |
28 | ## Messengers
29 | - [
Telegram](https://desktop.telegram.org/) [
](https://snapcraft.io/telegram-desktop) [
](https://flathub.org/apps/details/org.telegram.desktop) - The messaging app with a focus on speed and security, it’s super fast, simple and free.
30 | - [
Discord](https://discordapp.com) - Discord is a free voice and text chat client for gamers and non-gamers alike. You can use it from your browser and it's available on iOS, Android, Windows, Mac, and Linux.
31 | - [
Slack](https://slack.com)
32 |
33 | ## Games
34 | - [
Steam](https://store.steampowered.com/)
35 | - [
Lutris](https://lutris.net/) That WINE, but almost without pain for a lot of games
36 |
37 | ## Utils
38 | - [
GWE](https://gitlab.com/leinardi/gwe) Like GPU-Z + MSI Afterburner for NVIDIA
39 | - [
CPU-X](https://x0rg.github.io/CPU-X/) Like CPU-Z in Windows
40 | - [
qBittorrent](https://qbittorrent.org/)
41 | - [
pSensor](https://gitlab.com/jeanfi/psensor)
42 | - [
Timeshift](https://github.com/teejee2008/timeshift) - Awesome backup system, already twice restored my system after experiments. Highly recommend.
43 | - [
TeamViewer](https://www.teamviewer.com) - Remote control and remote support
44 |
45 | ## Code editor
46 | - [
Visual Studio Code](https://code.visualstudio.com/) - Lightweight Source Code Editor and text as well
47 |
48 | ## Notes
49 | - [
Simplenotes](https://simplenote.com/) - Best that is match with me. It has as simple notes and markdown notes. Client has on all popular OS include mobiles. Also, has synchronization.
50 | - [
Boostnotes](https://boostnote.io/) - Cool notes with markdown, but without synchronization in the box. And without mobile client
51 | - [
Tusk](https://github.com/klaussinani/tusk) - Good Notes if you use Evernote
52 |
53 | ## Video/Graphics/3D editors
54 | - [
DaVinci Resolve](https://www.blackmagicdesign.com/products/davinciresolve/) - Video editor, I think the best for Linux
55 | - [
Krita](https://krita.org/) (TS) - Krita is a professional free and open source painting program.
56 | - [
Inkscape](https://inkscape.org/) (TS) - Free and open-source vector graphics editor
57 | - [
Open Broadcaster Software](https://obsproject.com/) - For video recording and live streaming.
58 | - [
Blender](https://www.blender.org/) - Fully-featured extensible cross-platform 3D content suite.
59 |
60 | ## Docs
61 | - [
Google Docs](https://www.google.com/docs) Web docs, I use every day.
62 | - [
WPS](https://www.wps.com/office/linux) - Analogue LibreOffice looks like MS office
63 | - [
LibreOffice](https://www.libreoffice.org/) - So after long time it's my general office for Linux
64 |
65 | ## Photo/Video/Files viewers
66 | - [
VLC](http://www.videolan.org/vlc/index.html) - Multimedia player and framework that plays DVDs, Audio CDs, VCDs, and various streaming protocols.
67 |
68 | ## Ebook
69 | - [
Foliate](https://github.com/johnfactotum/foliate) - Best e-book reader for me
70 | - [
Bookworm](https://github.com/babluboy/bookworm) - More liked Foliate. But also not bad
71 |
72 | ## Password Managers
73 | - [
Bitwarden](https://bitwarden.com/) - Open-Source password manager, also you can self create your server for the manager
74 | - [
1Password](https://1password.com/) - IMHO the best password manager, but hasn't GUI client for Linux, but has CLI and as extension for browsers
75 |
--------------------------------------------------------------------------------
/arch-install.md:
--------------------------------------------------------------------------------
1 |
2 | ## Browser
3 | - Google Chrome `yay -S google-chrome`
4 | - Firefox `yay -S firefox`
5 |
6 | ## Mail:
7 | - Geary `yay -S geary`
8 | - Thunderbird `yay -S thunderbird`
9 |
10 | ## Music
11 | - Spotify `yay -S spotify`
12 | - Lollypop `yay -S lollypop-git`
13 |
14 | ## Messangers
15 | - Telegram `yay -S telegram-desktop`
16 | - Discord `yay -S discord`
17 | - Slack `yay -S slack-desktop`
18 |
19 | ## Games
20 | - Steam https://wiki.archlinux.org/index.php/Steam#Installation
21 | - Lutris `yay -S lutris`
22 |
23 | ## Utils
24 | - GWE `yay -S gwe`
25 | - CPU-X `yay -S cpu-x`
26 | - qBittorrent `yay -S qbittorrent`
27 | - pSensor `yay -S psensor`
28 | - Timeshift `yay -S timeshift`
29 | - TeamViewer `yay -S teamviewer`
30 |
31 | ## Code editor
32 | - Visual Studio Code `yay -S visual-studio-code-bin`
33 |
34 | ## Notes
35 | - Simplenotes `yay -S simplenote-electron-bin`
36 | - Boostnotes `yay -S boostnotes`
37 | - Tusk `yay -S tusk`
38 |
39 | ## Video/Graphics/3D editors
40 | - DaVinci Resolve `yay -S davinci-resolve`
41 | - Krita `yay -S krita`
42 | - Open Broadcaster Software `yay -S obs-studio`
43 | - Blender `yay -S blender`
44 |
45 | ## Docs
46 | - WPS `yay -S wps-office`
47 | - LibreOffice `yay -S libreoffice-still`
48 |
49 | ## Photo/Video/Files viwers
50 | - VLC `yay -S vlc`
51 |
52 | ## Ebook
53 | - Foliate `yay -S foliate`
54 | - Bookworm `yay -S bookworm`
55 |
--------------------------------------------------------------------------------
/assets/low-res.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Toxblh/Linux-Applications/55598eb182171bd9e93b7a4a162aa76aa02f4cf0/assets/low-res.jpg
--------------------------------------------------------------------------------
/brew.sh:
--------------------------------------------------------------------------------
1 | # brew install
2 | /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
3 |
4 | # APPS
5 | brew cask install simplenote
6 | brew cask install mtmr
7 | brew cask install monitorcontrol
8 | brew cask install tunnelblick
9 |
10 | # Dev Tools
11 | brew install watch
12 | brew install nvm
13 | brew install httpie
14 | brew install python3
15 | brew install binwalk
16 | brew install jq
17 |
18 | brew install tldr
19 | brew install git
20 | brew install diff-so-fancy
21 | brew install gnupg
22 |
23 | # Kube
24 | brew install kubectx
25 | brew tap robscott/tap
26 | brew install robscott/tap/kube-capacity
27 |
28 | # GC-SDK + K8s
29 | brew cask install google-cloud-sdk
30 | brew install helm
31 |
32 | # install helm 2.15.0
33 | # git clone https://github.com/Homebrew/homebrew-core.git
34 | # cd homebrew-core
35 | # brew install https://github.com/Homebrew/homebrew-core/raw/560afd4e62f4b84113de9b27626325ded28abb87/Formula/kubernetes-helm.rb
36 |
37 | # VPN
38 | brew install wireguard-tools
39 |
--------------------------------------------------------------------------------
/dotfiles/.config/autostart/conky.desktop:
--------------------------------------------------------------------------------
1 | [Desktop Entry]
2 | Type=Application
3 | Name=Conky
4 | Exec=/home/toxblh/.config/conky/startup.sh
5 | Terminal=false
6 | StartupNotify=false
7 |
--------------------------------------------------------------------------------
/dotfiles/.config/autostart/discord.desktop:
--------------------------------------------------------------------------------
1 | [Desktop Entry]
2 | Name=Discord
3 | StartupWMClass=discord
4 | Comment=All-in-one voice and text chat for gamers that's free, secure, and works on both your desktop and phone.
5 | GenericName=Internet Messenger
6 | Exec=/usr/bin/discord
7 | Icon=discord
8 | Type=Application
9 | Categories=Network;InstantMessaging;
10 | Path=/usr/bin
11 | Path=/usr/bin
12 |
--------------------------------------------------------------------------------
/dotfiles/.config/autostart/gwe.desktop:
--------------------------------------------------------------------------------
1 | [Desktop Entry]
2 | Type=Application
3 | Encoding=UTF-8
4 | Name=GWE
5 | Comment=GUI to control cooling and overclock of nVidia cards
6 | Terminal=false
7 | Categories=System;Settings;
8 | Icon=/usr/lib/python3.8/site-packages/gwe/data/com.leinardi.gwe
9 | Exec=gwe --hide-window
10 | X-GNOME-Autostart-enabled=true
--------------------------------------------------------------------------------
/dotfiles/.config/autostart/telegramdesktop.desktop:
--------------------------------------------------------------------------------
1 | [Desktop Entry]
2 | Version=1.0
3 | Name=Telegram Desktop
4 | Comment=Official desktop version of Telegram messaging app
5 | TryExec=telegram-desktop
6 | Exec=telegram-desktop -autostart
7 | Icon=telegram
8 | Terminal=false
9 | StartupWMClass=TelegramDesktop
10 | Type=Application
11 | Categories=Chat;Network;InstantMessaging;Qt;
12 | MimeType=x-scheme-handler/tg;
13 | Keywords=tg;chat;im;messaging;messenger;sms;tdesktop;
14 | X-GNOME-UsesNotifications=true
15 |
--------------------------------------------------------------------------------
/dotfiles/.config/conky/README.md:
--------------------------------------------------------------------------------
1 | All files need to store in this folder
2 |
3 | ```sh
4 | ${HOME}/.config/conky
5 | ```
6 |
7 |
8 | `startup.sh` put to autoload scripts
9 |
--------------------------------------------------------------------------------
/dotfiles/.config/conky/conky-clock.conf:
--------------------------------------------------------------------------------
1 | use_xft yes
2 | xftfont 123:size=8
3 | xftalpha 0.1
4 | update_interval 1
5 | total_run_times 0
6 | double_buffer yes
7 | minimum_size 290 5
8 | maximum_width 541
9 | draw_shades no
10 | draw_outline no
11 | draw_borders no
12 | draw_graph_borders no
13 | default_color white
14 | default_shade_color red
15 | default_outline_color green
16 | alignment top_left
17 | gap_x 400
18 | gap_y 30
19 | no_buffers yes
20 | uppercase no
21 | cpu_avg_samples 2
22 | net_avg_samples 1
23 | override_utf8_locale yes
24 | use_spacer yes
25 |
26 | own_window yes
27 | own_window_title conky
28 | own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
29 | own_window_argb_visual yes
30 | own_window_argb_value 0
31 | own_window_type normal
32 |
33 | TEXT
34 | ${voffset 10}${color ffffff}${font Ubuntu:pixelsize=120}${time %H:%M}${font}
35 |
36 | ${color FFA300}${font Ubuntu:pixelsize=36}${alignc}${time %d} ${color ffffff}${font Ubuntu:pixelsize=24}${time %B} ${time %Y}${font}
37 | ${voffset 30}
38 |
--------------------------------------------------------------------------------
/dotfiles/.config/conky/conky.conf:
--------------------------------------------------------------------------------
1 | ###Settings###
2 | background yes
3 | cpu_avg_samples 1
4 | default_bar_size 100 8
5 | default_graph_size 200 100
6 | diskio_avg_samples 10
7 | double_buffer yes
8 | extra_newline no
9 | if_up_strictness address
10 | net_avg_samples 1
11 | no_buffers yes
12 | temperature_unit celsius
13 | text_buffer_size 2048
14 | short_units yes
15 | update_interval 1
16 | ###End Settings###
17 |
18 | ###Position###
19 | alignment top_right
20 | gap_x 10
21 | gap_y 46
22 | minimum_size 300 740
23 | maximum_width 300
24 | ###End Position###
25 |
26 | ###Borders###
27 | border_inner_margin 0
28 | border_outer_margin 10
29 | border_width 0
30 | draw_borders no
31 | draw_graph_borders yes
32 | draw_outline no
33 | draw_shades no
34 | ###End Borders###
35 |
36 | ###Window###
37 | own_window yes
38 | own_window_title conky
39 | own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
40 | own_window_argb_visual yes
41 | own_window_argb_value 0
42 | own_window_type normal
43 | ###End Window###
44 |
45 | ###Font###
46 | max_text_width 0
47 | override_utf8_locale yes
48 | uppercase yes
49 | use_spacer none
50 | use_xft yes
51 | xftfont Ubuntu:size=9
52 | xftalpha 0.9
53 | ###End Font###
54 |
55 | TEXT
56 | # Add Font for icons: StyleBats [https://bit.ly/2okEwnr]
57 | # System
58 | ${color ffb236}${font Ubuntu:size=11:bold}${voffset 2}S Y S T E M ${hr 2}${font}${color}${voffset 4}
59 | #
60 | Name: ${alignr} ${nodename}
61 | Distro: ${alignr} ${exec lsb_release -rcd | awk '{printf "%s ",$2}' | sed s/.$// }
62 | Kernel: ${alignr} ${exec uname -r}
63 | CPU: ${alignr}${exec cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'| uniq | cut -c 1-26}
64 | Graphics: ${alignr}${execp nvidia-smi --query-supported-clocks=gpu_name --format=csv,noheader}
65 | Driver: ${alignr}${execi 60000 nvidia-smi | grep "Driver Version"| awk {'print $3'}}
66 | UPTIME: ${alignr}${uptime}
67 |
68 | # Processes
69 | ${color aa6fed}${font Ubuntu:size=11:bold}P R O C E S S E S ${hr 2}${font}${color}${voffset 4}
70 | #
71 | CPU: $alignr${freq}MHz
72 | Temp CPU: $alignr${execi 10 sensors | grep 'Core 0' | awk {'print $3'}}
73 | Load CPU:${alignr}${cpugraph 32,180}
74 | #
75 | ${font Ubuntu:size=9:bold}Top CPU${font}${alignr} ${goto 170}ID ${goto 222}CPU% ${goto 273}MEM%${voffset 4}
76 | ${top name 1}${alignr} ${goto 170}${top pid 1} ${goto 222}${top cpu 1} ${goto 274}${top mem 1}
77 | ${top name 2}${alignr} ${goto 170}${top pid 2} ${goto 222}${top cpu 2} ${goto 274}${top mem 2}
78 | ${top name 3}${alignr} ${goto 170}${top pid 3} ${goto 222}${top cpu 3} ${goto 274}${top mem 3}
79 | ${top name 4}${alignr} ${goto 170}${top pid 4} ${goto 222}${top cpu 4} ${goto 274}${top mem 4}
80 | ${top name 5}${alignr} ${goto 170}${top pid 5} ${goto 222}${top cpu 5} ${goto 274}${top mem 5}
81 |
82 | # Memory
83 | ${color ff3650}${font Ubuntu:size=11:bold}M E M O R Y ${hr 2}${font}${color}${voffset 4}
84 | #
85 | ${font StyleBats:size=20}m${font}${offset 8}${voffset -12}RAM: ${alignr}${offset -10}${mem} / ${memmax}${alignr}${membar}
86 | ${offset 30}Swap: ${alignr}${offset -10}${swap} / ${swapmax}${alignr}${swapbar}
87 |
88 | ${font Ubuntu:size=9:bold}Top MEM${font}${alignr} ${goto 170}ID ${goto 222}CPU% ${goto 273}MEM%${voffset 4}
89 | ${top_mem name 1}${alignr} ${goto 170}${top_mem pid 1} ${goto 222}${top_mem cpu 1} ${goto 274}${top_mem mem 1}
90 | ${top_mem name 2}${alignr} ${goto 170}${top_mem pid 2} ${goto 222}${top_mem cpu 2} ${goto 274}${top_mem mem 2}
91 | ${top_mem name 3}${alignr} ${goto 170}${top_mem pid 3} ${goto 222}${top_mem cpu 3} ${goto 274}${top_mem mem 3}
92 | ${top_mem name 4}${alignr} ${goto 170}${top_mem pid 4} ${goto 222}${top_mem cpu 4} ${goto 274}${top_mem mem 4}
93 | ${top_mem name 5}${alignr} ${goto 170}${top_mem pid 5} ${goto 222}${top_mem cpu 5} ${goto 274}${top_mem mem 5}
94 |
95 | # Disks
96 | ${color 4289ed}${font Ubuntu:size=11:bold}D I S K S ${hr 2}${font}${color}${voffset 4}
97 | #
98 | ${font StyleBats:size=20}t${font}${offset 8}${voffset -12}SSD: ${alignr}${offset -10}${fs_used /} / ${fs_size /}${alignr}${fs_bar /}
99 | ${offset 30}I/O Read: ${alignr}${offset -10}${diskio_read /dev/sda1}${alignr}${diskiograph_read sda1 8,100}
100 | ${offset 30}I/O Write: ${alignr}${offset -10}${diskio_write /dev/sda1}${alignr}${diskiograph_write sda1 8,100}
101 |
102 |
103 | # Graphics
104 | ${color 16c964}${font Ubuntu:size=11:bold}G R A P H I C S ${hr 2}${font}${color}${voffset 4}
105 | #
106 | ${font StyleBats:size=20}u${font}${offset 8}${voffset -12}Temp ${alignr}${execi 60 nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader} °C
107 | ${offset 30}Fan ${alignr}${execi 60 nvidia-settings -q [fan:0]/GPUCurrentFanSpeed -t} %
108 | ${offset 30}Freq ${alignr}${execi 60 nvidia-settings -q GPUCurrentClockFreqs | grep -m 1 Attribute | awk '{print $4}' | sed -e 's/\.//' | cut -d, -f1} MHz
109 | ${offset 30}Memory ${alignr}${execi 60 nvidia-settings -q [gpu:0]/UsedDedicatedGPUMemory -t} / ${exec nvidia-settings -q [gpu:0]/TotalDedicatedGPUMemory -t} MiB0
110 |
111 | # Network
112 | ${color 839ae6}${font Ubuntu:size=11:bold}N E T W O R K ${hr 2}${font}${color}${voffset 4}
113 | ${color1}WiFi Down:${color} ${downspeed wlo1} ${goto 165}${color1}WiFi Up:${color} ${upspeed wlo1}
114 | ${downspeedgraph wlo1 32,145} ${goto 165}${upspeedgraph wlo1 32,145}
115 |
--------------------------------------------------------------------------------
/dotfiles/.config/conky/startup.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | conky -q -c ${HOME}/.config/conky/conky-clock.conf &
3 | conky -q -c ${HOME}/.config/conky/conky.conf & exit
4 |
--------------------------------------------------------------------------------
/dotfiles/.gitconfig:
--------------------------------------------------------------------------------
1 | [Alias]
2 | st = status
3 | ci = commit -am
4 | br = branch
5 | co = checkout
6 | # Pull rebase origin master
7 | prom = pull --rebase origin master
8 | # Pull rebase origin branch
9 | prob = "!sh -c '_CURRENT_BRANCH=$(git symbolic-ref —short HEAD) && echo —- pull rebase $_CURRENT_BRANCH —- && git pull —rebase origin $_CURRENT_BRANCH'"
10 | # prom + push
11 | pmp = "!git prom && git push"
12 | # prom + push short
13 | pp = "!git prom && git push"
14 | # prob + push
15 | pbp = "!git prob && git push"
16 | # push new branch to origin
17 | pu = "!sh -c '_CURRENT_BRANCH=$(git symbolic-ref --short HEAD) && git push -u origin $_CURRENT_BRANCH'"
18 | # merge with no fast-forward
19 | mnf = merge --no-ff
20 | # merge branch to master
21 | mm = "!sh -c '_CURRENT_BRANCH=$(git symbolic-ref --short HEAD) && echo --- merge $_CURRENT_BRANCH to master --- && echo --- git pull --- && git pull && echo --- git co master --- && git co master && echo --- git pull --- && git pull && echo --- git merge $_CURRENT_BRANCH --- && git merge $_CURRENT_BRANCH'"
22 | # delete all merged branches
23 | dmb = "!git co master && git branch --merged | grep -v '\\*' | xargs -n 1 git branch -d"
24 | # Git graph commits
25 | gr = log --graph --abbrev-commit --decorate --date=relative --format=format:\"%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)\" --all
26 | # Git graph only my commits
27 | mygr = log --graph --abbrev-commit --decorate --date=format:'%Y-%m-%d %H:%M:%S' --format=format:\"%C(bold blue)%h%C(reset) - %C(bold green)(%ad)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)\" --all --author='Palgunov'
28 | # Pretty history
29 | hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
30 | # Create new branch
31 | task = checkout -b
32 | # Fast diff
33 | dl = diff HEAD^ HEAD
34 | # Squash branch to 1 commit
35 | sqbr = "!sh -c '_CURRENT_BRANCH=$(git symbolic-ref --short HEAD) && git reset $(git merge-base master $_CURRENT_BRANCH) && git add -A && git commit -m \"$0\"'"
36 |
37 | [credential]
38 | helper = osxkeychain
39 |
40 | [core]
41 | excludesfile = ~/.gitignore
42 | pager = diff-so-fancy | less --tabs=4 -RFX
43 |
44 | [help]
45 | autocorrect = -1
46 |
47 | [color]
48 | ui = true
49 |
50 | [color "diff-highlight"]
51 | oldNormal = red bold
52 | oldHighlight = red bold 52
53 | newNormal = green bold
54 | newHighlight = green bold 22
55 |
56 | [color "diff"]
57 | meta = yellow
58 | frag = magenta bold
59 | commit = yellow bold
60 | old = red bold
61 | new = green bold
62 | whitespace = red reverse
63 |
64 | [filter "lfs"]
65 | clean = git-lfs clean -- %f
66 | smudge = git-lfs smudge -- %f
67 | process = git-lfs filter-process
68 | required = true
69 |
70 | [commit]
71 | gpgsign = true
72 |
--------------------------------------------------------------------------------
/dotfiles/.gitignore:
--------------------------------------------------------------------------------
1 | # Folder view configuration files
2 | .DS_Store
3 | Desktop.ini
4 |
5 | # Thumbnail cache files
6 | ._*
7 | Thumbs.db
8 |
9 | # Files that might appear on external disks
10 | .Spotlight-V100
11 | .Trashes
12 |
--------------------------------------------------------------------------------
/dotfiles/.zshrc:
--------------------------------------------------------------------------------
1 | export TERM="xterm-256color"
2 |
3 | POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(host user dir)
4 | POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status root_indicator vcs battery time)
5 | POWERLEVEL9K_PROMPT_ON_NEWLINE=true
6 | POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND='kubectl|helm|kubens|kubectx|oc|istioctl|kogito'
7 |
8 | # ZPlug
9 |
10 | if [[ ! -d ~/.zplug ]];then
11 | git clone https://github.com/b4b4r07/zplug ~/.zplug
12 | fi
13 | source ~/.zplug/init.zsh
14 |
15 | # Theme
16 | zplug romkatv/powerlevel10k, as:theme
17 |
18 | # Plugins
19 | zplug "lib/completion", from:oh-my-zsh
20 | zplug "lib/history", from:oh-my-zsh
21 | zplug "lib/key-bindings", from:oh-my-zsh
22 | zplug "lib/termsupport", from:oh-my-zsh
23 | zplug "lib/directories", from:oh-my-zsh
24 | zplug "plugins/git", from:oh-my-zsh
25 | zplug "plugins/history", from:oh-my-zsh
26 |
27 | zplug "zsh-users/zsh-autosuggestions"
28 | zplug "zsh-users/zsh-syntax-highlighting"
29 | zplug "zsh-users/zsh-completions"
30 | zplug "zsh-users/zsh-history-substring-search"
31 |
32 | zplug check || zplug install
33 | zplug load
34 |
35 |
--------------------------------------------------------------------------------
/dotfiles/ddc/45-ddcutil-i2c.rules:
--------------------------------------------------------------------------------
1 | KERNEL=="i2c-[0-9]*", GROUP="ddc", MODE="0660", PROGRAM="/usr/bin/ddcutil --bus=%n getvcp 0x10"
2 |
--------------------------------------------------------------------------------
/dotfiles/ddc/99-ddcci.rules:
--------------------------------------------------------------------------------
1 | SUBSYSTEM=="i2c-dev", ACTION=="add",\
2 | ATTR{name}=="NVIDIA i2c adapter*",\
3 | TAG+="ddcci",\
4 | TAG+="systemd",\
5 | ENV{SYSTEMD_WANTS}+="ddcci@$kernel.service"
6 |
--------------------------------------------------------------------------------
/dotfiles/ddc/ddcci@.service:
--------------------------------------------------------------------------------
1 | [Unit]
2 | Description=ddcci handler
3 | After=graphical.target
4 | Before=shutdown.target
5 | Conflicts=shutdown.target
6 |
7 | [Service]
8 | Type=oneshot
9 | ExecStart=/bin/bash -c 'echo Trying to attach ddcci to %i && success=0 && i=0 && id=$(echo %i | cut -d "-" -f 2) && while ((success < 1)) && ((i++ < 5)); do /usr/bin/ddcutil getvcp 10 -b $id && { success=1 && echo ddcci 0x37 > /sys/bus/i2c/devices/%i/new_device && echo "ddcci attached to %i"; } || sleep 5; done'
10 | Restart=no
11 |
--------------------------------------------------------------------------------
/dotfiles/ddc/i2c-dev.conf:
--------------------------------------------------------------------------------
1 | i2c-dev
2 |
--------------------------------------------------------------------------------
/dotfiles/gnome-terminal/README.md:
--------------------------------------------------------------------------------
1 | # Backup
2 | 1. `dconf dump /org/gnome/terminal/legacy/profiles:/`
3 | 2. Get id `:1430663d-083b-4737-a7f5-8378cc8226d1`
4 | 3. Backup theme `dconf dump /org/gnome/terminal/legacy/profiles:/:1430663d-083b-4737-a7f5-8378cc8226d1/ > theme-profile.dconf`
5 | 4. Restore theme `dconf load /org/gnome/terminal/legacy/profiles:/:1430663d-083b-4737-a7f5-8378cc8226d1/ < theme-profile.dconf`
6 |
--------------------------------------------------------------------------------
/dotfiles/gnome-terminal/theme-profile.dconf:
--------------------------------------------------------------------------------
1 | [/]
2 | audible-bell=true
3 | background-color='rgb(40,44,52)'
4 | bold-color='#ABB2BF'
5 | bold-color-same-as-fg=true
6 | bold-is-bright=false
7 | custom-command='zsh'
8 | font='FiraCode Nerd Font Mono 11'
9 | foreground-color='#abb2bf'
10 | login-shell=false
11 | palette=['rgb(45,49,57)', 'rgb(224,108,117)', 'rgb(152,195,121)', 'rgb(229,192,123)', 'rgb(97,175,239)', 'rgb(198,120,221)', 'rgb(86,182,194)', 'rgb(215,218,224)', 'rgb(127,132,142)', 'rgb(244,71,71)', 'rgb(152,195,121)', 'rgb(229,192,123)', 'rgb(82,139,255)', 'rgb(126,0,151)', 'rgb(86,182,194)', 'rgb(215,218,224)']
12 | text-blink-mode='always'
13 | use-custom-command=true
14 | use-theme-background=false
15 | use-theme-colors=false
16 | visible-name='ToxblhPro'
17 |
--------------------------------------------------------------------------------
/dotfiles/keychron/hid_apple.conf:
--------------------------------------------------------------------------------
1 | options hid_apple fnmode=2
2 |
--------------------------------------------------------------------------------
/install-pack.sh:
--------------------------------------------------------------------------------
1 | # dev utils
2 | sudo pacman -S base-devel
3 | uname -a
4 | sudo pacman -S linux-headers
5 |
6 | # install yay
7 | git clone https://aur.archlinux.org/yay.git
8 | cd yay
9 | makepkg -si
10 |
11 | yay -S google-chrome --noconfirm
12 | yay -S spotify --noconfirm
13 | yay -S lollypop --noconfirm
14 | yay -S telegram-desktop --noconfirm
15 | # font for telegram
16 | yay -S ttf-opensans --noconfirm
17 | yay -S discord --noconfirm
18 | yay -S slack-desktop --noconfirm
19 | yay -S gwe --noconfirm
20 | yay -S cpu-x --noconfirm
21 | yay -S qbittorrent --noconfirm
22 | yay -S psensor --noconfirm
23 | yay -S timeshift --noconfirm
24 | yay -S teamviewer --noconfirm
25 | yay -S visual-studio-code-bin --noconfirm
26 | yay -S simplenote-electron-bin --noconfirm
27 | yay -S foliate --noconfirm
28 | yay -S nerd-fonts-fira-code --noconfirm
29 | yay -S nvm --noconfirm
30 | yay -S zsh --noconfirm
31 | yay -S fd --noconfirm
32 | yay -S jq --noconfirm
33 | yay -S htop --noconfirm
34 | yay -S papirus-icon-theme --noconfirm
35 | yay -S vim --noconfirm
36 | yay -S rustscan --noconfirm
37 | yay -S ranger --noconfirm
38 | yay -S thunderbird --noconfirm
39 | yay -S krita --noconfirm
40 | yay -S obs-studio --noconfirm
41 | yay -S blender --noconfirm
42 | yay -S 1password-bin --noconfirm
43 | yay -S ulauncher --noconfirm
44 | yay -S alacritty --noconfirm
45 | yay -S lsd --noconfirm
46 | yay -S diff-so-fancy --noconfirm
47 | yay -S solaar --noconfirm
48 |
49 | # Printer Epson
50 | yay -S epson-inkjet-printer-escpr --noconfirm
51 | yay -S epson-printer-utility --noconfirm
52 |
53 | # Games Wine Deps https://github.com/lutris/docs/blob/master/WineDependencies.md
54 | yay -S lutris --noconfirm
55 | yay -S steam --noconfirm
56 | yay -S mangohud --noconfirm
57 | yay -S wine-staging giflib lib32-giflib libpng lib32-libpng libldap lib32-libldap gnutls lib32-gnutls mpg123 lib32-mpg123 openal lib32-openal v4l-utils lib32-v4l-utils libpulse lib32-libpulse libgpg-error lib32-libgpg-error alsa-plugins lib32-alsa-plugins alsa-lib lib32-alsa-lib libjpeg-turbo lib32-libjpeg-turbo sqlite lib32-sqlite libxcomposite lib32-libxcomposite libxinerama lib32-libgcrypt libgcrypt lib32-libxinerama ncurses lib32-ncurses opencl-icd-loader lib32-opencl-icd-loader libxslt lib32-libxslt libva lib32-libva gtk3 lib32-gtk3 gst-plugins-base-libs lib32-gst-plugins-base-libs vulkan-icd-loader lib32-vulkan-icd-loader --noconfirm
58 |
59 | yay -S inav-configurator-bin --noconfirm
60 | # Access to usb serial
61 | sudo usermod -a -G uucp $USER
62 | sudo usermod -a -G lock $USER
63 |
64 | yay -S opentx-companion-bin --noconfirm
65 | yay -S cura --noconfirm
66 | yay -S inxi --noconfirm
67 | yay -S neofetch --noconfirm
68 | yay -S conky --noconfirm
69 | yay -S simplescreenrecorder --noconfirm
70 | yay -S ttf-ms-fonts --noconfirm
71 |
72 | yay -S httpie --noconfirm
73 | yay -S google-cloud-sdk --noconfirm
74 | yay -S helm --noconfirm
75 | yay -S aurpublish --noconfirm
76 | yay -S celluloid --noconfirm
77 |
78 | # Extrernal Brightness (linux-headers required)
79 | yay -S ddcutil --noconfirm
80 | yay -S ddcci-driver-linux-dkms --noconfirm
81 |
82 | # SSH
83 | yay -S openssh --noconfirm
84 | sudo systemctl start sshd
85 | sudo systemctl enable sshd
86 |
87 | # Docker
88 | yay -S docker-compose --noconfirm
89 | sudo gpasswd -a $USER docker
90 | sudo systemctl start docker.service
91 | sudo systemctl enable docker.service
92 |
93 | # ocs-url - for open some themes and other
94 | yay -S ocs-url --noconfirm
95 | # AppImage integration to the system, analog appimaged
96 | # yay -S appimagelauncher-git --noconfirm
97 |
98 | #
99 | # Settings system
100 | #
101 |
102 | # dotfiles
103 | # cp -R dotfiles/.config/conky ~/.config/conky
104 | # cp dotfiles/.gitignore ~
105 | # cp dotfiles/.gitconfig ~
106 | # cp dotfiles/.zshrc ~
107 |
108 | # git
109 | # git config --global user.name "Anton Palgunov"
110 | # git config --global user.email "toxblh@gmail.com"
111 |
112 | # Fast reconnection for bluetooth
113 | # sudo sed -i 's/#FastConnectable = false/FastConnectable = true/g' /etc/bluetooth/main.conf
114 |
115 | # DDC Utils
116 | sudo modprobe i2c-dev
117 | sudo cp $(pwd)/dotfiles/ddc/i2c-dev.conf /etc/modules-load.d/i2c-dev.conf
118 | sudo cp $(pwd)/dotfiles/ddc/45-ddcutil-i2c.rules /etc/udev/rules.d/45-ddcutil-i2c.rules
119 | sudo cp $(pwd)/dotfiles/ddc/99-ddcci.rules /etc/udev/rules.d/99-ddcci.rules
120 | sudo cp $(pwd)/dotfiles/ddc/ddcci@.service /etc/systemd/system/ddcci@.service
121 | sudo udevadm trigger
122 | sudo groupadd ddc
123 | sudo usermod -aG ddc $USER
124 |
125 | # Keyboard Keychron K2/Apple
126 | sudo cp $(pwd)/dotfiles/keychron/hid_apple.conf /etc/modprobe.d/hid_apple.conf
127 | sudo mkinitcpio -P
128 |
129 | # Gnome OneDark Pro Terminal
130 | # dconf load /org/gnome/terminal/legacy/profiles:/:1430663d-083b-4737-a7f5-8378cc8226d1/ < dotfiles/gnome-terminal/theme-profile.dconf
131 |
132 | # NodeJS install
133 | # echo 'source /usr/share/nvm/init-nvm.sh' >> ~/.zshrc
134 | # source ~/.zshrc
135 | # nvm install --lts
136 |
137 | # Xbox controler
138 | sudo touch /etc/modprobe.d/xbox_bt.conf
139 | echo 'options bluetooth disable_ertm=1' | sudo tee -a /etc/modprobe.d/xbox_bt.conf
140 | yay -S dkms bluez bluez-utils
141 | yay -S xpadneo-dkms-git
142 |
143 | curl -s "https://get.sdkman.io" | bash
144 | source "$HOME/.sdkman/bin/sdkman-init.sh"
145 | sdk install java
146 |
147 | # LDAC audio
148 | yay -S libldac pulseaudio-modules-bt-git
149 |
--------------------------------------------------------------------------------