mirror of
https://github.com/Mastermindzh/dotfiles.git
synced 2025-05-14 09:04:33 +02:00
Compare commits
No commits in common. "ab3820fe8cf0965d8e2a47f21fb7386db360faf7" and "d28b21dcdfc8bdbf0e3afd5e2da3f5d8a9614f21" have entirely different histories.
ab3820fe8c
...
d28b21dcdf
@ -5,13 +5,6 @@ All notable changes to this project will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to date versioning.
|
and this project adheres to date versioning.
|
||||||
|
|
||||||
## [2022-08-03]
|
|
||||||
|
|
||||||
- Fixed i3lock re-using the last image
|
|
||||||
- Set up /etc/environment sharing
|
|
||||||
- Added in greenclip again
|
|
||||||
- added after install and syncLocalSettings.json
|
|
||||||
|
|
||||||
## [2022-07-26]
|
## [2022-07-26]
|
||||||
|
|
||||||
- Added `vers=2.1` to `mount.cifs` command in [mounts.sh](./bash/mounts.sh) to fix an [upstream bug](https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.18.y&id=ca83f50b43a099345e61950f74c4d9eb81c765fe)
|
- Added `vers=2.1` to `mount.cifs` command in [mounts.sh](./bash/mounts.sh) to fix an [upstream bug](https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.18.y&id=ca83f50b43a099345e61950f74c4d9eb81c765fe)
|
||||||
|
@ -25,7 +25,7 @@ Older versions:
|
|||||||
| OS | Arch Linux |
|
| OS | Arch Linux |
|
||||||
| Terminal | xfce4-terminal |
|
| Terminal | xfce4-terminal |
|
||||||
| Editor | nano |
|
| Editor | nano |
|
||||||
| Code editor | vscode |
|
| Code editor | vscode / jetbrains stuff |
|
||||||
| Browser | Firefox |
|
| Browser | Firefox |
|
||||||
| File manager | If I have to use one ... Nautilus |
|
| File manager | If I have to use one ... Nautilus |
|
||||||
| Music | Tidal through [Tidal-hifi](https://github.com/Mastermindzh/tidal-hifi) |
|
| Music | Tidal through [Tidal-hifi](https://github.com/Mastermindzh/tidal-hifi) |
|
||||||
@ -49,7 +49,3 @@ Some things are handled by window class/title or have custom resolutions set, th
|
|||||||
## getting icons
|
## getting icons
|
||||||
|
|
||||||
Copy/paste icons from this url: [https://fontawesome.com/v5/cheatsheet](https://fontawesome.com/v5/cheatsheet)
|
Copy/paste icons from this url: [https://fontawesome.com/v5/cheatsheet](https://fontawesome.com/v5/cheatsheet)
|
||||||
|
|
||||||
## after-install
|
|
||||||
|
|
||||||
After install read [./docs/afterinstall.md](./docs/afterinstall.md)
|
|
||||||
|
@ -1,35 +0,0 @@
|
|||||||
{
|
|
||||||
"ignoreUploadFiles": [
|
|
||||||
"state.*",
|
|
||||||
"syncLocalSettings.json",
|
|
||||||
".DS_Store",
|
|
||||||
"sync.lock",
|
|
||||||
"projects.json",
|
|
||||||
"projects_cache_vscode.json",
|
|
||||||
"projects_cache_git.json",
|
|
||||||
"projects_cache_svn.json",
|
|
||||||
"gpm_projects.json",
|
|
||||||
"gpm-recentItems.json"
|
|
||||||
],
|
|
||||||
"ignoreUploadFolders": [
|
|
||||||
"workspaceStorage",
|
|
||||||
"History",
|
|
||||||
"globalStorage",
|
|
||||||
"GlobalStorage"
|
|
||||||
],
|
|
||||||
"ignoreExtensions": [],
|
|
||||||
"gistDescription": "Visual Studio Code Settings Sync Gist",
|
|
||||||
"downloadPublicGist": false,
|
|
||||||
"supportedFileExtensions": [
|
|
||||||
"json",
|
|
||||||
"code-snippets"
|
|
||||||
],
|
|
||||||
"openTokenLink": true,
|
|
||||||
"disableUpdateMessage": false,
|
|
||||||
"githubEnterpriseUrl": null,
|
|
||||||
"askGistDescription": false,
|
|
||||||
"customFiles": {},
|
|
||||||
"hostName": null,
|
|
||||||
"universalKeybindings": false,
|
|
||||||
"autoUploadDelay": 20
|
|
||||||
}
|
|
@ -1,7 +0,0 @@
|
|||||||
#
|
|
||||||
# This file is parsed by pam_env module
|
|
||||||
#
|
|
||||||
# Syntax: simple "KEY=VAL" pairs on separate lines
|
|
||||||
#
|
|
||||||
XCURSOR_THEME="Adwaita"
|
|
||||||
EDITOR="nano"
|
|
@ -1,10 +0,0 @@
|
|||||||
[greenclip]
|
|
||||||
blacklisted_applications = []
|
|
||||||
enable_image_support = true
|
|
||||||
history_file = "/home/mastermindzh/.cache/greenclip.history"
|
|
||||||
image_cache_directory = "/tmp/greenclip"
|
|
||||||
max_history_length = 25
|
|
||||||
max_selection_size_bytes = 0
|
|
||||||
static_history = []
|
|
||||||
trim_space_from_selection = true
|
|
||||||
use_primary_selection_as_input = false
|
|
1
dependencies/aur.txt
vendored
1
dependencies/aur.txt
vendored
@ -22,4 +22,3 @@ chili-sddm-theme
|
|||||||
robo3t-bin
|
robo3t-bin
|
||||||
dive
|
dive
|
||||||
gnome-text-editor
|
gnome-text-editor
|
||||||
greenclip
|
|
||||||
|
@ -1,20 +0,0 @@
|
|||||||
# after install
|
|
||||||
|
|
||||||
<!-- toc -->
|
|
||||||
|
|
||||||
- [Set up vscode settings sync + globalstorage](#set-up-vscode-settings-sync--globalstorage)
|
|
||||||
|
|
||||||
<!-- tocstop -->
|
|
||||||
|
|
||||||
## Set up vscode settings sync + globalstorage
|
|
||||||
|
|
||||||
After setting up settings sync make sure that the "ignoreUploadFolders" in [~/.config/Code/User/syncLocalSettings.json](~/.config/Code/User/syncLocalSettings.json) includes "globalstorages":
|
|
||||||
|
|
||||||
```sh
|
|
||||||
"ignoreUploadFolders": [
|
|
||||||
"workspaceStorage",
|
|
||||||
"History",
|
|
||||||
"globalStorage",
|
|
||||||
"GlobalStorage"
|
|
||||||
],
|
|
||||||
```
|
|
@ -131,7 +131,6 @@ bindsym $mod+d exec "rofi -show run"
|
|||||||
bindsym $mod+Tab exec "rofi -show"
|
bindsym $mod+Tab exec "rofi -show"
|
||||||
bindsym $mod+s exec "rofi -show ssh"
|
bindsym $mod+s exec "rofi -show ssh"
|
||||||
bindsym $mod+n exec $vpnmanager
|
bindsym $mod+n exec $vpnmanager
|
||||||
bindsym $mod+shift+v exec "rofi -modi 'clipboard:greenclip print' -show clipboard -run-command '{cmd}'"
|
|
||||||
|
|
||||||
############################################
|
############################################
|
||||||
# Media keys #
|
# Media keys #
|
||||||
@ -314,4 +313,3 @@ exec --no-startup-id nm-applet
|
|||||||
exec_always feh --bg-scale $(find ~/Pictures/wallpapers/ -type f -name "*" | shuf -n 1)
|
exec_always feh --bg-scale $(find ~/Pictures/wallpapers/ -type f -name "*" | shuf -n 1)
|
||||||
exec /usr/bin/compton
|
exec /usr/bin/compton
|
||||||
exec /bin/bash ~/.config/i3/scripts/startup.sh
|
exec /bin/bash ~/.config/i3/scripts/startup.sh
|
||||||
exec --no-startup-id greenclip daemon
|
|
||||||
|
@ -4,7 +4,7 @@ icon="$HOME/.config/i3/icons/lock.png"
|
|||||||
tmpbg='/tmp/screen.png'
|
tmpbg='/tmp/screen.png'
|
||||||
|
|
||||||
# detect whether tidal is running
|
# detect whether tidal is running
|
||||||
isPlaying=$(~/.config/i3/scripts/tidal-cli.sh status)
|
isPlaying=$(~/.config/i3/scripts/tidal-cli.sh status);
|
||||||
|
|
||||||
scrot "$tmpbg"
|
scrot "$tmpbg"
|
||||||
convert "$tmpbg" -scale 10% -scale 1000% "$tmpbg"
|
convert "$tmpbg" -scale 10% -scale 1000% "$tmpbg"
|
||||||
@ -15,15 +15,15 @@ convert "$tmpbg" "$icon" -gravity center -composite -matte "$tmpbg"
|
|||||||
|
|
||||||
# check whether the lockscreen is being activated because of a suspend
|
# check whether the lockscreen is being activated because of a suspend
|
||||||
if [[ $* == *--suspend ]]; then
|
if [[ $* == *--suspend ]]; then
|
||||||
# if it is, simply lock without no-fork
|
# if it is, simply lock without no-fork
|
||||||
i3lock -f -i "$tmpbg"
|
i3lock -f -i "$tmpbg";
|
||||||
else
|
else
|
||||||
# if it isn't suspended, enable no-fork
|
# if it isn't suspended, enable no-fork
|
||||||
i3lock -n -f -i "$tmpbg"
|
i3lock -n -f -i "$tmpbg";
|
||||||
|
|
||||||
|
# if tidal was playing before we locked, resume.
|
||||||
|
if [ $isPlaying == "playing" ]; then
|
||||||
|
~/.config/i3/scripts/tidal-cli.sh play
|
||||||
|
fi;
|
||||||
|
|
||||||
# if tidal was playing before we locked, resume.
|
|
||||||
if [ $isPlaying == "playing" ]; then
|
|
||||||
~/.config/i3/scripts/tidal-cli.sh play
|
|
||||||
fi
|
|
||||||
rm -rf $tmpbg
|
|
||||||
fi
|
fi
|
||||||
|
@ -93,7 +93,6 @@ function install_config {
|
|||||||
ln -sf "$PWD"/config/gtk-3.0/settings.ini ~/.gtkrc-2.0.mine
|
ln -sf "$PWD"/config/gtk-3.0/settings.ini ~/.gtkrc-2.0.mine
|
||||||
ln -sf "$PWD"/config/gtk-3.0/settings.ini ~/.config/gtk-3.0/settings.ini
|
ln -sf "$PWD"/config/gtk-3.0/settings.ini ~/.config/gtk-3.0/settings.ini
|
||||||
ln -sf "$PWD"/config/mimeapps.list ~/.config/mimeapps.list
|
ln -sf "$PWD"/config/mimeapps.list ~/.config/mimeapps.list
|
||||||
ln -sf "$PWD"/config/greenclip.toml ~/.config/greenclip.toml
|
|
||||||
|
|
||||||
mkdir -p ~/.config/rofi
|
mkdir -p ~/.config/rofi
|
||||||
ln -sf "$PWD"/config/rofi/rofi.rasi ~/.config/rofi/config.rasi
|
ln -sf "$PWD"/config/rofi/rofi.rasi ~/.config/rofi/config.rasi
|
||||||
@ -111,15 +110,11 @@ function install_config {
|
|||||||
sudo ln -sf "$PWD"/config/package-managers/makepkg.conf /etc/makepkg.conf
|
sudo ln -sf "$PWD"/config/package-managers/makepkg.conf /etc/makepkg.conf
|
||||||
sudo ln -sf "$PWD"/config/ntp.conf /etc/ntp.conf
|
sudo ln -sf "$PWD"/config/ntp.conf /etc/ntp.conf
|
||||||
sudo ln -sf "$PWD"/bash/Completion/ /etc/bash_completion.d
|
sudo ln -sf "$PWD"/bash/Completion/ /etc/bash_completion.d
|
||||||
sudo ln -sf "$PWD"/config/environment /etc/environment
|
|
||||||
|
|
||||||
# create empty .custom alias file
|
# create empty .custom alias file
|
||||||
echo "" >~/.custom
|
echo "" >~/.custom
|
||||||
echo "" >~/.variables
|
echo "" >~/.variables
|
||||||
|
|
||||||
# files to be copied once
|
|
||||||
cp "$PWD"/config/code/syncLocalSettings.json ~/.config/Code/User/
|
|
||||||
|
|
||||||
# system fixes
|
# system fixes
|
||||||
echo fs.inotify.max_user_watches=524288 | sudo tee /etc/sysctl.d/40-max-user-watches.conf && sudo sysctl --system
|
echo fs.inotify.max_user_watches=524288 | sudo tee /etc/sysctl.d/40-max-user-watches.conf && sudo sysctl --system
|
||||||
mkdir -p ~/Pictures/Screenshots
|
mkdir -p ~/Pictures/Screenshots
|
||||||
|
Loading…
x
Reference in New Issue
Block a user