Compare commits

...

2 Commits

Author SHA1 Message Date
ayham 50b07cd1bc
update
Signed-off-by: ayham <altffour@protonmail.com>
2021-08-10 15:10:21 +03:00
ayham 572c2915ae
update
Signed-off-by: ayham <altffour@protonmail.com>
2021-08-10 15:07:28 +03:00
7 changed files with 249 additions and 175 deletions

View File

@ -14,6 +14,7 @@ exec xset s 300 5 &
exec xss-lock -n /usr/lib/xsecurelock/dimmer -l -- xsecurelock & exec xss-lock -n /usr/lib/xsecurelock/dimmer -l -- xsecurelock &
exec keynav & exec keynav &
exec light -S 100 & exec light -S 100 &
xset r rate 300 50 &
umask 002 & umask 002 &
eval $(keychain --absolute --dir "$XDG_RUNTIME_DIR"/keychain --eval --quiet id_ed25519) eval $(keychain --absolute --dir "$XDG_RUNTIME_DIR"/keychain --eval --quiet id_ed25519)
exec dstartup & exec dstartup &

36
.config/X11/exwm Normal file
View File

@ -0,0 +1,36 @@
# Disable access control for the current user.
xhost +SI:localuser:$USER
# Make Java applications aware this is a non-reparenting window manager.
export _JAVA_AWT_WM_NONREPARENTING=1
# Set default cursor.
xsetroot -cursor_name left_ptr
# Set keyboard repeat rate.
xset r rate 200 60
# Uncomment the following block to use the exwm-xim module.
#export XMODIFIERS=@im=exwm-xim
#export GTK_IM_MODULE=xim
#export QT_IM_MODULE=xim
#export CLUTTER_IM_MODULE=xim
exec picom -CG --config ~/.config/picom.conf &
exec setxkbmap -model -layout us,us -variant ,workman -option grp:alt_shift_toggle &
sleep 0.5s
exec xmodmap ~/.config/Xmodmap &
source ~/.config/env &
exec xset s 300 5 &
exec xss-lock -n /usr/lib/xsecurelock/dimmer -l -- xsecurelock &
exec keynav &
exec light -S 100 &
exec mpd &
umask 002 &
eval $(keychain --absolute --dir "$XDG_RUNTIME_DIR"/keychain --eval --quiet id_ed25519)
exec unclutter &
# Finally start Emacs
emacs --daemon -f exwm-enable
exec dbus-launch emacsclient -c

View File

@ -135,7 +135,7 @@ font:
style: Bold Italic style: Bold Italic
# Point size # Point size
size: 11.0 size: 10.0
# Offset is the extra space around each character. `offset.y` can be thought of # Offset is the extra space around each character. `offset.y` can be thought of
# as modifying the line spacing, and `offset.x` as modifying the letter spacing. # as modifying the line spacing, and `offset.x` as modifying the letter spacing.
@ -311,7 +311,7 @@ colors:
# #
# Window opacity as a floating point number from `0.0` to `1.0`. # Window opacity as a floating point number from `0.0` to `1.0`.
# The value `0.0` is completely transparent and `1.0` is opaque. # The value `0.0` is completely transparent and `1.0` is opaque.
background_opacity: 0.60 background_opacity: 0.8
#selection: #selection:
#semantic_escape_chars: ",│`|:\"' ()[]{}<>\t" #semantic_escape_chars: ",│`|:\"' ()[]{}<>\t"

View File

@ -4,13 +4,12 @@ Plug 'ThePrimeagen/vim-be-good'
Plug 'vimwiki/vimwiki' Plug 'vimwiki/vimwiki'
Plug 'mhinz/vim-startify' Plug 'mhinz/vim-startify'
Plug 'liuchengxu/vim-which-key' Plug 'liuchengxu/vim-which-key'
Plug 'dylanaraps/wal.vim'
Plug 'morhetz/gruvbox' Plug 'morhetz/gruvbox'
Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes' Plug 'vim-airline/vim-airline-themes'
Plug 'folke/twilight.nvim' Plug 'folke/twilight.nvim'
Plug 'folke/zen-mode.nvim' Plug 'folke/zen-mode.nvim'
Plug 'hoob3rt/lualine.nvim' "Plug 'hoob3rt/lualine.nvim'
Plug 'windwp/nvim-autopairs' Plug 'windwp/nvim-autopairs'
Plug 'sindrets/diffview.nvim' Plug 'sindrets/diffview.nvim'
Plug 'kyazdani42/nvim-web-devicons' " for file icons Plug 'kyazdani42/nvim-web-devicons' " for file icons
@ -20,6 +19,12 @@ Plug 'L3MON4D3/LuaSnip'
Plug 'lewis6991/gitsigns.nvim' Plug 'lewis6991/gitsigns.nvim'
Plug 'nekonako/xresources-nvim' Plug 'nekonako/xresources-nvim'
" Wal theme
Plug 'dylanaraps/wal.vim'
Plug 'deviantfero/wpgtk.vim'
Plug 'chriskempson/base16-vim/'
" LSP " LSP
Plug 'neovim/nvim-lspconfig' Plug 'neovim/nvim-lspconfig'
Plug 'hrsh7th/nvim-compe' Plug 'hrsh7th/nvim-compe'
@ -96,12 +101,16 @@ set ignorecase
set smartcase set smartcase
set incsearch set incsearch
set magic set magic
set ruler
set tabstop=4 set tabstop=4
set sidescrolloff=999 set sidescrolloff=999
set sidescrolloff=999 set sidescrolloff=999
set scrolloff=999 set scrolloff=999
set wildmenu set wildmenu
set wildchar=<TAB> set wildchar=<TAB>
set nosmd
set hidden
set nomodeline
" LSP " LSP
" Set completeopt to have a better completion experience " Set completeopt to have a better completion experience
@ -126,15 +135,17 @@ set number
" toggle invisible characters " toggle invisible characters
set showbreak= set showbreak=
set list set list
set listchars=tab:→\ ,eol,trail:⋅,extends:,precedes:,space "set listchars=tab:→\ ,eol:¬,trail:⋅,extends:,precedes:,space:·
set listchars=tab:→\ ,eol,trail:⋅,extends:,precedes:
set ttyfast set ttyfast
" Setup theme. " Setup theme.
set t_Co=256 set t_Co=256
"let g:gruvbox_termcolors=16 "let g:gruvbox_termcolors=16
"set g:gruvbox_contrast_light="hard" "set g:gruvbox_contrast_light="hard"
"set background=light "colorscheme koehler
colorscheme wal colorscheme wal
"set background=dark
"set termguicolors "set termguicolors
hi Pmenu ctermbg=black hi Pmenu ctermbg=black
hi PmenuSel ctermbg=white hi PmenuSel ctermbg=white
@ -142,7 +153,7 @@ hi PmenuSbar ctermbg=black
hi PmenuThumb ctermbg=black hi PmenuThumb ctermbg=black
set cursorline set cursorline
highlight Cursor ctermbg=white ctermfg=white highlight Cursor ctermbg=NONE ctermfg=white
" Default Colors for CursorLine " Default Colors for CursorLine
highlight CursorLine ctermbg=Black ctermfg=White highlight CursorLine ctermbg=Black ctermfg=White

View File

@ -25,11 +25,11 @@ require('twilight').setup({
require('zen-mode').setup({ require('zen-mode').setup({
width = .80, width = .80,
}) })
require('lualine').setup({ --require('lualine').setup({
options = { -- options = {
theme = 'gruvbox' -- theme = 'gruvbox'
} -- }
}) --})
require('diffview').setup() require('diffview').setup()
--"vim.opt.termguicolors = true --"vim.opt.termguicolors = true
require('bufferline').setup() require('bufferline').setup()

View File

@ -1,4 +1,4 @@
#files: 914 version: 5.8 #files: 915 version: 5.8
_comps=( _comps=(
'-' '_precommand' '-' '_precommand'
@ -1104,6 +1104,7 @@ _comps=(
'pkgrm' '_pkgrm' 'pkgrm' '_pkgrm'
'pkill' '_pgrep' 'pkill' '_pgrep'
'play' '_play' 'play' '_play'
'playerctl' '_playerctl'
'pldd' '_pids' 'pldd' '_pids'
'pm2' '_pm2' 'pm2' '_pm2'
'pmake' '_make' 'pmake' '_make'
@ -1800,166 +1801,166 @@ autoload -Uz _afew _alacritty _android _archlinux-java _artisan \
_notmuch _nvm _openssl _optirun _opustools \ _notmuch _nvm _openssl _optirun _opustools \
_pacman _paru _pass _patool _perf \ _pacman _paru _pass _patool _perf \
_periscope _pgsql_utils _phing _pixz _pkcon \ _periscope _pgsql_utils _phing _pixz _pkcon \
_play _pm2 _port _protoc _pulseaudio \ _play _playerctl _pm2 _port _protoc \
_pygmentize _qpdf _rails _ralio _redis-cli \ _pulseaudio _pygmentize _qpdf _rails _ralio \
_rfkill _rkt _rslsync _rspec _rsvm \ _redis-cli _rfkill _rkt _rslsync _rspec \
_rubocop _rustup _sbt _scala _scrub \ _rsvm _rubocop _rustup _sbt _scala \
_sdd _setcap _setup.py _sfdx _shellcheck \ _scrub _sdd _setcap _setup.py _sfdx \
_showoff _srm _stack _subl _subliminal \ _shellcheck _showoff _srm _stack _subl \
_supervisorctl _svm _tarsnap _teamocil _thor \ _subliminal _supervisorctl _svm _tarsnap _teamocil \
_tmuxinator _tmuxp _tox _trash-empty _trash-list \ _thor _tmuxinator _tmuxp _tox _trash-empty \
_trash-put _trash-restore _udisksctl _ufw _vagrant \ _trash-list _trash-put _trash-restore _udisksctl _ufw \
_virtualbox _vnstat _wemux _wg-quick _xinput \ _vagrant _virtualbox _vnstat _wemux _wg-quick \
_xsel _xss-lock _xwallpaper _yaourt _yarn \ _xinput _xsel _xss-lock _xwallpaper _yaourt \
_youtube-dl _zathura _zcash-cli _cdr _all_labels \ _yarn _youtube-dl _zathura _zcash-cli _cdr \
_all_matches _alternative _approximate _arg_compile _arguments \ _all_labels _all_matches _alternative _approximate _arg_compile \
_bash_completions _cache_invalid _call_function _combination _comp_locale \ _arguments _bash_completions _cache_invalid _call_function _combination \
_complete _complete_debug _complete_help _complete_help_generic _complete_tag \ _comp_locale _complete _complete_debug _complete_help _complete_help_generic \
_correct _correct_filename _correct_word _describe _description \ _complete_tag _correct _correct_filename _correct_word _describe \
_dispatch _expand _expand_alias _expand_word _extensions \ _description _dispatch _expand _expand_alias _expand_word \
_external_pwds _generic _guard _history _history_complete_word \ _extensions _external_pwds _generic _guard _history \
_ignored _list _main_complete _match _menu \ _history_complete_word _ignored _list _main_complete _match \
_message _most_recent_file _multi_parts _next_label _next_tags \ _menu _message _most_recent_file _multi_parts _next_label \
_normal _nothing _oldlist _pick_variant _prefix \ _next_tags _normal _nothing _oldlist _pick_variant \
_read_comp _regex_arguments _regex_words _requested _retrieve_cache \ _prefix _read_comp _regex_arguments _regex_words _requested \
_sep_parts _sequence _set_command _setup _store_cache \ _retrieve_cache _sep_parts _sequence _set_command _setup \
_sub_commands _tags _user_expand _values _wanted \ _store_cache _sub_commands _tags _user_expand _values \
_acpi _acpitool _alsa-utils _analyseplugin _brctl \ _wanted _acpi _acpitool _alsa-utils _analyseplugin \
_btrfs _chattr _chcon _chrt _cpupower \ _brctl _btrfs _chattr _chcon _chrt \
_cryptsetup _dkms _e2label _ethtool _findmnt \ _cpupower _cryptsetup _dkms _e2label _ethtool \
_free _fuse_arguments _fuse_values _fusermount _gpasswd \ _findmnt _free _fuse_arguments _fuse_values _fusermount \
_htop _iconvconfig _ionice _ipset _iptables \ _gpasswd _htop _iconvconfig _ionice _ipset \
_iwconfig _kpartx _losetup _lsattr _lsblk \ _iptables _iwconfig _kpartx _losetup _lsattr \
_lsusb _ltrace _mdadm _mii-tool _modutils \ _lsblk _lsusb _ltrace _mdadm _mii-tool \
_mondo _networkmanager _opkg _pidof _pmap \ _modutils _mondo _networkmanager _opkg _pidof \
_qdbus _schedtool _selinux_contexts _selinux_roles _selinux_types \ _pmap _qdbus _schedtool _selinux_contexts _selinux_roles \
_selinux_users _setsid _slabtop _ss _sshfs \ _selinux_types _selinux_users _setsid _slabtop _ss \
_strace _sysstat _tload _tpb _tracepath \ _sshfs _strace _sysstat _tload _tpb \
_tune2fs _uml _valgrind _vserver _wakeup_capable_devices \ _tracepath _tune2fs _uml _valgrind _vserver \
_wipefs _wpa_cli _a2ps _aap _abcde \ _wakeup_capable_devices _wipefs _wpa_cli _a2ps _aap \
_absolute_command_paths _ack _adb _ansible _ant \ _abcde _absolute_command_paths _ack _adb _ansible \
_antiword _apachectl _apm _arch_archives _arch_namespace \ _ant _antiword _apachectl _apm _arch_archives \
_arp _arping _asciidoctor _asciinema _at \ _arch_namespace _arp _arping _asciidoctor _asciinema \
_attr _augeas _avahi _awk _base64 \ _at _attr _augeas _avahi _awk \
_basename _bash _baudrates _baz _beep \ _base64 _basename _bash _baudrates _baz \
_bibtex _bind_addresses _bison _bittorrent _bogofilter \ _beep _bibtex _bind_addresses _bison _bittorrent \
_bpf_filters _bpython _bzip2 _bzr _cabal \ _bogofilter _bpf_filters _bpython _bzip2 _bzr \
_cal _calendar _canonical_paths _cat _ccal \ _cabal _cal _calendar _canonical_paths _cat \
_cdcd _cdrdao _cdrecord _chkconfig _chmod \ _ccal _cdcd _cdrdao _cdrecord _chkconfig \
_chown _chroot _chsh _cksum _clay \ _chmod _chown _chroot _chsh _cksum \
_cmdambivalent _cmdstring _cmp _column _comm \ _clay _cmdambivalent _cmdstring _cmp _column \
_composer _compress _configure _cowsay _cp \ _comm _composer _compress _configure _cowsay \
_cpio _cplay _crontab _cscope _cssh \ _cp _cpio _cplay _crontab _cscope \
_ctags_tags _curl _cut _cvs _darcs \ _cssh _ctags_tags _curl _cut _cvs \
_date _date_formats _dates _dbus _dconf \ _darcs _date _date_formats _dates _dbus \
_dd _devtodo _df _dhclient _dict \ _dconf _dd _devtodo _df _dhclient \
_dict_words _diff _diff3 _diff_options _diffstat \ _dict _dict_words _diff _diff3 _diff_options \
_dig _dir_list _directories _django _dmesg \ _diffstat _dig _dir_list _directories _django \
_dmidecode _dns_types _doas _domains _dos2unix \ _dmesg _dmidecode _dns_types _doas _domains \
_drill _dsh _dtruss _du _dvi \ _dos2unix _drill _dsh _dtruss _du \
_ecasound _ed _elfdump _elinks _email_addresses \ _dvi _ecasound _ed _elfdump _elinks \
_enscript _entr _env _espeak _etags \ _email_addresses _enscript _entr _env _espeak \
_fakeroot _feh _fetchmail _ffmpeg _figlet \ _etags _fakeroot _feh _fetchmail _ffmpeg \
_file_modes _file_systems _files _find _find_net_interfaces \ _figlet _file_modes _file_systems _files _find \
_finger _flac _flex _fmt _fold \ _find_net_interfaces _finger _flac _flex _fmt \
_fortune _fsh _fuser _gcc _gcore \ _fold _fortune _fsh _fuser _gcc \
_gdb _gem _genisoimage _getconf _getent \ _gcore _gdb _gem _genisoimage _getconf \
_getfacl _getmail _getopt _ghostscript _git \ _getent _getfacl _getmail _getopt _ghostscript \
_global _global_tags _gnu_generic _gnupod _gnutls \ _git _global _global_tags _gnu_generic _gnupod \
_go _gpg _gphoto2 _gprof _gradle \ _gnutls _go _gpg _gphoto2 _gprof \
_graphicsmagick _grep _groff _groups _growisofs \ _gradle _graphicsmagick _grep _groff _groups \
_gsettings _guilt _gzip _have_glob_qual _head \ _growisofs _gsettings _guilt _gzip _have_glob_qual \
_hexdump _host _hostname _hosts _iconv \ _head _hexdump _host _hostname _hosts \
_id _ifconfig _iftop _imagemagick _init_d \ _iconv _id _ifconfig _iftop _imagemagick \
_initctl _install _iostat _ip _ipsec \ _init_d _initctl _install _iostat _ip \
_irssi _ispell _java _java_class _joe \ _ipsec _irssi _ispell _java _java_class \
_join _jq _killall _knock _kvno \ _joe _join _jq _killall _knock \
_last _ld_debug _ldconfig _ldd _less \ _kvno _last _ld_debug _ldconfig _ldd \
_lha _libvirt _links _list_files _lldb \ _less _lha _libvirt _links _list_files \
_ln _loadkeys _locale _localedef _locales \ _lldb _ln _loadkeys _locale _localedef \
_locate _look _lp _ls _lsof \ _locales _locate _look _lp _ls \
_lua _luarocks _lynx _lz4 _lzop \ _lsof _lua _luarocks _lynx _lz4 \
_mail _mailboxes _make _man _md5sum \ _lzop _mail _mailboxes _make _man \
_mencal _mh _mime_types _mkdir _mkfifo \ _md5sum _mencal _mh _mime_types _mkdir \
_mknod _mktemp _module _monotone _moosic \ _mkfifo _mknod _mktemp _module _monotone \
_mosh _mount _mpc _mt _mtools \ _moosic _mosh _mount _mpc _mt \
_mtr _mutt _mv _my_accounts _myrepos \ _mtools _mtr _mutt _mv _my_accounts \
_mysql_utils _mysqldiff _ncftp _net_interfaces _netcat \ _myrepos _mysql_utils _mysqldiff _ncftp _net_interfaces \
_netstat _newsgroups _nginx _ngrep _nice \ _netcat _netstat _newsgroups _nginx _ngrep \
_nkf _nl _nm _nmap _npm \ _nice _nkf _nl _nm _nmap \
_nslookup _numfmt _objdump _object_files _od \ _npm _nslookup _numfmt _objdump _object_files \
_openstack _other_accounts _pack _pandoc _paste \ _od _openstack _other_accounts _pack _pandoc \
_patch _patchutils _path_commands _path_files _pax \ _paste _patch _patchutils _path_commands _path_files \
_pbm _pdf _perforce _perl _perl_basepods \ _pax _pbm _pdf _perforce _perl \
_perl_modules _perldoc _pgrep _php _picocom \ _perl_basepods _perl_modules _perldoc _pgrep _php \
_pids _pine _ping _pkg-config _pkg_instance \ _picocom _pids _pine _ping _pkg-config \
_pkgadd _pkginfo _pkgrm _pon _ports \ _pkg_instance _pkgadd _pkginfo _pkgrm _pon \
_postfix _postgresql _postscript _printenv _printers \ _ports _postfix _postgresql _postscript _printenv \
_process_names _prove _ps _pspdf _psutils \ _printers _process_names _prove _ps _pspdf \
_pump _pv _pwgen _pydoc _python \ _psutils _pump _pv _pwgen _pydoc \
_python_modules _qemu _quilt _rake _ranlib \ _python _python_modules _qemu _quilt _rake \
_rar _rclone _rcs _readelf _readlink \ _ranlib _rar _rclone _rcs _readelf \
_remote_files _renice _ri _rlogin _rm \ _readlink _remote_files _renice _ri _rlogin \
_rmdir _route _rrdtool _rsync _rubber \ _rm _rmdir _route _rrdtool _rsync \
_ruby _runit _samba _sccs _scons \ _rubber _ruby _runit _samba _sccs \
_screen _script _seafile _sed _seq \ _scons _screen _script _seafile _sed \
_service _services _setfacl _sh _shasum \ _seq _service _services _setfacl _sh \
_showmount _shred _shuf _shutdown _signals \ _shasum _showmount _shred _shuf _shutdown \
_sisu _slrn _smartmontools _socket _sort \ _signals _sisu _slrn _smartmontools _socket \
_spamassassin _split _sqlite _sqsh _ssh \ _sort _spamassassin _split _sqlite _sqsh \
_ssh_hosts _stat _stdbuf _stgit _stow \ _ssh _ssh_hosts _stat _stdbuf _stgit \
_strings _strip _stty _su _subversion \ _stow _strings _strip _stty _su \
_sudo _surfraw _swaks _swanctl _swift \ _subversion _sudo _surfraw _swaks _swanctl \
_sys_calls _sysctl _tac _tail _tar \ _swift _sys_calls _sysctl _tac _tail \
_tar_archive _tardy _tcpdump _tcptraceroute _tee \ _tar _tar_archive _tardy _tcpdump _tcptraceroute \
_telnet _terminals _tex _texi _texinfo \ _tee _telnet _terminals _tex _texi \
_tidy _tiff _tilde_files _time_zone _timeout \ _texinfo _tidy _tiff _tilde_files _time_zone \
_tin _tla _tmux _todo.sh _toilet \ _timeout _tin _tla _tmux _todo.sh \
_top _topgit _totd _touch _tput \ _toilet _top _topgit _totd _touch \
_tr _transmission _tree _truss _tty \ _tput _tr _transmission _tree _truss \
_ttys _twidge _twisted _umountable _unace \ _tty _ttys _twidge _twisted _umountable \
_uname _unexpand _uniq _unison _units \ _unace _uname _unexpand _uniq _unison \
_uptime _urls _user_admin _user_at_host _users \ _units _uptime _urls _user_admin _user_at_host \
_users_on _vcsh _vim _visudo _vmstat \ _users _users_on _vcsh _vim _visudo \
_vorbis _vpnc _w _w3m _watch \ _vmstat _vorbis _vpnc _w _w3m \
_wc _webbrowser _wget _whereis _who \ _watch _wc _webbrowser _wget _whereis \
_whois _wiggle _xargs _xmlsoft _xmlstarlet \ _who _whois _wiggle _xargs _xmlsoft \
_xmms2 _xxd _xz _yafc _yodl \ _xmlstarlet _xmms2 _xxd _xz _yafc \
_yp _zcat _zdump _zfs _zfs_dataset \ _yodl _yp _zcat _zdump _zfs \
_zfs_keysource_props _zfs_pool _zip _zpool _zsh \ _zfs_dataset _zfs_keysource_props _zfs_pool _zip _zpool \
_acroread _code _dcop _eog _evince \ _zsh _acroread _code _dcop _eog \
_geany _gnome-gv _gqview _gv _kdeconnect \ _evince _geany _gnome-gv _gqview _gv \
_kfmclient _matlab _mozilla _mplayer _mupdf \ _kdeconnect _kfmclient _matlab _mozilla _mplayer \
_nautilus _nedit _netscape _okular _pdftk \ _mupdf _nautilus _nedit _netscape _okular \
_qiv _rdesktop _setxkbmap _sublimetext _urxvt \ _pdftk _qiv _rdesktop _setxkbmap _sublimetext \
_vnc _x_arguments _x_borderwidth _x_color _x_colormapid \ _urxvt _vnc _x_arguments _x_borderwidth _x_color \
_x_cursor _x_display _x_extension _x_font _x_geometry \ _x_colormapid _x_cursor _x_display _x_extension _x_font \
_x_keysym _x_locale _x_modifier _x_name _x_resource \ _x_geometry _x_keysym _x_locale _x_modifier _x_name \
_x_selection_timeout _x_title _x_utils _x_visual _x_window \ _x_resource _x_selection_timeout _x_title _x_utils _x_visual \
_xauth _xautolock _xclip _xdvi _xfig \ _x_window _xauth _xautolock _xclip _xdvi \
_xft_fonts _xloadimage _xmodmap _xournal _xpdf \ _xfig _xft_fonts _xloadimage _xmodmap _xournal \
_xrandr _xscreensaver _xset _xt_arguments _xt_session_id \ _xpdf _xrandr _xscreensaver _xset _xt_arguments \
_xterm _xv _xwit _zeal _add-zle-hook-widget \ _xt_session_id _xterm _xv _xwit _zeal \
_add-zsh-hook _alias _aliases _arrays _assign \ _add-zle-hook-widget _add-zsh-hook _alias _aliases _arrays \
_autocd _bindkey _brace_parameter _builtin _cd \ _assign _autocd _bindkey _brace_parameter _builtin \
_command _command_names _compadd _compdef _completers \ _cd _command _command_names _compadd _compdef \
_condition _default _delimiters _directory_stack _dirs \ _completers _condition _default _delimiters _directory_stack \
_disable _dynamic_directory_name _echotc _echoti _emulate \ _dirs _disable _dynamic_directory_name _echotc _echoti \
_enable _equal _exec _fc _file_descriptors \ _emulate _enable _equal _exec _fc \
_first _functions _globflags _globqual_delims _globquals \ _file_descriptors _first _functions _globflags _globqual_delims \
_hash _history_modifiers _in_vared _jobs _jobs_bg \ _globquals _hash _history_modifiers _in_vared _jobs \
_jobs_builtin _jobs_fg _kill _limit _limits \ _jobs_bg _jobs_builtin _jobs_fg _kill _limit \
_math _math_params _mere _module_math_func _options \ _limits _math _math_params _mere _module_math_func \
_options_set _options_unset _parameter _parameters _precommand \ _options _options_set _options_unset _parameter _parameters \
_print _prompt _ps1234 _read _redirect \ _precommand _print _prompt _ps1234 _read \
_run-help _sched _set _setopt _source \ _redirect _run-help _sched _set _setopt \
_strftime _subscript _suffix_alias_files _tcpsys _tilde \ _source _strftime _subscript _suffix_alias_files _tcpsys \
_trap _ttyctl _typeset _ulimit _unhash \ _tilde _trap _ttyctl _typeset _ulimit \
_user_math_func _value _vared _vars _wait \ _unhash _user_math_func _value _vared _vars \
_which _widgets _zargs _zattr _zcalc \ _wait _which _widgets _zargs _zattr \
_zcalc_line _zcompile _zed _zftp _zle \ _zcalc _zcalc_line _zcompile _zed _zftp \
_zmodload _zmv _zparseopts _zpty _zsh-mime-handler \ _zle _zmodload _zmv _zparseopts _zpty \
_zsocket _zstyle _ztodo _zsh-mime-handler _zsocket _zstyle _ztodo
autoload -Uz +X _call_program autoload -Uz +X _call_program
typeset -gUa _comp_assocs typeset -gUa _comp_assocs

View File

@ -1,6 +1,31 @@
#!/bin/sh #!/bin/bash
[[ -f ~/.config/env ]] && source ~/.config/env [[ -f ~/.config/env ]] && source ~/.config/env
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then exec ssh-agent sx sh ~/.config/X11/dwm-xinit; fi DwmOption="DWM"
EXWMOption="EXWM"
ConsoleOption="Console"
menu=("$DwmOption" "$EXWMOption" "$ConsoleOption")
echo "Which TWM would you like to run?"
select opt in "${menu[@]}"
do
case $opt in
$DwmOption)
exec ssh-agent sx sh ~/.config/X11/dwm-xinit
break
;;
$EXWMOption)
exec ssh-agent sx sh ~/.config/X11/exwm
break
;;
$ConsoleOption)
exec zsh
break
;;
*) echo "invalid option $REPLY"
esac
done
#if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then exec ssh-agent sx sh ~/.config/X11/dwm-xinit; fi
#if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then exec ssh-agent startx ~/.config/X11/dwm-xinit; fi #if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then exec ssh-agent startx ~/.config/X11/dwm-xinit; fi