huge stuff

This commit is contained in:
NaiJi ✨ 2024-04-23 06:08:02 +04:00
parent b5ee51d270
commit 923ec7c6aa
10 changed files with 77 additions and 52 deletions

View File

@ -1,17 +0,0 @@
[Desktop Entry]
Name=KeePassXC
GenericName=Password Manager
Exec=keepassxc
TryExec=keepassxc
Icon=keepassxc
StartupWMClass=keepassxc
StartupNotify=true
Terminal=false
Type=Application
Version=1.0
Categories=Utility;Security;Qt;
MimeType=application/x-keepass2;
X-GNOME-Autostart-enabled=true
X-GNOME-Autostart-Delay=2
X-KDE-autostart-after=panel
X-LXQt-Need-Tray=true

View File

@ -22,16 +22,13 @@ font pango:DejaVu Sans Mono 8
# https://wiki.archlinux.org/index.php/XDG_Autostart
exec --no-startup-id dex --autostart --environment i3
# launch categorized menu
bindsym $mod+z exec --no-startup-id morc_menu
# control mpd
bindsym $mod+k exec --no-startup-id mpc prev && notify-send -e -t 800 -i music "Now playing" "$(mpc | head -n 1)"
bindsym $mod+l exec --no-startup-id mpc next && notify-send -e -t 800 -i music "Now playing" "$(mpc | head -n 1)"
bindsym $mod+m exec --no-startup-id mpc toggle
bindsym $mod+p exec --no-startup-id mpc volume +5
bindsym $mod+o exec --no-startup-id mpc volume -5
bindsym $mod+j exec --no-startup-id alacritty -e ncmpcpp
bindsym $mod+Left exec --no-startup-id mpc prev && notify-send -e -t 800 -i music "Now playing" "$(mpc | head -n 1)"
bindsym $mod+Right exec --no-startup-id mpc next && notify-send -e -t 800 -i music "Now playing" "$(mpc | head -n 1)"
bindsym $mod+p exec --no-startup-id mpc toggle
bindsym $mod+Up exec --no-startup-id mpc volume +5
bindsym $mod+Down exec --no-startup-id mpc volume -5
bindsym $mod+o exec --no-startup-id alacritty -e ncmpcpp
# The combination of xss-lock, nm-applet and pactl is a popular choice, so
# they are included here as an example. Modify as you see fit.
@ -71,22 +68,19 @@ bindsym $mod+d exec --no-startup-id dmenu_run
# bindcode $mod+40 exec --no-startup-id i3-dmenu-desktop
# alternatively, you can use the cursor keys:
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right
# alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
# split in horizontal orientation
bindsym $mod+h split h
bindsym $mod+Shift+h move left
bindsym $mod+Shift+j move down
bindsym $mod+Shift+k move up
bindsym $mod+Shift+l move right
# split in vertical orientation
bindsym $mod+v split v
bindsym $mod+v split toggle
# enter fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle
@ -106,7 +100,7 @@ bindsym $mod+space focus mode_toggle
bindsym $mod+a focus parent
# focus the child container
#bindsym $mod+d focus child
bindsym $mod+Shift+a focus child
# Define names for default workspaces for which we configure key bindings later on.
# We use variables to avoid repeating the names in multiple places.
@ -149,24 +143,22 @@ bindsym $mod+Shift+e exec "i3-msg exit"
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec --no-startup-id pamac-tray
exec --no-startup-id keepassxc
exec --no-startup-id qbittorrent
exec_always --no-startup-id ff-theme-util
exec_always --no-startup-id fix_xcursor
exec --no-startud-id element-desktop
exec --no-startud-id telegram-desktop
exec --no-startud-id slack
exec_always xwallpaper --no-randr --maximize /usr/share/backgrounds/wallpaper.png
#navigate workspaces next / previous
bindsym $mod+Ctrl+x workspace next
bindsym $mod+Ctrl+z workspace prev
# Resizing windows by 10 in i3 using keyboard only
bindsym $mod+Ctrl+Right resize shrink width 5 px or 5 ppt
bindsym $mod+Ctrl+Up resize grow height 5 px or 5 ppt
bindsym $mod+Ctrl+Down resize shrink height 5 px or 5 ppt
bindsym $mod+Ctrl+Left resize grow width 5 px or 5 ppt
bindsym $mod+Ctrl+l resize shrink width 5 px or 5 ppt
bindsym $mod+Ctrl+k resize grow height 5 px or 5 ppt
bindsym $mod+Ctrl+j resize shrink height 5 px or 5 ppt
bindsym $mod+Ctrl+h resize grow width 5 px or 5 ppt
bindsym $mod+Ctrl+b exec terminal -e 'bmenu'
bindsym $mod+F2 exec firefox
bindsym $mod+F3 exec pcmanfm
bindsym $mod+F4 exec alacritty -e newsboat
@ -230,7 +222,7 @@ mode "$mode_ffmpeg" {
bindsym $mod+Shift+M mode "$mode_music"
set $mode_music (u)pdate music, (s)ingle, (r)andom, r(e)peat
mode "$mode_music" {
bindsym u exec /home/naiji/.local/bin/media-util mpc update, mode "default"
bindsym u exec //home/naiji/.local/bin/media-util mpc update && home/naiji/.local/bin/media-util mpc update, mode "default"
bindsym s exec /home/naiji/.local/bin/media-util mpc single && notify-send -e -t 1000 -i music "Single mode" "$(mpc status %single%)", mode "default"
bindsym r exec /home/naiji/.local/bin/media-util mpc random && notify-send -e -t 1000 -i music "Random mode" "$(mpc status %random%)", mode "default"
bindsym e exec /home/naiji/.local/bin/media-util mpc repeat && notify-send -e -t 1000 -i music "Repeat mode" "$(mpc status %repeat%)", mode "default"

View File

@ -4,7 +4,7 @@ ignore_leading_the = "yes"
ignore_diacritics = "yes"
default_place_to_search_in = "database"
visualizer_type = ellipse
startup_slave_screen = visualizer
## Display Modes ##
playlist_editor_display_mode = "columns"
search_engine_display_mode = "columns"

View File

@ -38,7 +38,7 @@ vim.opt.smartcase = true
-- Keep signcolumn on by default
vim.opt.signcolumn = "yes"
vim.opt.autoindent = true
-- Decrease update time
vim.opt.updatetime = 250

View File

@ -0,0 +1 @@
/usr/lib/systemd/user/mpd.service

0
.config/tmux/tmux.conf Normal file
View File

15
.config/user-dirs.dirs Normal file
View File

@ -0,0 +1,15 @@
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run.
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_VIDEOS_DIR="$HOME/Videos"

1
.config/user-dirs.locale Normal file
View File

@ -0,0 +1 @@
en_US

2
.dmrc Normal file
View File

@ -0,0 +1,2 @@
[Desktop]
Session=i3

31
.gitignore vendored
View File

@ -46,3 +46,34 @@ Videos/
.vscode-oss/
.bash_history*
.npmrc
.config/Code\ -\ OSS/
.config/Electron/
.config/Element/
.config/MusicBrainz/
.config/QtProject.conf
.config/Slack/
.config/audacity/
.config/cef_user_data/
.config/dconf/
.config/flutter/
.config/keepassxc/
.config/kritadisplayrc
.config/kritarc
.config/libfm
.config/mpd/database
.config/mpd/mpd.log
.config/mpd/state
.config/mpd/sticker.sql
.config/ncmpcpp/error.log
.config/nvim/lazy-lock.json
.config/qBittorrent/categories.json
.config/qBittorrent/lockfile
.config/qBittorrent/qBittorrent-data.conf
.config/qBittorrent/qBittorrent.conf
.config/qBittorrent/rss/
.config/qBittorrent/watched_folders.json
.flutter
.dotnet/
.pki/
.pulse-cookie
.wget-hsts